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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001005/0.001005, allocations: 91.02 kB / 16.31 MB, free: 5.66 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.001113/0.001113, allocations: 179.3 kB / 17.21 MB, free: 5.578 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.643/1.643, allocations: 205.4 MB / 223.4 MB, free: 5.691 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.0004678/0.0004679, allocations: 12 kB / 280.1 MB, free: 13.07 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2571/0.2576, allocations: 47.58 MB / 327.7 MB, free: 1.402 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.0019/0.2596, allocations: 1.36 MB / 329.1 MB, free: 332 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008186/0.2604, allocations: 0.5028 MB / 329.6 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.023e-05/0.2605, allocations: 1.094 kB / 329.6 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 8.828e-05/0.2606, allocations: 3.938 kB / 329.6 MB, free: 15.92 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001801/0.2608, allocations: 24.19 kB / 329.6 MB, free: 15.9 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001566/0.2609, allocations: 37.2 kB / 329.6 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001752/0.2611, allocations: 87.11 kB / 329.7 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001134/0.2612, allocations: 26.5 kB / 329.8 MB, free: 15.81 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.822e-05/0.2613, allocations: 30.42 kB / 329.8 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.872e-05/0.2614, allocations: 38.38 kB / 329.8 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.2614, allocations: 3.844 kB / 329.8 MB, free: 15.77 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.558e-05/0.2615, allocations: 7.719 kB / 329.8 MB, free: 15.76 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.131e-05/0.2615, allocations: 19.25 kB / 329.9 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.441e-05/0.2616, allocations: 36.92 kB / 329.9 MB, free: 15.71 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 9.149e-05/0.2617, allocations: 48.72 kB / 329.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.534e-06/0.2617, allocations: 0 / 329.9 MB, free: 15.68 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.2617, allocations: 3.938 kB / 329.9 MB, free: 15.67 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2617, allocations: 4 kB / 329.9 MB, free: 15.67 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.0006267/0.2623, allocations: 402.1 kB / 330.3 MB, free: 15.26 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.316e-05/0.2624, allocations: 8.188 kB / 330.3 MB, free: 15.26 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.2625, allocations: 14.59 kB / 330.4 MB, free: 15.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002785/0.2627, allocations: 203.9 kB / 330.6 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.892e-05/0.2628, allocations: 6.438 kB / 330.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.89e-05/0.2628, allocations: 13.72 kB / 330.6 MB, free: 15.02 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002312/0.2631, allocations: 75.22 kB / 330.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.2631, allocations: 0 / 330.7 MB, free: 14.96 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.04e-05/0.2631, allocations: 9.078 kB / 330.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.914e-06/0.2631, allocations: 1.094 kB / 330.7 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001579/0.2633, allocations: 46.34 kB / 330.7 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005792/0.2639, allocations: 406.8 kB / 331.1 MB, free: 14.52 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001401/0.264, allocations: 61.31 kB / 331.2 MB, free: 14.48 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.777e-05/0.2641, allocations: 35.55 kB / 331.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.816e-05/0.2641, allocations: 1.5 kB / 331.2 MB, free: 14.46 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.334e-05/0.2642, allocations: 30.56 kB / 331.2 MB, free: 14.42 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.062e-06/0.2642, allocations: 0 / 331.2 MB, free: 14.42 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.000309/0.2645, allocations: 113.9 kB / 331.3 MB, free: 14.34 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.009e-05/0.2645, allocations: 55.41 kB / 331.4 MB, free: 14.28 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001307/0.2647, allocations: 140.9 kB / 331.5 MB, free: 14.16 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.639e-05/0.2647, allocations: 27.11 kB / 331.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.049e-05/0.2648, allocations: 108.9 kB / 331.7 MB, free: 14.02 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.005e-05/0.2648, allocations: 26 kB / 331.7 MB, free: 14 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.05e-06/0.2648, allocations: 0.9688 kB / 331.7 MB, free: 14 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001304/0.2649, allocations: 317.1 kB / 332 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.428e-05/0.265, allocations: 28.86 kB / 332 MB, free: 13.66 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.371e-05/0.2651, allocations: 24.5 kB / 332.1 MB, free: 13.65 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.54e-05/0.2652, allocations: 21.88 kB / 332.1 MB, free: 13.64 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2652, allocations: 0 / 332.1 MB, free: 13.64 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001734/0.2653, allocations: 86.52 kB / 332.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.2654, allocations: 9.438 kB / 332.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.2654, allocations: 0 / 332.2 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.2654, allocations: 4 kB / 332.2 MB, free: 13.58 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002382/0.2656, allocations: 50.23 kB / 332.2 MB, free: 13.56 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.843e-06/0.2657, allocations: 0 / 332.2 MB, free: 13.56 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/0.2657, allocations: 11.64 kB / 332.2 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.022e-05/0.2658, allocations: 1.188 kB / 332.2 MB, free: 13.55 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.0001016/0.2659, allocations: 114 kB / 332.3 MB, free: 13.44 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.2659, allocations: 8 kB / 332.4 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.395e-05/0.266, allocations: 15.47 kB / 332.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.477e-06/0.266, allocations: 0.9688 kB / 332.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.266, allocations: 3.953 kB / 332.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.332e-06/0.266, allocations: 5.016 kB / 332.4 MB, free: 13.41 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002318/0.2662, allocations: 200.8 kB / 332.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.2662, allocations: 0 / 332.6 MB, free: 13.18 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001479/0.2664, allocations: 25.39 kB / 332.6 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.997e-06/0.2664, allocations: 1.25 kB / 332.6 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.203e-05/0.2664, allocations: 0 / 332.6 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.653e-06/0.2664, allocations: 1.062 kB / 332.6 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.641e-06/0.2664, allocations: 4 kB / 332.6 MB, free: 13.17 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003373/0.2668, allocations: 212.3 kB / 332.8 MB, free: 12.99 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.66e-05/0.2668, allocations: 83.48 kB / 332.9 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.098e-05/0.2669, allocations: 1.281 kB / 332.9 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.64e-05/0.267, allocations: 10.98 kB / 332.9 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.886e-05/0.267, allocations: 2.188 kB / 332.9 MB, free: 12.89 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.091e-06/0.267, allocations: 1.375 kB / 332.9 MB, free: 12.89 MB / 270.1 MB Notification: Performance of sorting global known variables: time 0.0001013/0.2671, allocations: 113.1 kB / 333 MB, free: 12.79 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.2671, allocations: 1.219 kB / 333 MB, free: 12.79 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002419/0.2674, allocations: 15.05 kB / 333 MB, free: 12.79 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.0001212/0.2675, allocations: 95.89 kB / 333.1 MB, free: 12.7 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001917/0.2677, allocations: 63.64 kB / 333.2 MB, free: 12.67 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2677, allocations: 1.406 kB / 333.2 MB, free: 12.67 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.669e-05/0.2678, allocations: 31.7 kB / 333.2 MB, free: 12.65 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003384/0.2681, allocations: 16.73 kB / 333.2 MB, free: 12.64 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000631/0.2688, allocations: 305 kB / 333.5 MB, free: 12.4 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003042/0.2691, allocations: 0.6998 MB / 334.2 MB, free: 11.7 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.744e-05/0.2692, allocations: 11.12 kB / 334.2 MB, free: 11.69 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.34e-05/0.2692, allocations: 11.22 kB / 334.3 MB, free: 11.68 MB / 270.1 MB Notification: Performance of SimCode: time 2.11e-07/0.2692, allocations: 1.125 kB / 334.3 MB, free: 11.68 MB / 270.1 MB Notification: Performance of Templates: time 0.003107/0.2723, allocations: 0.7918 MB / 335.1 MB, free: 11.27 MB / 270.1 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)