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.00102/0.00102, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001187/0.001187, allocations: 177.3 kB / 15.94 MB, free: 228 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.522/1.522, allocations: 205.4 MB / 222.1 MB, free: 5.539 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.0005255/0.0005256, allocations: 8 kB / 278.8 MB, free: 12.74 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.303/0.3035, allocations: 47.59 MB / 326.4 MB, free: 1.473 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.InverseModel): time 0.002044/0.3056, allocations: 1.361 MB / 327.8 MB, free: 404 kB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009081/0.3065, allocations: 0.4945 MB / 328.3 MB, free: 8 kB / 254.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001335/0.3067, allocations: 1.969 kB / 328.3 MB, free: 8 kB / 254.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001269/0.3068, allocations: 12 kB / 328.3 MB, free: 15.99 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002148/0.3071, allocations: 23.62 kB / 328.3 MB, free: 15.98 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002253/0.3073, allocations: 33.25 kB / 328.4 MB, free: 15.95 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001761/0.3075, allocations: 69.06 kB / 328.4 MB, free: 15.91 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001274/0.3076, allocations: 24.3 kB / 328.4 MB, free: 15.89 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001058/0.3077, allocations: 32.81 kB / 328.5 MB, free: 15.88 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.193e-05/0.3078, allocations: 38.97 kB / 328.5 MB, free: 15.85 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 2.111e-05/0.3079, allocations: 6.469 kB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.02e-05/0.3079, allocations: 2.531 kB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 5.303e-05/0.3079, allocations: 11.59 kB / 328.5 MB, free: 15.84 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 5.011e-05/0.308, allocations: 42.7 kB / 328.6 MB, free: 15.79 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001113/0.3081, allocations: 52.42 kB / 328.6 MB, free: 15.76 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.3081, allocations: 0 / 328.6 MB, free: 15.76 MB / 270.1 MB Notification: Performance of FrontEnd: time 4.138e-06/0.3081, allocations: 0 / 328.6 MB, free: 15.76 MB / 270.1 MB Notification: Performance of Transformations before backend: time 6.833e-06/0.3082, allocations: 8.719 kB / 328.6 MB, free: 15.75 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.0006343/0.3088, allocations: 396.7 kB / 329 MB, free: 15.35 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.84e-05/0.3089, allocations: 9.875 kB / 329 MB, free: 15.35 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.51e-05/0.3089, allocations: 12.97 kB / 329.1 MB, free: 15.34 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002823/0.3092, allocations: 196.8 kB / 329.2 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.234e-05/0.3092, allocations: 6.125 kB / 329.2 MB, free: 15.12 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.289e-05/0.3093, allocations: 13.5 kB / 329.3 MB, free: 15.11 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002438/0.3095, allocations: 78.22 kB / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.096e-05/0.3096, allocations: 4.969 kB / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.3096, allocations: 0 / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.3096, allocations: 2.719 kB / 329.3 MB, free: 15.05 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001609/0.3098, allocations: 46.59 kB / 329.4 MB, free: 15.03 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008498/0.3106, allocations: 405.7 kB / 329.8 MB, free: 14.62 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000171/0.3108, allocations: 65.02 kB / 329.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.74e-05/0.3109, allocations: 4.969 kB / 329.9 MB, free: 14.57 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.193e-05/0.3109, allocations: 35.34 kB / 329.9 MB, free: 14.52 MB / 270.1 MB Notification: Performance of pre-optimization done (n=5): time 1.493e-06/0.3109, allocations: 0 / 329.9 MB, free: 14.52 MB / 270.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003961/0.3113, allocations: 104.7 kB / 330 MB, free: 14.46 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.806e-05/0.3114, allocations: 52.44 kB / 330 MB, free: 14.39 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001667/0.3116, allocations: 140.5 kB / 330.2 MB, free: 14.27 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.829e-05/0.3116, allocations: 30.83 kB / 330.2 MB, free: 14.24 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.9e-05/0.3117, allocations: 110 kB / 330.3 MB, free: 14.13 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.375e-05/0.3117, allocations: 26.25 kB / 330.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.3117, allocations: 0 / 330.3 MB, free: 14.11 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000147/0.3119, allocations: 321.6 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.871e-05/0.312, allocations: 15.34 kB / 330.7 MB, free: 13.79 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.284e-05/0.312, allocations: 25.52 kB / 330.7 MB, free: 13.77 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.384e-05/0.3121, allocations: 33.33 kB / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3121, allocations: 0 / 330.7 MB, free: 13.75 MB / 270.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002105/0.3123, allocations: 83.12 kB / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.934e-05/0.3124, allocations: 4.344 kB / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3124, allocations: 1.031 kB / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.3124, allocations: 0 / 330.8 MB, free: 13.7 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002523/0.3127, allocations: 41.78 kB / 330.9 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.174e-05/0.3127, allocations: 5.219 kB / 330.9 MB, free: 13.69 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.371e-05/0.3128, allocations: 15.27 kB / 330.9 MB, free: 13.68 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.013e-05/0.3128, allocations: 1.094 kB / 330.9 MB, free: 13.68 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.0001204/0.3129, allocations: 118.1 kB / 331 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.3129, allocations: 7.781 kB / 331 MB, free: 13.55 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.873e-05/0.313, allocations: 11.44 kB / 331 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.313, allocations: 1 kB / 331 MB, free: 13.54 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.662e-06/0.313, allocations: 3.984 kB / 331 MB, free: 13.53 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.751e-06/0.313, allocations: 9.016 kB / 331 MB, free: 13.52 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002512/0.3133, allocations: 200.8 kB / 331.2 MB, free: 13.3 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.3133, allocations: 4.188 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.3134, allocations: 21.64 kB / 331.2 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.3135, allocations: 4 kB / 331.3 MB, free: 13.29 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.432e-05/0.3135, allocations: 5.25 kB / 331.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.538e-06/0.3135, allocations: 5.141 kB / 331.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.803e-06/0.3135, allocations: 0 / 331.3 MB, free: 13.28 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003581/0.3139, allocations: 207.8 kB / 331.5 MB, free: 13.11 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.619e-05/0.3139, allocations: 83.83 kB / 331.5 MB, free: 13.01 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.694e-05/0.314, allocations: 9.344 kB / 331.6 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.584e-05/0.3141, allocations: 6.859 kB / 331.6 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.144e-05/0.3141, allocations: 2.562 kB / 331.6 MB, free: 13 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.652e-06/0.3141, allocations: 1.438 kB / 331.6 MB, free: 13 MB / 270.1 MB Notification: Performance of sorting global known variables: time 8.91e-05/0.3142, allocations: 112.2 kB / 331.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of sort global known variables: time 2e-07/0.3142, allocations: 1.438 kB / 331.7 MB, free: 12.9 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0002369/0.3145, allocations: 14.75 kB / 331.7 MB, free: 12.9 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.0001189/0.3146, allocations: 96.89 kB / 331.8 MB, free: 12.81 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001812/0.3148, allocations: 54.98 kB / 331.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.3148, allocations: 1.219 kB / 331.8 MB, free: 12.79 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 6.854e-05/0.3149, allocations: 30.64 kB / 331.9 MB, free: 12.77 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002881/0.3152, allocations: 18.08 kB / 331.9 MB, free: 12.76 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007355/0.3159, allocations: 295.5 kB / 332.2 MB, free: 12.53 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/0.3163, allocations: 0.7096 MB / 332.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 5.735e-05/0.3164, allocations: 7.125 kB / 332.9 MB, free: 11.81 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.686e-05/0.3164, allocations: 15.22 kB / 332.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of SimCode: time 1.863e-06/0.3165, allocations: 0 / 332.9 MB, free: 11.8 MB / 270.1 MB Notification: Performance of Templates: time 0.003891/0.3204, allocations: 0.7978 MB / 333.7 MB, free: 11.38 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Blocks.Examples.InverseModel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: