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.001303/0.001303, allocations: 102.4 kB / 16.5 MB, free: 6.648 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.001402/0.001402, allocations: 195.1 kB / 17.42 MB, free: 6.066 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.527/1.527, allocations: 205.1 MB / 223.3 MB, free: 12.41 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.001489/0.001489, allocations: 51.92 kB / 279.3 MB, free: 3.586 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1209/0.1224, allocations: 46.63 MB / 326 MB, free: 4.891 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003855/0.1263, allocations: 1.73 MB / 327.7 MB, free: 3.141 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.001222/0.1275, allocations: 0.5237 MB / 328.2 MB, free: 2.609 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000162/0.1277, allocations: 4 kB / 328.2 MB, free: 2.605 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001402/0.1279, allocations: 7.875 kB / 328.2 MB, free: 2.598 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002518/0.1282, allocations: 15.86 kB / 328.2 MB, free: 2.582 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000339/0.1285, allocations: 39.95 kB / 328.3 MB, free: 2.543 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002849/0.1288, allocations: 91.7 kB / 328.4 MB, free: 2.453 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001805/0.129, allocations: 29.11 kB / 328.4 MB, free: 2.426 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001706/0.1292, allocations: 43.78 kB / 328.4 MB, free: 2.383 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001309/0.1293, allocations: 43.77 kB / 328.5 MB, free: 2.34 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 3.426e-05/0.1294, allocations: 4 kB / 328.5 MB, free: 2.336 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.625e-05/0.1294, allocations: 4 kB / 328.5 MB, free: 2.332 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001066/0.1295, allocations: 19.91 kB / 328.5 MB, free: 2.312 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 7.651e-05/0.1296, allocations: 39.73 kB / 328.5 MB, free: 2.273 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001877/0.1298, allocations: 83.94 kB / 328.6 MB, free: 2.191 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.1298, allocations: 4 kB / 328.6 MB, free: 2.188 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.264e-06/0.1298, allocations: 0 / 328.6 MB, free: 2.188 MB / 270.1 MB Notification: Performance of Transformations before backend: time 7.544e-06/0.1298, allocations: 0 / 328.6 MB, free: 2.188 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.0007965/0.1306, allocations: 410.9 kB / 329 MB, free: 1.738 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.386e-05/0.1307, allocations: 12.03 kB / 329 MB, free: 1.727 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.38e-05/0.1308, allocations: 16.73 kB / 329.1 MB, free: 1.711 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003046/0.1311, allocations: 192.8 kB / 329.2 MB, free: 1.484 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.969e-05/0.1311, allocations: 12.31 kB / 329.3 MB, free: 1.473 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.245e-05/0.1312, allocations: 16.12 kB / 329.3 MB, free: 1.457 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002339/0.1314, allocations: 73.61 kB / 329.3 MB, free: 1.379 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.358e-05/0.1314, allocations: 3.984 kB / 329.3 MB, free: 1.375 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.1315, allocations: 8 kB / 329.4 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.1315, allocations: 0 / 329.4 MB, free: 1.367 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001296/0.1316, allocations: 35.98 kB / 329.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007578/0.1324, allocations: 419.8 kB / 329.8 MB, free: 0.8594 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001921/0.1326, allocations: 62.58 kB / 329.9 MB, free: 0.7891 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.211e-05/0.1327, allocations: 28.89 kB / 329.9 MB, free: 0.7578 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.923e-05/0.1327, allocations: 4 kB / 329.9 MB, free: 0.7539 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.313e-05/0.1327, allocations: 34.56 kB / 329.9 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.302e-06/0.1327, allocations: 0 / 329.9 MB, free: 0.7109 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003034/0.133, allocations: 97.45 kB / 330 MB, free: 0.6094 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.1331, allocations: 55.41 kB / 330.1 MB, free: 0.543 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001229/0.1332, allocations: 145.8 kB / 330.2 MB, free: 400 kB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.663e-05/0.1332, allocations: 25.7 kB / 330.2 MB, free: 368 kB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.323e-05/0.1333, allocations: 112.1 kB / 330.4 MB, free: 252 kB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.415e-05/0.1334, allocations: 15.72 kB / 330.4 MB, free: 236 kB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.46e-05/0.1334, allocations: 29.7 kB / 330.4 MB, free: 200 kB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001422/0.1336, allocations: 318.8 kB / 330.7 MB, free: 15.88 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.306e-05/0.1336, allocations: 16 kB / 330.7 MB, free: 15.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.25e-05/0.1337, allocations: 27.97 kB / 330.8 MB, free: 15.83 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1338, allocations: 52.78 kB / 330.8 MB, free: 15.78 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1338, allocations: 0 / 330.8 MB, free: 15.78 MB / 286.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001684/0.134, allocations: 85.52 kB / 330.9 MB, free: 15.69 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.539e-05/0.134, allocations: 8 kB / 330.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.134, allocations: 0 / 330.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.1341, allocations: 4 kB / 330.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002155/0.1343, allocations: 39.91 kB / 330.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.345e-06/0.1343, allocations: 0 / 330.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.169e-05/0.1344, allocations: 11.94 kB / 330.9 MB, free: 15.62 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.1344, allocations: 0 / 330.9 MB, free: 15.62 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 8.857e-05/0.1345, allocations: 125.8 kB / 331.1 MB, free: 15.49 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.128e-05/0.1345, allocations: 15.84 kB / 331.1 MB, free: 15.48 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.788e-05/0.1346, allocations: 12.31 kB / 331.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1346, allocations: 0 / 331.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.1346, allocations: 0 / 331.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.1346, allocations: 0 / 331.1 MB, free: 15.46 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001943/0.1348, allocations: 197.6 kB / 331.3 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.452e-06/0.1348, allocations: 0 / 331.3 MB, free: 15.22 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001459/0.135, allocations: 27.91 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.135, allocations: 3.938 kB / 331.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.135, allocations: 8 kB / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.135, allocations: 4 kB / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.135, allocations: 0 / 331.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002806/0.1353, allocations: 203.6 kB / 331.5 MB, free: 14.96 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.82e-05/0.1354, allocations: 84.95 kB / 331.6 MB, free: 14.86 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.397e-05/0.1354, allocations: 11.97 kB / 331.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.058e-05/0.1355, allocations: 0 / 331.6 MB, free: 14.85 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.157e-05/0.1355, allocations: 8.047 kB / 331.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.95e-06/0.1355, allocations: 4 kB / 331.6 MB, free: 14.84 MB / 286.1 MB Notification: Performance of sorting global known variables: time 7.795e-05/0.1356, allocations: 108 kB / 331.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1356, allocations: 0 / 331.7 MB, free: 14.73 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.000229/0.1359, allocations: 16 kB / 331.8 MB, free: 14.71 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.0001244/0.136, allocations: 99.19 kB / 331.9 MB, free: 14.61 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001773/0.1362, allocations: 43.98 kB / 331.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.145e-06/0.1362, allocations: 0 / 331.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.776e-05/0.1363, allocations: 27.92 kB / 331.9 MB, free: 14.54 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003976/0.1367, allocations: 27.92 kB / 332 MB, free: 14.51 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000651/0.1373, allocations: 291.1 kB / 332.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.1377, allocations: 0.7004 MB / 332.9 MB, free: 13.47 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 5.516e-05/0.1378, allocations: 11.77 kB / 333 MB, free: 13.46 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.1378, allocations: 11.44 kB / 333 MB, free: 13.45 MB / 286.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1378, allocations: 4 kB / 333 MB, free: 13.45 MB / 286.1 MB Notification: Performance of Templates: time 0.003477/0.1413, allocations: 0.8324 MB / 333.8 MB, free: 12.62 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)