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.0009788/0.0009788, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001061/0.001061, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.4 MB / 222.1 MB, free: 5.531 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.0004789/0.0004789, allocations: 12 kB / 278.8 MB, free: 12.73 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2508/0.2513, allocations: 47.58 MB / 326.4 MB, free: 1.477 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001654/0.253, allocations: 1.358 MB / 327.8 MB, free: 412 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.000768/0.2538, allocations: 0.4964 MB / 328.3 MB, free: 12 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.885e-05/0.2539, allocations: 2.406 kB / 328.3 MB, free: 12 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 9.928e-05/0.254, allocations: 7.922 kB / 328.3 MB, free: 4 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002094/0.2542, allocations: 27.47 kB / 328.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001688/0.2544, allocations: 33.89 kB / 328.4 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001567/0.2545, allocations: 64.47 kB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001308/0.2547, allocations: 29.33 kB / 328.4 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.432e-05/0.2548, allocations: 36.19 kB / 328.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.737e-05/0.2549, allocations: 30.28 kB / 328.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.225e-05/0.2549, allocations: 7.062 kB / 328.5 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.781e-05/0.2549, allocations: 2.156 kB / 328.5 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 4.73e-05/0.255, allocations: 15.72 kB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.847e-05/0.255, allocations: 39.08 kB / 328.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.2551, allocations: 52.28 kB / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.2551, allocations: 0 / 328.6 MB, free: 15.77 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.2551, allocations: 5.219 kB / 328.6 MB, free: 15.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.929e-06/0.2552, allocations: 0 / 328.6 MB, free: 15.76 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.0006236/0.2558, allocations: 398.5 kB / 329 MB, free: 15.36 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.2558, allocations: 9.438 kB / 329 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.42e-05/0.2559, allocations: 11.41 kB / 329 MB, free: 15.35 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002617/0.2562, allocations: 204.7 kB / 329.2 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.05e-05/0.2562, allocations: 6.156 kB / 329.2 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.355e-05/0.2562, allocations: 12.91 kB / 329.3 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002212/0.2565, allocations: 86.88 kB / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.198e-06/0.2565, allocations: 0 / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.317e-05/0.2565, allocations: 0.9375 kB / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.2565, allocations: 2.031 kB / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001343/0.2566, allocations: 46 kB / 329.4 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000765/0.2574, allocations: 406.8 kB / 329.8 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001765/0.2576, allocations: 57.44 kB / 329.8 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.2576, allocations: 4 kB / 329.8 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.041e-05/0.2577, allocations: 39.75 kB / 329.9 MB, free: 14.53 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 2.855e-06/0.2577, allocations: 3.984 kB / 329.9 MB, free: 14.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003283/0.258, allocations: 105 kB / 330 MB, free: 14.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.146e-05/0.2581, allocations: 52.47 kB / 330 MB, free: 14.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001396/0.2582, allocations: 141.4 kB / 330.2 MB, free: 14.27 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2582, allocations: 29.7 kB / 330.2 MB, free: 14.24 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.529e-05/0.2583, allocations: 109.6 kB / 330.3 MB, free: 14.13 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.639e-05/0.2584, allocations: 18.55 kB / 330.3 MB, free: 14.12 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.211e-06/0.2584, allocations: 4 kB / 330.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2585, allocations: 321.4 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.266e-05/0.2586, allocations: 16.47 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.05e-05/0.2587, allocations: 28.53 kB / 330.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.92e-05/0.2587, allocations: 29.64 kB / 330.7 MB, free: 13.76 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.2587, allocations: 0 / 330.7 MB, free: 13.76 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001666/0.2589, allocations: 86.44 kB / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.2589, allocations: 5.719 kB / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.778e-06/0.259, allocations: 0 / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.942e-05/0.259, allocations: 1.531 kB / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002342/0.2592, allocations: 45.31 kB / 330.9 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.2592, allocations: 7.938 kB / 330.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.309e-05/0.2593, allocations: 3.906 kB / 330.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.578e-06/0.2593, allocations: 1.469 kB / 330.9 MB, free: 13.68 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.2594, allocations: 117.3 kB / 331 MB, free: 13.56 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.028e-05/0.2595, allocations: 12.88 kB / 331 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.2595, allocations: 14.67 kB / 331 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.2595, allocations: 1.406 kB / 331 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.831e-06/0.2596, allocations: 4 kB / 331 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.308e-06/0.2596, allocations: 7.891 kB / 331 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002178/0.2598, allocations: 201.3 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.2598, allocations: 0 / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001404/0.2599, allocations: 21.83 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.26, allocations: 0 / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.142e-05/0.26, allocations: 1.688 kB / 331.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.26, allocations: 240 / 331.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.26, allocations: 1.562 kB / 331.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003206/0.2603, allocations: 215.4 kB / 331.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.656e-05/0.2604, allocations: 84.14 kB / 331.5 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.273e-05/0.2604, allocations: 8.984 kB / 331.6 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.524e-05/0.2605, allocations: 7.062 kB / 331.6 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.077e-05/0.2605, allocations: 5.031 kB / 331.6 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.2605, allocations: 5.219 kB / 331.6 MB, free: 12.99 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.729e-05/0.2606, allocations: 110.2 kB / 331.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2606, allocations: 0 / 331.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002267/0.2609, allocations: 12.06 kB / 331.7 MB, free: 12.9 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001201/0.261, allocations: 99.86 kB / 331.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001826/0.2612, allocations: 51.28 kB / 331.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2612, allocations: 5.344 kB / 331.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.37e-05/0.2613, allocations: 27.36 kB / 331.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003225/0.2616, allocations: 21.33 kB / 331.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007015/0.2623, allocations: 291.6 kB / 332.2 MB, free: 12.53 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003281/0.2627, allocations: 0.7096 MB / 332.9 MB, free: 11.82 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.411e-05/0.2627, allocations: 7.531 kB / 332.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.016e-05/0.2628, allocations: 18.75 kB / 332.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of SimCode: time 2.41e-07/0.2628, allocations: 0 / 332.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of Templates: time 0.003701/0.2665, allocations: 0.7902 MB / 333.7 MB, free: 11.39 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Blocks.Examples.InverseModel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: