Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.1_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.1_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_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.008468/0.008468, allocations: 102.1 kB / 15.73 MB, free: 6.043 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.00125/0.00125, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.544/1.544, allocations: 205.1 MB / 222.5 MB, free: 12.24 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.001256/0.001256, allocations: 59.86 kB / 326.5 MB, free: 3.316 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1092/0.1105, allocations: 46.61 MB / 373.1 MB, free: 4.594 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002871/0.1134, allocations: 1.676 MB / 374.8 MB, free: 2.902 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008823/0.1143, allocations: 0.5267 MB / 375.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.736e-05/0.1144, allocations: 0 / 375.3 MB, free: 2.367 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.1145, allocations: 15.86 kB / 375.4 MB, free: 2.352 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001749/0.1147, allocations: 19.8 kB / 375.4 MB, free: 2.332 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001773/0.1149, allocations: 47.94 kB / 375.4 MB, free: 2.285 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001689/0.1151, allocations: 103.6 kB / 375.5 MB, free: 2.184 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.1152, allocations: 41.08 kB / 375.6 MB, free: 2.145 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.275e-05/0.1153, allocations: 35.86 kB / 375.6 MB, free: 2.109 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.716e-05/0.1154, allocations: 43.77 kB / 375.6 MB, free: 2.066 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.458e-05/0.1154, allocations: 4 kB / 375.6 MB, free: 2.062 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.501e-05/0.1155, allocations: 11.94 kB / 375.7 MB, free: 2.051 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 6.049e-05/0.1155, allocations: 19.92 kB / 375.7 MB, free: 2.031 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 5.774e-05/0.1156, allocations: 39.73 kB / 375.7 MB, free: 1.992 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001352/0.1157, allocations: 87.58 kB / 375.8 MB, free: 1.906 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.464e-06/0.1157, allocations: 4 kB / 375.8 MB, free: 1.902 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.553e-06/0.1157, allocations: 4 kB / 375.8 MB, free: 1.898 MB / 318.1 MB Notification: Performance of Transformations before backend: time 9.497e-06/0.1158, allocations: 0 / 375.8 MB, free: 1.898 MB / 318.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.0006118/0.1164, allocations: 411 kB / 376.2 MB, free: 1.449 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.1164, allocations: 8.031 kB / 376.2 MB, free: 1.441 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.109e-05/0.1165, allocations: 12.84 kB / 376.2 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002383/0.1167, allocations: 200.7 kB / 376.4 MB, free: 1.195 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.512e-05/0.1167, allocations: 8.375 kB / 376.4 MB, free: 1.188 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.078e-05/0.1168, allocations: 12.12 kB / 376.5 MB, free: 1.176 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001766/0.117, allocations: 77.66 kB / 376.5 MB, free: 1.094 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.117, allocations: 3.938 kB / 376.5 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.081e-05/0.117, allocations: 0 / 376.5 MB, free: 1.09 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.392e-06/0.117, allocations: 4 kB / 376.5 MB, free: 1.086 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001249/0.1171, allocations: 43.92 kB / 376.6 MB, free: 1.043 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005593/0.1177, allocations: 407.9 kB / 377 MB, free: 0.582 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001383/0.1179, allocations: 62.59 kB / 377 MB, free: 0.5117 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.56e-05/0.1179, allocations: 32.83 kB / 377.1 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.727e-05/0.118, allocations: 0 / 377.1 MB, free: 488 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.39e-05/0.118, allocations: 30.56 kB / 377.1 MB, free: 448 kB / 318.1 MB Notification: Performance of pre-optimization done (n=5): time 1.183e-06/0.118, allocations: 4 kB / 377.1 MB, free: 444 kB / 318.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002868/0.1183, allocations: 101.5 kB / 377.2 MB, free: 336 kB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.1183, allocations: 55.39 kB / 377.3 MB, free: 268 kB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000122/0.1185, allocations: 145.8 kB / 377.4 MB, free: 112 kB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.1185, allocations: 25.7 kB / 377.4 MB, free: 80 kB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.2405/0.359, allocations: 105.8 kB / 377.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.78e-05/0.3591, allocations: 23.88 kB / 377.5 MB, free: 13.16 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.085e-05/0.3592, allocations: 19.02 kB / 377.6 MB, free: 13.14 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 6.433e-05/0.3593, allocations: 320.8 kB / 377.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001105/0.3594, allocations: 20.45 kB / 377.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.604e-05/0.3595, allocations: 22.27 kB / 377.9 MB, free: 12.83 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001277/0.3596, allocations: 46.11 kB / 378 MB, free: 12.82 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.417e-06/0.3596, allocations: 0 / 378 MB, free: 12.82 MB / 318.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002075/0.3598, allocations: 98.38 kB / 378.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/0.3598, allocations: 6.172 kB / 378.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.853e-06/0.3599, allocations: 0 / 378.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.3599, allocations: 1.281 kB / 378.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000229/0.3601, allocations: 37.11 kB / 378.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.107e-06/0.3601, allocations: 4.688 kB / 378.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.121e-05/0.3602, allocations: 2.953 kB / 378.1 MB, free: 12.79 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.3602, allocations: 1.125 kB / 378.1 MB, free: 12.79 MB / 318.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 7.793e-05/0.3603, allocations: 130.1 kB / 378.2 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.86e-05/0.3603, allocations: 13.11 kB / 378.3 MB, free: 12.67 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.982e-05/0.3604, allocations: 15.56 kB / 378.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/0.3604, allocations: 6.094 kB / 378.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.3604, allocations: 0 / 378.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3604, allocations: 0 / 378.3 MB, free: 12.66 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001795/0.3606, allocations: 194.2 kB / 378.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.3606, allocations: 0 / 378.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001407/0.3608, allocations: 22.17 kB / 378.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.3608, allocations: 3.469 kB / 378.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.441e-05/0.3608, allocations: 9.031 kB / 378.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.894e-06/0.3608, allocations: 0.8906 kB / 378.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.3608, allocations: 1.375 kB / 378.5 MB, free: 12.47 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002558/0.3611, allocations: 197.1 kB / 378.7 MB, free: 12.34 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.551e-05/0.3611, allocations: 91.38 kB / 378.8 MB, free: 12.24 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.937e-05/0.3611, allocations: 5.062 kB / 378.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001011/0.3612, allocations: 5.797 kB / 378.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.016e-05/0.3613, allocations: 6.75 kB / 378.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.263e-06/0.3613, allocations: 7.188 kB / 378.8 MB, free: 12.23 MB / 318.1 MB Notification: Performance of sorting global known variables: time 7.076e-05/0.3614, allocations: 112.1 kB / 378.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3614, allocations: 0 / 378.9 MB, free: 12.16 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0002299/0.3616, allocations: 16.16 kB / 378.9 MB, free: 12.16 MB / 318.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 8.883e-05/0.3617, allocations: 95.91 kB / 379 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 0.0001876/0.3619, allocations: 54.17 kB / 379.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.3619, allocations: 0 / 379.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 6.181e-05/0.362, allocations: 24.8 kB / 379.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003356/0.3623, allocations: 21.28 kB / 379.1 MB, free: 12.07 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000641/0.363, allocations: 269.8 kB / 379.4 MB, free: 11.91 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.3631, allocations: 0.7003 MB / 380.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 4.858e-05/0.3632, allocations: 9.578 kB / 380.1 MB, free: 11.21 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.328e-05/0.3632, allocations: 13.3 kB / 380.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of SimCode: time 1.072e-06/0.3633, allocations: 3.438 kB / 380.1 MB, free: 11.2 MB / 318.1 MB Notification: Performance of Templates: time 0.003603/0.3669, allocations: 0.9163 MB / 381 MB, free: 11.13 MB / 318.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)