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/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+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/Complex 3.2.2+maint.om/package.mo): time 0.001186/0.001186, allocations: 184.3 kB / 13.65 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.459/1.459, allocations: 194.3 MB / 208.4 MB, free: 6.629 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001558/0.001558, allocations: 114.2 kB / 253.5 MB, free: 9.512 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.243e-05/3.245e-05, allocations: 0 / 304.9 MB, free: 29.78 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08925/0.0893, allocations: 44.52 MB / 349.4 MB, free: 1.246 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3551/0.4444, allocations: 71.8 MB / 421.2 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002295/0.4447, allocations: 69.23 kB / 421.3 MB, free: 10.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.006113/0.4508, allocations: 2.158 MB / 423.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of FrontEnd: time 3.417e-06/0.4509, allocations: 0 / 423.5 MB, free: 10.56 MB / 298.7 MB Notification: Performance of Transformations before backend: time 1.601e-05/0.4509, allocations: 5.375 kB / 423.5 MB, free: 10.55 MB / 298.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.0004641/0.4514, allocations: 379.1 kB / 423.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.608e-05/0.4515, allocations: 14.03 kB / 423.8 MB, free: 10.19 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.342e-05/0.4515, allocations: 13 kB / 423.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002591/0.4518, allocations: 208.4 kB / 424.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.4518, allocations: 2.562 kB / 424.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.087e-05/0.4518, allocations: 11.56 kB / 424.1 MB, free: 9.965 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001568/0.452, allocations: 69 kB / 424.1 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.335e-06/0.452, allocations: 0 / 424.1 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.452, allocations: 3.188 kB / 424.1 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.372e-06/0.4521, allocations: 3.562 kB / 424.1 MB, free: 9.934 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.385e-05/0.4521, allocations: 36.47 kB / 424.2 MB, free: 9.93 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005158/0.4527, allocations: 409.2 kB / 424.6 MB, free: 9.59 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001059/0.4528, allocations: 55.33 kB / 424.6 MB, free: 9.562 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.974e-05/0.4528, allocations: 35.67 kB / 424.7 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.792e-05/0.4528, allocations: 0 / 424.7 MB, free: 9.547 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.4529, allocations: 34.41 kB / 424.7 MB, free: 9.508 MB / 298.7 MB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.4529, allocations: 3.938 kB / 424.7 MB, free: 9.504 MB / 298.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001868/0.4531, allocations: 80.5 kB / 424.8 MB, free: 9.457 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.376e-05/0.4531, allocations: 51.41 kB / 424.8 MB, free: 9.395 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.074e-05/0.4532, allocations: 130 kB / 425 MB, free: 9.305 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.4532, allocations: 29.7 kB / 425 MB, free: 9.27 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.975e-05/0.4533, allocations: 109.5 kB / 425.1 MB, free: 9.18 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.4533, allocations: 14.16 kB / 425.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.512e-06/0.4533, allocations: 3.062 kB / 425.1 MB, free: 9.172 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7e-05/0.4534, allocations: 318.7 kB / 425.4 MB, free: 8.859 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.937e-05/0.4534, allocations: 18.31 kB / 425.4 MB, free: 8.859 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.382e-05/0.4535, allocations: 11.28 kB / 425.5 MB, free: 8.859 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.689e-05/0.4535, allocations: 21.03 kB / 425.5 MB, free: 8.859 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.963e-06/0.4535, allocations: 0 / 425.5 MB, free: 8.859 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 9.872e-05/0.4536, allocations: 81.42 kB / 425.6 MB, free: 8.816 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.828e-05/0.4536, allocations: 10.16 kB / 425.6 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.4536, allocations: 80 / 425.6 MB, free: 8.816 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.449e-05/0.4537, allocations: 3.953 kB / 425.6 MB, free: 8.812 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002306/0.4539, allocations: 42.36 kB / 425.6 MB, free: 8.809 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.074e-06/0.4539, allocations: 3.984 kB / 425.6 MB, free: 8.805 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.046e-05/0.454, allocations: 11.59 kB / 425.6 MB, free: 8.801 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.122e-05/0.454, allocations: 0 / 425.6 MB, free: 8.801 MB / 298.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 5.337e-05/0.4541, allocations: 111.8 kB / 425.7 MB, free: 8.688 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.618e-05/0.4541, allocations: 11.59 kB / 425.7 MB, free: 8.684 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.529e-05/0.4541, allocations: 11.5 kB / 425.8 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.4541, allocations: 0 / 425.8 MB, free: 8.68 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.4541, allocations: 11.8 kB / 425.8 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.4542, allocations: 0 / 425.8 MB, free: 8.672 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001546/0.4543, allocations: 193.5 kB / 426 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.4543, allocations: 0 / 426 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001324/0.4545, allocations: 21.47 kB / 426 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.843e-06/0.4545, allocations: 0 / 426 MB, free: 8.484 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.113e-05/0.4545, allocations: 7.844 kB / 426 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4545, allocations: 0 / 426 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.01e-07/0.4545, allocations: 0 / 426 MB, free: 8.48 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.4547, allocations: 193.7 kB / 426.2 MB, free: 8.34 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.05e-05/0.4547, allocations: 81.02 kB / 426.3 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.971e-05/0.4548, allocations: 2.812 kB / 426.3 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.644e-05/0.4548, allocations: 6.922 kB / 426.3 MB, free: 8.242 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.334e-05/0.4549, allocations: 8.094 kB / 426.3 MB, free: 8.238 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.573e-06/0.4549, allocations: 4 kB / 426.3 MB, free: 8.234 MB / 298.7 MB Notification: Performance of sorting global known variables: time 5.338e-05/0.4549, allocations: 118.3 kB / 426.4 MB, free: 8.152 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.455, allocations: 0 / 426.4 MB, free: 8.152 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002429/0.4552, allocations: 19.22 kB / 426.4 MB, free: 8.145 MB / 298.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.0001489/0.4554, allocations: 98.19 kB / 426.5 MB, free: 8.059 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001136/0.4555, allocations: 39.86 kB / 426.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.004e-06/0.4555, allocations: 0 / 426.5 MB, free: 8.055 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 3.532e-05/0.4555, allocations: 22.69 kB / 426.6 MB, free: 8.051 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002605/0.4558, allocations: 25.3 kB / 426.6 MB, free: 8.047 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004716/0.4563, allocations: 177.2 kB / 426.8 MB, free: 7.941 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.4564, allocations: 0.7086 MB / 427.5 MB, free: 7.246 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 4.722e-05/0.4565, allocations: 15.73 kB / 427.5 MB, free: 7.234 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.801e-05/0.4565, allocations: 11.25 kB / 427.5 MB, free: 7.227 MB / 298.7 MB Notification: Performance of SimCode: time 3.9e-07/0.4565, allocations: 3.938 kB / 427.5 MB, free: 7.223 MB / 298.7 MB Notification: Performance of Templates: time 0.002745/0.4593, allocations: 0.7762 MB / 428.3 MB, free: 7.023 MB / 298.7 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)