Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001057/0.001057, allocations: 115.2 kB / 16.63 MB, free: 6.812 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 186 kB / 17.55 MB, free: 5.934 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.1 MB / 223.4 MB, free: 12.43 MB / 190.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 55.92 kB / 279.5 MB, free: 3.492 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1169/0.1181, allocations: 46.63 MB / 326.1 MB, free: 4.801 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.00337/0.1215, allocations: 1.73 MB / 327.9 MB, free: 3.051 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001101/0.1227, allocations: 0.5237 MB / 328.4 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.556e-05/0.1228, allocations: 0 / 328.4 MB, free: 2.52 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001351/0.1229, allocations: 11.92 kB / 328.4 MB, free: 2.508 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002267/0.1232, allocations: 15.86 kB / 328.4 MB, free: 2.492 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.1234, allocations: 43.94 kB / 328.5 MB, free: 2.449 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001815/0.1236, allocations: 103.6 kB / 328.6 MB, free: 2.348 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.1237, allocations: 29.11 kB / 328.6 MB, free: 2.32 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001005/0.1238, allocations: 39.84 kB / 328.6 MB, free: 2.281 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.912e-05/0.1239, allocations: 43.78 kB / 328.7 MB, free: 2.238 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.915e-05/0.124, allocations: 7.938 kB / 328.7 MB, free: 2.23 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.006e-05/0.124, allocations: 8 kB / 328.7 MB, free: 2.223 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7.376e-05/0.1241, allocations: 19.92 kB / 328.7 MB, free: 2.203 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.76e-05/0.1241, allocations: 43.73 kB / 328.7 MB, free: 2.16 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000197/0.1243, allocations: 87.92 kB / 328.8 MB, free: 2.074 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/0.1244, allocations: 0 / 328.8 MB, free: 2.074 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.524e-06/0.1244, allocations: 0 / 328.8 MB, free: 2.074 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.1244, allocations: 0 / 328.8 MB, free: 2.074 MB / 270.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006255/0.125, allocations: 411 kB / 329.2 MB, free: 1.625 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.1251, allocations: 8.031 kB / 329.2 MB, free: 1.617 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.955e-05/0.1251, allocations: 16.69 kB / 329.3 MB, free: 1.602 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002215/0.1253, allocations: 208.7 kB / 329.5 MB, free: 1.359 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.1254, allocations: 4.375 kB / 329.5 MB, free: 1.355 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.824e-05/0.1254, allocations: 16.12 kB / 329.5 MB, free: 1.34 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001926/0.1256, allocations: 73.66 kB / 329.5 MB, free: 1.262 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1257, allocations: 0 / 329.5 MB, free: 1.262 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.475e-05/0.1257, allocations: 4 kB / 329.6 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.559e-06/0.1257, allocations: 0 / 329.6 MB, free: 1.258 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000117/0.1258, allocations: 39.97 kB / 329.6 MB, free: 1.219 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006166/0.1264, allocations: 415.8 kB / 330 MB, free: 0.75 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001536/0.1266, allocations: 62.56 kB / 330.1 MB, free: 0.6797 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.929e-05/0.1267, allocations: 32.84 kB / 330.1 MB, free: 0.6445 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.975e-05/0.1267, allocations: 4 kB / 330.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.646e-05/0.1267, allocations: 30.56 kB / 330.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.162e-06/0.1267, allocations: 0 / 330.1 MB, free: 0.6016 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.000289/0.127, allocations: 97.52 kB / 330.2 MB, free: 0.5 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.801e-05/0.1271, allocations: 55.34 kB / 330.3 MB, free: 444 kB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001447/0.1272, allocations: 149.8 kB / 330.4 MB, free: 284 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.588e-05/0.1273, allocations: 25.7 kB / 330.4 MB, free: 252 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.1273, allocations: 112.1 kB / 330.6 MB, free: 136 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.1274, allocations: 23.7 kB / 330.6 MB, free: 112 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.015e-05/0.1274, allocations: 21.7 kB / 330.6 MB, free: 84 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001213/0.1276, allocations: 318.8 kB / 330.9 MB, free: 15.76 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.761e-05/0.1276, allocations: 15.98 kB / 330.9 MB, free: 15.75 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.198e-05/0.1277, allocations: 23.98 kB / 330.9 MB, free: 15.72 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001163/0.1278, allocations: 48.84 kB / 331 MB, free: 15.67 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1278, allocations: 4 kB / 331 MB, free: 15.67 MB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001625/0.128, allocations: 89.7 kB / 331.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.128, allocations: 8 kB / 331.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.663e-06/0.128, allocations: 0 / 331.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.699e-05/0.128, allocations: 3.938 kB / 331.1 MB, free: 15.56 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002301/0.1283, allocations: 39.97 kB / 331.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.955e-06/0.1283, allocations: 0 / 331.1 MB, free: 15.52 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.649e-05/0.1284, allocations: 11.94 kB / 331.1 MB, free: 15.51 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.027e-06/0.1284, allocations: 0 / 331.1 MB, free: 15.51 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.302e-05/0.1285, allocations: 117.8 kB / 331.3 MB, free: 15.39 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.145e-05/0.1285, allocations: 11.84 kB / 331.3 MB, free: 15.38 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.55e-05/0.1286, allocations: 16.3 kB / 331.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.1286, allocations: 0 / 331.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.1286, allocations: 0 / 331.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.707e-06/0.1286, allocations: 0 / 331.3 MB, free: 15.36 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000194/0.1288, allocations: 193.6 kB / 331.5 MB, free: 15.12 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.1288, allocations: 3.938 kB / 331.5 MB, free: 15.11 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00015/0.1289, allocations: 31.92 kB / 331.5 MB, free: 15.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.129, allocations: 0 / 331.5 MB, free: 15.08 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.463e-05/0.129, allocations: 7.984 kB / 331.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.129, allocations: 3.938 kB / 331.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.129, allocations: 0 / 331.5 MB, free: 15.07 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002825/0.1293, allocations: 195.3 kB / 331.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.417e-05/0.1293, allocations: 92.97 kB / 331.8 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.1294, allocations: 4 kB / 331.8 MB, free: 14.75 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.637e-05/0.1295, allocations: 8.062 kB / 331.8 MB, free: 14.74 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.1295, allocations: 7.984 kB / 331.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.434e-06/0.1295, allocations: 0 / 331.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.79e-05/0.1296, allocations: 112 kB / 331.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.1296, allocations: 0 / 331.9 MB, free: 14.62 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0002272/0.1299, allocations: 16 kB / 332 MB, free: 14.61 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (firstOrder1.y,firstOrder2.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001619/0.13, allocations: 99.17 kB / 332.1 MB, free: 14.5 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0002178/0.1303, allocations: 55.91 kB / 332.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1303, allocations: 0 / 332.1 MB, free: 14.45 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.661e-05/0.1303, allocations: 23.98 kB / 332.1 MB, free: 14.43 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004621/0.1308, allocations: 28.09 kB / 332.2 MB, free: 14.4 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000752/0.1316, allocations: 297.5 kB / 332.4 MB, free: 14.08 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003753/0.132, allocations: 0.7039 MB / 333.2 MB, free: 13.35 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.215e-05/0.132, allocations: 11.78 kB / 333.2 MB, free: 13.34 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.981e-05/0.1321, allocations: 15.42 kB / 333.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1321, allocations: 3.938 kB / 333.2 MB, free: 13.32 MB / 286.1 MB Notification: Performance of Templates: time 0.003658/0.1357, allocations: 0.8624 MB / 334 MB, free: 12.46 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)