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/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+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/Complex 3.2.1+maint.om/package.mo): time 0.001422/0.001422, allocations: 171.5 kB / 7.638 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.559/1.559, allocations: 170.7 MB / 178.7 MB, free: 15.65 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001601/0.001601, allocations: 103.5 kB / 218 MB, free: 8.41 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 1.532e-05/1.532e-05, allocations: 4 kB / 262.2 MB, free: 26.42 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07222/0.07225, allocations: 38.78 MB / 301 MB, free: 3.629 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2616/0.3339, allocations: 65.83 MB / 366.8 MB, free: 2.52 MB / 250.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001904/0.3342, allocations: 69.03 kB / 366.9 MB, free: 2.488 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005364/0.3396, allocations: 2.162 MB / 369 MB, free: 0.668 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.232e-06/0.3396, allocations: 0 / 369 MB, free: 0.668 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.119e-05/0.3396, allocations: 8 kB / 369.1 MB, free: 0.6602 MB / 250.7 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.000317/0.3399, allocations: 381.7 kB / 369.4 MB, free: 256 kB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.34, allocations: 8.031 kB / 369.4 MB, free: 248 kB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.34, allocations: 11.91 kB / 369.4 MB, free: 236 kB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002359/0.3403, allocations: 209.5 kB / 369.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.354e-06/0.3403, allocations: 0 / 369.6 MB, free: 15.99 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.754e-05/0.3403, allocations: 4 kB / 369.7 MB, free: 15.98 MB / 266.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.661e-05/0.3404, allocations: 43 kB / 369.7 MB, free: 15.95 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001113/0.3405, allocations: 60.06 kB / 369.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3406, allocations: 0.8438 kB / 369.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.13e-05/0.3406, allocations: 0 / 369.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.248e-06/0.3406, allocations: 0 / 369.8 MB, free: 15.9 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000511/0.3411, allocations: 382.9 kB / 370.1 MB, free: 15.5 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.638e-05/0.3412, allocations: 55.03 kB / 370.2 MB, free: 15.45 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.731e-05/0.3413, allocations: 23.59 kB / 370.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.129e-05/0.3413, allocations: 4 kB / 370.2 MB, free: 15.43 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.3413, allocations: 41.3 kB / 370.2 MB, free: 15.38 MB / 266.7 MB Notification: Performance of pre-optimization done (n=5): time 1.102e-06/0.3413, allocations: 4 kB / 370.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001739/0.3415, allocations: 67.02 kB / 370.3 MB, free: 15.32 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.077e-05/0.3415, allocations: 55.41 kB / 370.4 MB, free: 15.25 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.461e-05/0.3416, allocations: 125.7 kB / 370.5 MB, free: 15.12 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.329e-05/0.3417, allocations: 25.7 kB / 370.5 MB, free: 15.09 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.918e-05/0.3417, allocations: 117.5 kB / 370.6 MB, free: 14.99 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.877e-05/0.3418, allocations: 7.812 kB / 370.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.339e-06/0.3418, allocations: 0 / 370.6 MB, free: 14.98 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000105/0.3419, allocations: 329.9 kB / 371 MB, free: 14.66 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.651e-05/0.3419, allocations: 15.5 kB / 371 MB, free: 14.64 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.299e-05/0.3419, allocations: 15.12 kB / 371 MB, free: 14.64 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.383e-05/0.342, allocations: 12.11 kB / 371 MB, free: 14.63 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.363e-06/0.342, allocations: 0 / 371 MB, free: 14.63 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001079/0.3421, allocations: 72.53 kB / 371.1 MB, free: 14.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.484e-05/0.3421, allocations: 10.62 kB / 371.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.409e-06/0.3421, allocations: 240 / 371.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.3421, allocations: 0 / 371.1 MB, free: 14.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002129/0.3424, allocations: 35.97 kB / 371.1 MB, free: 14.52 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.3424, allocations: 11.97 kB / 371.1 MB, free: 14.51 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.927e-05/0.3424, allocations: 7.938 kB / 371.1 MB, free: 14.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.102e-05/0.3425, allocations: 4 kB / 371.1 MB, free: 14.5 MB / 266.7 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 () * 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 6.409e-05/0.3425, allocations: 108.7 kB / 371.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.877e-05/0.3426, allocations: 11.88 kB / 371.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.408e-05/0.3426, allocations: 15.97 kB / 371.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.3426, allocations: 0 / 371.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.357e-06/0.3426, allocations: 0 / 371.3 MB, free: 14.36 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.368e-06/0.3426, allocations: 7.984 kB / 371.3 MB, free: 14.35 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001528/0.3428, allocations: 165.2 kB / 371.4 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.3428, allocations: 3.953 kB / 371.5 MB, free: 14.16 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001403/0.3429, allocations: 35.66 kB / 371.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.343, allocations: 0 / 371.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.608e-06/0.343, allocations: 0 / 371.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.343, allocations: 0 / 371.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.343, allocations: 0 / 371.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001855/0.3432, allocations: 181.8 kB / 371.7 MB, free: 13.95 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.946e-05/0.3432, allocations: 95.98 kB / 371.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.819e-05/0.3433, allocations: 0 / 371.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.044e-05/0.3434, allocations: 4 kB / 371.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.416e-05/0.3434, allocations: 4.531 kB / 371.8 MB, free: 13.84 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.901e-06/0.3434, allocations: 4 kB / 371.8 MB, free: 13.83 MB / 266.7 MB Notification: Performance of sorting global known variables: time 6.26e-05/0.3435, allocations: 104 kB / 371.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.71e-07/0.3435, allocations: 4 kB / 371.9 MB, free: 13.74 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002149/0.3437, allocations: 16 kB / 371.9 MB, free: 13.72 MB / 266.7 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 () * 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.0001219/0.3438, allocations: 105.3 kB / 372 MB, free: 13.61 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 9.356e-05/0.3439, allocations: 33.69 kB / 372 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.3439, allocations: 0 / 372 MB, free: 13.59 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 3.238e-05/0.344, allocations: 22.55 kB / 372.1 MB, free: 13.57 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002449/0.3442, allocations: 16.28 kB / 372.1 MB, free: 13.56 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004622/0.3447, allocations: 194.6 kB / 372.3 MB, free: 13.37 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.345, allocations: 0.7041 MB / 373 MB, free: 12.64 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.325e-05/0.345, allocations: 12.17 kB / 373 MB, free: 12.62 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.944e-05/0.345, allocations: 11.44 kB / 373 MB, free: 12.61 MB / 266.7 MB Notification: Performance of SimCode: time 3.41e-07/0.345, allocations: 0 / 373 MB, free: 12.61 MB / 266.7 MB Notification: Performance of Templates: time 0.002679/0.3477, allocations: 0.7311 MB / 373.7 MB, free: 11.89 MB / 266.7 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)