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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001622/0.001622, allocations: 192.8 kB / 16.25 MB, free: 6.625 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.126/2.126, allocations: 205.1 MB / 222.1 MB, free: 4.703 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.001415/0.001415, allocations: 48.31 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3307/0.3321, allocations: 46.63 MB / 324.8 MB, free: 2.238 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.003264/0.3354, allocations: 1.726 MB / 326.6 MB, free: 0.8789 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.3365, allocations: 0.5216 MB / 327.1 MB, free: 476 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001021/0.3366, allocations: 2.375 kB / 327.1 MB, free: 476 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000127/0.3368, allocations: 7.922 kB / 327.1 MB, free: 468 kB / 254.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002253/0.337, allocations: 23.77 kB / 327.1 MB, free: 448 kB / 254.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001767/0.3372, allocations: 45.66 kB / 327.2 MB, free: 412 kB / 254.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001923/0.3374, allocations: 95.36 kB / 327.3 MB, free: 356 kB / 254.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001505/0.3376, allocations: 29.62 kB / 327.3 MB, free: 340 kB / 254.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.422e-05/0.3377, allocations: 44.19 kB / 327.3 MB, free: 312 kB / 254.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.449e-05/0.3378, allocations: 51 kB / 327.4 MB, free: 272 kB / 254.1 MB Notification: Performance of NFPackage.collectConstants: time 3.281e-05/0.3378, allocations: 5.75 kB / 327.4 MB, free: 272 kB / 254.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.492e-05/0.3378, allocations: 6.844 kB / 327.4 MB, free: 272 kB / 254.1 MB Notification: Performance of NFScalarize.scalarize: time 6.946e-05/0.3379, allocations: 20.39 kB / 327.4 MB, free: 256 kB / 254.1 MB Notification: Performance of NFVerifyModel.verify: time 7.132e-05/0.338, allocations: 45.06 kB / 327.5 MB, free: 220 kB / 254.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.3382, allocations: 81.16 kB / 327.5 MB, free: 160 kB / 254.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.3382, allocations: 3.938 kB / 327.5 MB, free: 156 kB / 254.1 MB Notification: Performance of FrontEnd: time 1.383e-06/0.3382, allocations: 1 kB / 327.5 MB, free: 156 kB / 254.1 MB Notification: Performance of Transformations before backend: time 7.985e-06/0.3382, allocations: 0 / 327.5 MB, free: 156 kB / 254.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.0006065/0.3388, allocations: 410.9 kB / 327.9 MB, free: 15.74 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.084e-05/0.3389, allocations: 14 kB / 328 MB, free: 15.73 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.554e-05/0.3389, allocations: 14.75 kB / 328 MB, free: 15.73 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002308/0.3392, allocations: 201 kB / 328.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.888e-06/0.3392, allocations: 3.875 kB / 328.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.69e-05/0.3392, allocations: 12.56 kB / 328.2 MB, free: 15.5 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001818/0.3394, allocations: 78.06 kB / 328.3 MB, free: 15.44 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.275e-06/0.3394, allocations: 0 / 328.3 MB, free: 15.44 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.3394, allocations: 1.125 kB / 328.3 MB, free: 15.44 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.3394, allocations: 5.281 kB / 328.3 MB, free: 15.43 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000114/0.3396, allocations: 46.69 kB / 328.3 MB, free: 15.41 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005288/0.3401, allocations: 400.5 kB / 328.7 MB, free: 15 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.3403, allocations: 67.97 kB / 328.8 MB, free: 14.95 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.072e-05/0.3403, allocations: 37.77 kB / 328.8 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.255e-05/0.3404, allocations: 1.188 kB / 328.8 MB, free: 14.93 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.251e-05/0.3404, allocations: 35.75 kB / 328.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3404, allocations: 0 / 328.8 MB, free: 14.88 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002439/0.3406, allocations: 100.1 kB / 328.9 MB, free: 14.82 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.464e-05/0.3407, allocations: 55.41 kB / 329 MB, free: 14.75 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.3408, allocations: 140.7 kB / 329.1 MB, free: 14.63 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.3409, allocations: 31.14 kB / 329.2 MB, free: 14.59 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.029e-05/0.3409, allocations: 108.5 kB / 329.3 MB, free: 14.49 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.748e-05/0.341, allocations: 18.61 kB / 329.3 MB, free: 14.47 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.214e-05/0.341, allocations: 22.45 kB / 329.3 MB, free: 14.45 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.3412, allocations: 316.6 kB / 329.6 MB, free: 14.13 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.461e-05/0.3413, allocations: 23.3 kB / 329.6 MB, free: 14.12 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.905e-05/0.3414, allocations: 23.3 kB / 329.7 MB, free: 14.11 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.3415, allocations: 51.58 kB / 329.7 MB, free: 14.08 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.3415, allocations: 1.219 kB / 329.7 MB, free: 14.08 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001727/0.3417, allocations: 95.48 kB / 329.8 MB, free: 14.01 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.3417, allocations: 3.969 kB / 329.8 MB, free: 14.01 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.289e-06/0.3417, allocations: 1.438 kB / 329.8 MB, free: 14.01 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.313e-05/0.3417, allocations: 0 / 329.8 MB, free: 14.01 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002209/0.342, allocations: 41.5 kB / 329.9 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.342, allocations: 0 / 329.9 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.261e-05/0.342, allocations: 1.938 kB / 329.9 MB, free: 14 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.095e-06/0.342, allocations: 5.938 kB / 329.9 MB, free: 14 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.0001169/0.3422, allocations: 114.4 kB / 330 MB, free: 13.88 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.528e-05/0.3422, allocations: 12.28 kB / 330 MB, free: 13.87 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.851e-05/0.3423, allocations: 18.45 kB / 330 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.3423, allocations: 1.344 kB / 330 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.3423, allocations: 0 / 330 MB, free: 13.85 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.3423, allocations: 4 kB / 330 MB, free: 13.84 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.3425, allocations: 201.8 kB / 330.2 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3425, allocations: 0 / 330.2 MB, free: 13.62 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001444/0.3427, allocations: 28.3 kB / 330.2 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.994e-06/0.3427, allocations: 0 / 330.2 MB, free: 13.61 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/0.3427, allocations: 5.359 kB / 330.2 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.3427, allocations: 0 / 330.2 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.3427, allocations: 1.031 kB / 330.2 MB, free: 13.6 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002826/0.343, allocations: 203.3 kB / 330.4 MB, free: 13.43 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.026e-05/0.3431, allocations: 95.09 kB / 330.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.006e-05/0.3431, allocations: 1.125 kB / 330.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.975e-05/0.3432, allocations: 2.125 kB / 330.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.364e-05/0.3432, allocations: 6.078 kB / 330.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.3432, allocations: 1.031 kB / 330.5 MB, free: 13.32 MB / 270.1 MB Notification: Performance of sorting global known variables: time 9.492e-05/0.3433, allocations: 113.7 kB / 330.7 MB, free: 13.22 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3433, allocations: 0 / 330.7 MB, free: 13.22 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002255/0.3436, allocations: 20.31 kB / 330.7 MB, free: 13.21 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.000125/0.3437, allocations: 100.3 kB / 330.8 MB, free: 13.12 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001897/0.3439, allocations: 44.8 kB / 330.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.3439, allocations: 0 / 330.8 MB, free: 13.11 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.382e-05/0.344, allocations: 29.7 kB / 330.8 MB, free: 13.09 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003851/0.3444, allocations: 22.02 kB / 330.9 MB, free: 13.08 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006631/0.345, allocations: 292.9 kB / 331.1 MB, free: 12.85 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3454, allocations: 0.7072 MB / 331.9 MB, free: 12.13 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 4.548e-05/0.3454, allocations: 8 kB / 331.9 MB, free: 12.13 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.875e-05/0.3455, allocations: 15.89 kB / 331.9 MB, free: 12.12 MB / 270.1 MB Notification: Performance of SimCode: time 2e-07/0.3455, allocations: 0 / 331.9 MB, free: 12.12 MB / 270.1 MB Notification: Performance of Templates: time 0.003614/0.3491, allocations: 0.8712 MB / 332.8 MB, free: 11.67 MB / 270.1 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)