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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001384/0.001384, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.225/1.225, allocations: 170.6 MB / 183.8 MB, free: 11.49 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001527/0.001528, allocations: 114.7 kB / 223.2 MB, free: 4.113 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.694e-05/2.696e-05, allocations: 4 kB / 268.9 MB, free: 20.94 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.06838/0.06842, allocations: 38.77 MB / 307.6 MB, free: 14.14 MB / 234.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2671/0.3356, allocations: 66.51 MB / 374.1 MB, free: 9.668 MB / 266.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.3359, allocations: 62.66 kB / 374.2 MB, free: 9.637 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006588/0.3425, allocations: 2.176 MB / 376.4 MB, free: 7.777 MB / 266.7 MB Notification: Performance of FrontEnd: time 3.296e-06/0.3426, allocations: 0 / 376.4 MB, free: 7.777 MB / 266.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.3426, allocations: 3.938 kB / 376.4 MB, free: 7.773 MB / 266.7 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.0004955/0.3431, allocations: 386.5 kB / 376.8 MB, free: 7.359 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.286e-05/0.3432, allocations: 12.03 kB / 376.8 MB, free: 7.348 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.022e-05/0.3432, allocations: 10.42 kB / 376.8 MB, free: 7.34 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003455/0.3436, allocations: 210.8 kB / 377 MB, free: 7.098 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.552e-05/0.3436, allocations: 4 kB / 377 MB, free: 7.094 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.053e-05/0.3437, allocations: 7.875 kB / 377 MB, free: 7.09 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001953/0.3439, allocations: 73.08 kB / 377.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.3439, allocations: 0 / 377.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.697e-05/0.3439, allocations: 0 / 377.1 MB, free: 7.027 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/0.3439, allocations: 11.98 kB / 377.1 MB, free: 7.016 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.704e-05/0.344, allocations: 31.42 kB / 377.1 MB, free: 6.996 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000693/0.3447, allocations: 409.7 kB / 377.5 MB, free: 6.566 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001358/0.3449, allocations: 57.97 kB / 377.6 MB, free: 6.512 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.433e-05/0.3449, allocations: 24.67 kB / 377.6 MB, free: 6.492 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.345, allocations: 4 kB / 377.6 MB, free: 6.488 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.258e-05/0.345, allocations: 30.56 kB / 377.6 MB, free: 6.449 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.583e-06/0.345, allocations: 0 / 377.6 MB, free: 6.449 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001997/0.3452, allocations: 69.27 kB / 377.7 MB, free: 6.387 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/0.3453, allocations: 51.41 kB / 377.7 MB, free: 6.324 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000123/0.3454, allocations: 137.7 kB / 377.9 MB, free: 6.188 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.953e-05/0.3454, allocations: 29.58 kB / 377.9 MB, free: 6.156 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.776e-05/0.3455, allocations: 115.5 kB / 378 MB, free: 6.051 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.658e-05/0.3455, allocations: 15.8 kB / 378 MB, free: 6.035 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.1e-06/0.3456, allocations: 4.156 kB / 378 MB, free: 6.035 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001303/0.3457, allocations: 322.7 kB / 378.3 MB, free: 5.715 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.25e-05/0.3457, allocations: 15.88 kB / 378.4 MB, free: 5.703 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.668e-05/0.3458, allocations: 19.81 kB / 378.4 MB, free: 5.688 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.939e-05/0.3458, allocations: 19.69 kB / 378.4 MB, free: 5.676 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.3458, allocations: 4 kB / 378.4 MB, free: 5.672 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001171/0.346, allocations: 73.09 kB / 378.5 MB, free: 5.605 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/0.346, allocations: 8 kB / 378.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.202e-06/0.346, allocations: 0 / 378.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.983e-05/0.346, allocations: 0 / 378.5 MB, free: 5.598 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002334/0.3463, allocations: 40.03 kB / 378.5 MB, free: 5.559 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.097e-06/0.3463, allocations: 4.234 kB / 378.5 MB, free: 5.555 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.329e-05/0.3464, allocations: 11.48 kB / 378.5 MB, free: 5.547 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.271e-05/0.3464, allocations: 11.98 kB / 378.6 MB, free: 5.535 MB / 266.7 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 () * 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 8.041e-05/0.3465, allocations: 108.9 kB / 378.7 MB, free: 5.422 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.039e-05/0.3465, allocations: 11.81 kB / 378.7 MB, free: 5.41 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.282e-05/0.3465, allocations: 15.47 kB / 378.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.974e-06/0.3466, allocations: 0 / 378.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.3466, allocations: 0 / 378.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.016e-06/0.3466, allocations: 0 / 378.7 MB, free: 5.395 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002249/0.3468, allocations: 200.9 kB / 378.9 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.3468, allocations: 0 / 378.9 MB, free: 5.164 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.347, allocations: 31.97 kB / 378.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.347, allocations: 0 / 378.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.126e-05/0.347, allocations: 0 / 378.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.347, allocations: 0 / 378.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.347, allocations: 0 / 378.9 MB, free: 5.133 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.3473, allocations: 198.1 kB / 379.1 MB, free: 4.945 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.519e-05/0.3474, allocations: 81.02 kB / 379.2 MB, free: 4.848 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.177e-05/0.3474, allocations: 7.688 kB / 379.2 MB, free: 4.844 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.04e-05/0.3475, allocations: 8.047 kB / 379.2 MB, free: 4.836 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.787e-05/0.3475, allocations: 4 kB / 379.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.779e-06/0.3475, allocations: 0 / 379.2 MB, free: 4.832 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.724e-05/0.3476, allocations: 107.5 kB / 379.3 MB, free: 4.734 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3476, allocations: 0 / 379.3 MB, free: 4.734 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002164/0.3478, allocations: 18.94 kB / 379.3 MB, free: 4.719 MB / 266.7 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 () * 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.0001591/0.348, allocations: 95.25 kB / 379.4 MB, free: 4.617 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.000126/0.3481, allocations: 43.17 kB / 379.5 MB, free: 4.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.3482, allocations: 7.938 kB / 379.5 MB, free: 4.582 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.008e-05/0.3482, allocations: 19.81 kB / 379.5 MB, free: 4.566 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002531/0.3485, allocations: 23.61 kB / 379.5 MB, free: 4.547 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005138/0.349, allocations: 188.9 kB / 379.7 MB, free: 4.352 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003064/0.3493, allocations: 0.7119 MB / 380.4 MB, free: 3.617 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.341e-05/0.3494, allocations: 4 kB / 380.4 MB, free: 3.613 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.278e-05/0.3494, allocations: 15.38 kB / 380.4 MB, free: 3.598 MB / 266.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3494, allocations: 0 / 380.4 MB, free: 3.598 MB / 266.7 MB Notification: Performance of Templates: time 0.002997/0.3524, allocations: 0.7901 MB / 381.2 MB, free: 2.82 MB / 266.7 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)