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.001148/0.001148, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001164/0.001164, allocations: 198.6 kB / 16.54 MB, free: 6.672 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.465/1.465, allocations: 205.1 MB / 222.4 MB, free: 4.621 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.001283/0.001283, allocations: 55.92 kB / 278.7 MB, free: 12.38 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2703/0.2716, allocations: 46.64 MB / 325.3 MB, free: 1.844 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003401/0.275, allocations: 1.67 MB / 327 MB, free: 0.5234 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009259/0.276, allocations: 0.5312 MB / 327.5 MB, free: 100 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001189/0.2761, allocations: 1.281 kB / 327.5 MB, free: 100 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001068/0.2762, allocations: 9.031 kB / 327.5 MB, free: 92 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002124/0.2765, allocations: 27.22 kB / 327.5 MB, free: 68 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001948/0.2767, allocations: 44.67 kB / 327.6 MB, free: 32 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002326/0.2769, allocations: 104.9 kB / 327.7 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001388/0.2771, allocations: 26.08 kB / 327.7 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001191/0.2772, allocations: 47.09 kB / 327.8 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.535e-05/0.2773, allocations: 46.91 kB / 327.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.626e-05/0.2773, allocations: 5.844 kB / 327.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.964e-05/0.2774, allocations: 7.312 kB / 327.8 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 7e-05/0.2774, allocations: 20.73 kB / 327.8 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 6.567e-05/0.2775, allocations: 44.23 kB / 327.9 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001459/0.2777, allocations: 81.52 kB / 328 MB, free: 15.78 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2777, allocations: 0 / 328 MB, free: 15.78 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.352e-06/0.2777, allocations: 0 / 328 MB, free: 15.78 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.522e-06/0.2777, allocations: 0 / 328 MB, free: 15.78 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.0006606/0.2784, allocations: 411.4 kB / 328.4 MB, free: 15.37 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.2784, allocations: 13.84 kB / 328.4 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.407e-05/0.2785, allocations: 10.41 kB / 328.4 MB, free: 15.36 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002596/0.2787, allocations: 209.1 kB / 328.6 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.799e-06/0.2788, allocations: 3.375 kB / 328.6 MB, free: 15.13 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.581e-05/0.2788, allocations: 13.56 kB / 328.6 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002178/0.279, allocations: 82.05 kB / 328.7 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.076e-05/0.279, allocations: 0 / 328.7 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.513e-05/0.2791, allocations: 1.062 kB / 328.7 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.915e-06/0.2791, allocations: 1.156 kB / 328.7 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001362/0.2792, allocations: 43.72 kB / 328.7 MB, free: 15.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006421/0.2799, allocations: 408.3 kB / 329.1 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002025/0.2801, allocations: 63.41 kB / 329.2 MB, free: 14.58 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.492e-05/0.2802, allocations: 29.55 kB / 329.2 MB, free: 14.56 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.741e-05/0.2802, allocations: 5.281 kB / 329.2 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.448e-05/0.2802, allocations: 36.16 kB / 329.3 MB, free: 14.51 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.002e-06/0.2802, allocations: 0 / 329.3 MB, free: 14.51 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003298/0.2806, allocations: 98.53 kB / 329.4 MB, free: 14.45 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.2806, allocations: 56.56 kB / 329.4 MB, free: 14.38 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002449/0.2809, allocations: 136.7 kB / 329.5 MB, free: 14.26 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.182e-05/0.2809, allocations: 31.11 kB / 329.6 MB, free: 14.23 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001563/0.2811, allocations: 113.1 kB / 329.7 MB, free: 14.12 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.974e-05/0.2811, allocations: 17.89 kB / 329.7 MB, free: 14.1 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.803e-05/0.2812, allocations: 18.31 kB / 329.7 MB, free: 14.08 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001479/0.2813, allocations: 321 kB / 330 MB, free: 13.76 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.95e-05/0.2814, allocations: 22.48 kB / 330.1 MB, free: 13.75 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.629e-05/0.2815, allocations: 19.42 kB / 330.1 MB, free: 13.74 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001267/0.2816, allocations: 48.22 kB / 330.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.2816, allocations: 4 kB / 330.1 MB, free: 13.71 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002017/0.2818, allocations: 95.95 kB / 330.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/0.2818, allocations: 4.656 kB / 330.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.2819, allocations: 1.156 kB / 330.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.987e-05/0.2819, allocations: 0 / 330.2 MB, free: 13.64 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/0.2821, allocations: 40.72 kB / 330.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.37e-06/0.2821, allocations: 0.9375 kB / 330.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.024e-05/0.2822, allocations: 6.109 kB / 330.3 MB, free: 13.63 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/0.2823, allocations: 9.969 kB / 330.3 MB, free: 13.62 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 0.000112/0.2824, allocations: 113.5 kB / 330.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.706e-05/0.2824, allocations: 12.66 kB / 330.4 MB, free: 13.5 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.369e-05/0.2825, allocations: 14.72 kB / 330.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.055e-06/0.2825, allocations: 1.156 kB / 330.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2825, allocations: 0 / 330.4 MB, free: 13.48 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.303e-06/0.2825, allocations: 3.984 kB / 330.4 MB, free: 13.47 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002483/0.2828, allocations: 197.9 kB / 330.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.914e-06/0.2828, allocations: 0 / 330.6 MB, free: 13.25 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001548/0.2829, allocations: 28.36 kB / 330.6 MB, free: 13.24 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.461e-06/0.2829, allocations: 1.062 kB / 330.6 MB, free: 13.24 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.271e-05/0.283, allocations: 3.938 kB / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.713e-06/0.283, allocations: 0.9688 kB / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.283, allocations: 0 / 330.7 MB, free: 13.23 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003367/0.2833, allocations: 204.6 kB / 330.9 MB, free: 13.06 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.204e-05/0.2834, allocations: 91.72 kB / 330.9 MB, free: 12.96 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.123e-05/0.2834, allocations: 5.094 kB / 330.9 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.789e-05/0.2835, allocations: 6.172 kB / 331 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.2836, allocations: 2.031 kB / 331 MB, free: 12.95 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.831e-06/0.2836, allocations: 1.094 kB / 331 MB, free: 12.95 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.006e-05/0.2837, allocations: 113.9 kB / 331.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2837, allocations: 0 / 331.1 MB, free: 12.86 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.2839, allocations: 16 kB / 331.1 MB, free: 12.85 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 0.0001166/0.2841, allocations: 92.81 kB / 331.2 MB, free: 12.77 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002518/0.2843, allocations: 64.92 kB / 331.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.2843, allocations: 0 / 331.2 MB, free: 12.73 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001016/0.2844, allocations: 22.36 kB / 331.3 MB, free: 12.72 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006551/0.2851, allocations: 21.8 kB / 331.3 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001094/0.2862, allocations: 261.6 kB / 331.5 MB, free: 12.51 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005078/0.2868, allocations: 0.7077 MB / 332.2 MB, free: 11.8 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 7.868e-05/0.2868, allocations: 12.09 kB / 332.3 MB, free: 11.79 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.587e-05/0.2869, allocations: 14.72 kB / 332.3 MB, free: 11.78 MB / 270.1 MB Notification: Performance of SimCode: time 8.21e-07/0.2869, allocations: 0 / 332.3 MB, free: 11.78 MB / 270.1 MB Notification: Performance of Templates: time 0.006741/0.2937, allocations: 0.8956 MB / 333.2 MB, free: 11.32 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)