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.00093/0.0009301, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001369/0.00137, allocations: 172.7 kB / 15.95 MB, free: 208 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.712/1.712, allocations: 205.4 MB / 222.1 MB, free: 5.355 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.0004954/0.0004954, allocations: 8 kB / 278.9 MB, free: 12.71 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3207/0.3212, allocations: 47.59 MB / 326.5 MB, free: 1.434 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.001962/0.3232, allocations: 1.363 MB / 327.8 MB, free: 360 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008551/0.3241, allocations: 0.4953 MB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.255e-05/0.3242, allocations: 6.094 kB / 328.3 MB, free: 15.96 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001018/0.3243, allocations: 7.922 kB / 328.3 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002164/0.3245, allocations: 19.25 kB / 328.4 MB, free: 15.93 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001794/0.3247, allocations: 37.84 kB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001957/0.3249, allocations: 85.45 kB / 328.5 MB, free: 15.86 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.325, allocations: 20.55 kB / 328.5 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.219e-05/0.3251, allocations: 37.25 kB / 328.5 MB, free: 15.82 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.764e-05/0.3252, allocations: 39.03 kB / 328.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.157e-05/0.3253, allocations: 2.688 kB / 328.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.831e-05/0.3253, allocations: 2.812 kB / 328.6 MB, free: 15.8 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.427e-05/0.3253, allocations: 12.02 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 4.324e-05/0.3254, allocations: 42.2 kB / 328.6 MB, free: 15.75 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3255, allocations: 52.17 kB / 328.7 MB, free: 15.71 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.3255, allocations: 5.312 kB / 328.7 MB, free: 15.71 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3255, allocations: 0 / 328.7 MB, free: 15.71 MB / 270.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.3255, allocations: 0 / 328.7 MB, free: 15.71 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.0006319/0.3262, allocations: 410.3 kB / 329.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.468e-05/0.3262, allocations: 9.5 kB / 329.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.715e-05/0.3263, allocations: 13 kB / 329.1 MB, free: 15.29 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002396/0.3265, allocations: 195.7 kB / 329.3 MB, free: 15.07 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.763e-05/0.3266, allocations: 6.5 kB / 329.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.234e-05/0.3266, allocations: 5.219 kB / 329.3 MB, free: 15.06 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002229/0.3268, allocations: 82.69 kB / 329.4 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.518e-06/0.3269, allocations: 5.25 kB / 329.4 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.3269, allocations: 4 kB / 329.4 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.203e-06/0.3269, allocations: 2.188 kB / 329.4 MB, free: 14.99 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001373/0.327, allocations: 45.75 kB / 329.4 MB, free: 14.97 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007301/0.3278, allocations: 414.8 kB / 329.9 MB, free: 14.55 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.328, allocations: 65.38 kB / 329.9 MB, free: 14.51 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.658e-05/0.3281, allocations: 31.12 kB / 329.9 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.316e-05/0.3281, allocations: 1.25 kB / 329.9 MB, free: 14.49 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.166e-05/0.3281, allocations: 35.69 kB / 330 MB, free: 14.45 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.442e-06/0.3281, allocations: 0 / 330 MB, free: 14.45 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.000387/0.3285, allocations: 104.5 kB / 330.1 MB, free: 14.38 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.716e-05/0.3286, allocations: 52.59 kB / 330.1 MB, free: 14.32 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001647/0.3288, allocations: 145.4 kB / 330.3 MB, free: 14.19 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.216e-05/0.3288, allocations: 25.7 kB / 330.3 MB, free: 14.16 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.685e-05/0.3289, allocations: 118 kB / 330.4 MB, free: 14.05 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.273e-05/0.329, allocations: 17.75 kB / 330.4 MB, free: 14.03 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.37e-06/0.329, allocations: 0 / 330.4 MB, free: 14.03 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001773/0.3292, allocations: 321.3 kB / 330.7 MB, free: 13.71 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.929e-05/0.3292, allocations: 20.42 kB / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.965e-05/0.3293, allocations: 20.94 kB / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.517e-05/0.3294, allocations: 34.03 kB / 330.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.888e-06/0.3294, allocations: 0 / 330.8 MB, free: 13.68 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002214/0.3297, allocations: 95.17 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.881e-05/0.3297, allocations: 8.828 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.627e-06/0.3297, allocations: 0 / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.107e-05/0.3297, allocations: 1.031 kB / 330.9 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002652/0.33, allocations: 45.11 kB / 331 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.33, allocations: 5.312 kB / 331 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.378e-05/0.3301, allocations: 2.594 kB / 331 MB, free: 13.59 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.401e-05/0.3301, allocations: 2.719 kB / 331 MB, free: 13.59 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.0001273/0.3302, allocations: 113 kB / 331.1 MB, free: 13.47 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.464e-05/0.3303, allocations: 9 kB / 331.1 MB, free: 13.47 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.3303, allocations: 14.86 kB / 331.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.3303, allocations: 0 / 331.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.355e-06/0.3304, allocations: 3.953 kB / 331.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.794e-06/0.3304, allocations: 1.656 kB / 331.1 MB, free: 13.45 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002773/0.3307, allocations: 208.9 kB / 331.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.3307, allocations: 0 / 331.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.3308, allocations: 21.14 kB / 331.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.006e-06/0.3309, allocations: 0.7812 kB / 331.3 MB, free: 13.21 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.762e-05/0.3309, allocations: 9.078 kB / 331.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.3309, allocations: 0 / 331.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.3309, allocations: 0.9062 kB / 331.4 MB, free: 13.2 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003441/0.3313, allocations: 204 kB / 331.6 MB, free: 13.03 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.339e-05/0.3313, allocations: 92.22 kB / 331.6 MB, free: 12.93 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.367e-05/0.3314, allocations: 4.906 kB / 331.6 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.995e-05/0.3315, allocations: 2.312 kB / 331.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.547e-05/0.3315, allocations: 5.984 kB / 331.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.42e-06/0.3315, allocations: 1.344 kB / 331.7 MB, free: 12.92 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.82e-05/0.3316, allocations: 113.5 kB / 331.8 MB, free: 12.82 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3316, allocations: 0 / 331.8 MB, free: 12.82 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002412/0.3319, allocations: 20.77 kB / 331.8 MB, free: 12.82 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.000152/0.332, allocations: 91.94 kB / 331.9 MB, free: 12.73 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0002152/0.3323, allocations: 51.66 kB / 331.9 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.3323, allocations: 0 / 331.9 MB, free: 12.71 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 7.653e-05/0.3323, allocations: 31.98 kB / 332 MB, free: 12.7 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000394/0.3328, allocations: 24.77 kB / 332 MB, free: 12.68 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007123/0.3335, allocations: 300.4 kB / 332.3 MB, free: 12.44 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.3338, allocations: 0.7048 MB / 333 MB, free: 11.73 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.922e-05/0.3339, allocations: 11.42 kB / 333 MB, free: 11.72 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.657e-05/0.3339, allocations: 11.03 kB / 333 MB, free: 11.71 MB / 270.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3339, allocations: 4 kB / 333 MB, free: 11.71 MB / 270.1 MB Notification: Performance of Templates: time 0.003716/0.3376, allocations: 0.7829 MB / 333.8 MB, free: 11.31 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)