Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Blocks.Examples.InverseModel") translateModel(Modelica.Blocks.Examples.InverseModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001249/0.001249, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001256/0.001256, allocations: 192.8 kB / 16.13 MB, free: 6.664 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.602/1.602, allocations: 205.1 MB / 222 MB, free: 4.77 MB / 174.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.001191/0.001191, allocations: 47.92 kB / 278 MB, free: 12.77 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2399/0.2411, allocations: 46.62 MB / 324.7 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002655/0.2438, allocations: 1.726 MB / 326.4 MB, free: 0.5703 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007062/0.2446, allocations: 0.5298 MB / 326.9 MB, free: 152 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.087e-05/0.2447, allocations: 6.719 kB / 326.9 MB, free: 148 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001079/0.2448, allocations: 3.938 kB / 326.9 MB, free: 144 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001605/0.2449, allocations: 24.06 kB / 327 MB, free: 124 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001363/0.2451, allocations: 37.09 kB / 327 MB, free: 96 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001268/0.2452, allocations: 98.44 kB / 327.1 MB, free: 36 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.2453, allocations: 29.05 kB / 327.1 MB, free: 20 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.027e-05/0.2454, allocations: 35.7 kB / 327.2 MB, free: 0 / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001007/0.2455, allocations: 46.34 kB / 327.2 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.118e-05/0.2456, allocations: 4.688 kB / 327.2 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.795e-05/0.2456, allocations: 3.688 kB / 327.2 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.679e-05/0.2456, allocations: 25.92 kB / 327.2 MB, free: 15.94 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.674e-05/0.2457, allocations: 32.69 kB / 327.3 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001065/0.2458, allocations: 83.55 kB / 327.3 MB, free: 15.86 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.2458, allocations: 0 / 327.3 MB, free: 15.86 MB / 270.1 MB Notification: Performance of FrontEnd: time 8.62e-07/0.2458, allocations: 0 / 327.3 MB, free: 15.86 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.737e-06/0.2458, allocations: 0 / 327.3 MB, free: 15.86 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.0005242/0.2464, allocations: 407.8 kB / 327.7 MB, free: 15.45 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.676e-05/0.2464, allocations: 13.19 kB / 327.8 MB, free: 15.45 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.829e-05/0.2464, allocations: 14.53 kB / 327.8 MB, free: 15.44 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002045/0.2467, allocations: 218.1 kB / 328 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.113e-05/0.2467, allocations: 2.688 kB / 328 MB, free: 15.2 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.446e-05/0.2467, allocations: 13.62 kB / 328 MB, free: 15.19 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.2469, allocations: 77.34 kB / 328.1 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.684e-06/0.2469, allocations: 1.062 kB / 328.1 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.978e-06/0.2469, allocations: 0 / 328.1 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.182e-06/0.2469, allocations: 6.453 kB / 328.1 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001142/0.2471, allocations: 38.02 kB / 328.1 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005336/0.2476, allocations: 412.2 kB / 328.5 MB, free: 14.7 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000143/0.2478, allocations: 56.69 kB / 328.6 MB, free: 14.66 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.151e-05/0.2478, allocations: 37.73 kB / 328.6 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.74e-05/0.2479, allocations: 1.406 kB / 328.6 MB, free: 14.63 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.499e-05/0.2479, allocations: 34.56 kB / 328.6 MB, free: 14.59 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.2479, allocations: 0 / 328.6 MB, free: 14.59 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002708/0.2482, allocations: 99.86 kB / 328.7 MB, free: 14.52 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.859e-05/0.2482, allocations: 52.62 kB / 328.8 MB, free: 14.46 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.2484, allocations: 140.7 kB / 328.9 MB, free: 14.34 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.356e-05/0.2484, allocations: 29.7 kB / 329 MB, free: 14.3 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.681e-05/0.2484, allocations: 114.2 kB / 329.1 MB, free: 14.19 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.505e-05/0.2485, allocations: 14.44 kB / 329.1 MB, free: 14.18 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.09e-05/0.2485, allocations: 21.86 kB / 329.1 MB, free: 14.16 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.2486, allocations: 320.9 kB / 329.4 MB, free: 13.84 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.896e-05/0.2487, allocations: 22.69 kB / 329.4 MB, free: 13.82 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.862e-05/0.2488, allocations: 23.05 kB / 329.5 MB, free: 13.81 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001127/0.2489, allocations: 56.36 kB / 329.5 MB, free: 13.78 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.2489, allocations: 0 / 329.5 MB, free: 13.78 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001556/0.249, allocations: 87.73 kB / 329.6 MB, free: 13.72 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.201e-05/0.2491, allocations: 5.688 kB / 329.6 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.847e-06/0.2491, allocations: 0 / 329.6 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.2491, allocations: 1.156 kB / 329.6 MB, free: 13.72 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00022/0.2493, allocations: 44.47 kB / 329.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.469e-06/0.2493, allocations: 0 / 329.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.539e-05/0.2494, allocations: 2.781 kB / 329.7 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.245e-06/0.2494, allocations: 9.312 kB / 329.7 MB, free: 13.7 MB / 270.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.541e-05/0.2495, allocations: 117.7 kB / 329.8 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.035e-05/0.2495, allocations: 12.22 kB / 329.8 MB, free: 13.57 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.012e-05/0.2496, allocations: 11.16 kB / 329.8 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2496, allocations: 1.469 kB / 329.8 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.2496, allocations: 0 / 329.8 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.295e-06/0.2496, allocations: 0 / 329.8 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001975/0.2498, allocations: 198 kB / 330 MB, free: 13.33 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.2498, allocations: 0 / 330 MB, free: 13.33 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001478/0.2499, allocations: 36.56 kB / 330 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.913e-06/0.2499, allocations: 0 / 330 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.25, allocations: 1 kB / 330 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.25, allocations: 0 / 330 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.25, allocations: 1.281 kB / 330 MB, free: 13.31 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000265/0.2502, allocations: 198.6 kB / 330.2 MB, free: 13.14 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.098e-05/0.2503, allocations: 91.17 kB / 330.3 MB, free: 13.04 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.135e-05/0.2503, allocations: 13.36 kB / 330.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.148e-05/0.2504, allocations: 2.031 kB / 330.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.2504, allocations: 6.047 kB / 330.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5e-06/0.2505, allocations: 1.156 kB / 330.3 MB, free: 13.02 MB / 270.1 MB Notification: Performance of sorting global known variables: time 7.29e-05/0.2505, allocations: 109 kB / 330.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2505, allocations: 0 / 330.5 MB, free: 12.93 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002171/0.2508, allocations: 19.75 kB / 330.5 MB, free: 12.92 MB / 270.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 7.849e-05/0.2508, allocations: 92.97 kB / 330.6 MB, free: 12.84 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001664/0.251, allocations: 52.89 kB / 330.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.613e-06/0.251, allocations: 0 / 330.6 MB, free: 12.81 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.86e-05/0.2511, allocations: 21.17 kB / 330.6 MB, free: 12.8 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003336/0.2514, allocations: 30.14 kB / 330.7 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005494/0.252, allocations: 293.1 kB / 331 MB, free: 12.55 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002261/0.2522, allocations: 0.7008 MB / 331.7 MB, free: 11.85 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.188e-05/0.2523, allocations: 23.17 kB / 331.7 MB, free: 11.83 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.234e-05/0.2523, allocations: 10.72 kB / 331.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.2523, allocations: 0 / 331.7 MB, free: 11.82 MB / 270.1 MB Notification: Performance of Templates: time 0.002767/0.2551, allocations: 0.8271 MB / 332.5 MB, free: 11.4 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.InverseModel.makefile (rm -f Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe ; mkfifo Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe >> ../files/Modelica_3.1_Modelica.Blocks.Examples.InverseModel.sim & ./Modelica_3.1_Modelica.Blocks.Examples.InverseModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Blocks.Examples.InverseModel.pipe 2>&1)