Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.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.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") translateModel(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001282/0.001282, allocations: 91.84 kB / 16.3 MB, free: 5.996 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.0009847/0.0009846, allocations: 182.6 kB / 17.2 MB, free: 5.91 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.339/1.339, allocations: 205.4 MB / 223.4 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.0004439/0.000444, allocations: 8 kB / 280.1 MB, free: 12.86 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2242/0.2246, allocations: 47.59 MB / 327.7 MB, free: 1.426 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.ReferenceAir.Inverse_sh_T): time 0.001284/0.226, allocations: 1.039 MB / 328.7 MB, free: 0.5898 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.0122/0.2382, allocations: 10.13 MB / 338.9 MB, free: 8.336 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.224e-05/0.2383, allocations: 4 kB / 338.9 MB, free: 8.332 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 3.179e-05/0.2383, allocations: 3.984 kB / 338.9 MB, free: 8.328 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003216/0.2416, allocations: 0.8373 MB / 339.7 MB, free: 7.488 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.2431, allocations: 0.4946 MB / 340.2 MB, free: 6.992 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 8.67e-05/0.2432, allocations: 43.92 kB / 340.2 MB, free: 6.949 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.2433, allocations: 0 / 340.2 MB, free: 6.949 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.89e-05/0.2433, allocations: 27.92 kB / 340.3 MB, free: 6.922 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.805e-05/0.2434, allocations: 35.89 kB / 340.3 MB, free: 6.887 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.43e-05/0.2434, allocations: 4 kB / 340.3 MB, free: 6.883 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003018/0.2465, allocations: 1.502 MB / 341.8 MB, free: 5.379 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.956e-05/0.2465, allocations: 15.92 kB / 341.8 MB, free: 5.363 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.418e-05/0.2465, allocations: 29.7 kB / 341.9 MB, free: 5.328 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001046/0.2476, allocations: 0.6679 MB / 342.5 MB, free: 4.66 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.836e-06/0.2476, allocations: 0 / 342.5 MB, free: 4.66 MB / 270.1 MB Notification: Performance of FrontEnd: time 2.124e-06/0.2476, allocations: 4 kB / 342.5 MB, free: 4.656 MB / 270.1 MB Notification: Performance of Transformations before backend: time 3.837e-06/0.2476, allocations: 4 kB / 342.5 MB, free: 4.652 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0006439/0.2483, allocations: 0.5261 MB / 343.1 MB, free: 4.078 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.115e-05/0.2483, allocations: 11.97 kB / 343.1 MB, free: 4.066 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001582/0.2485, allocations: 11.91 kB / 343.1 MB, free: 4.055 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/0.2487, allocations: 179 kB / 343.3 MB, free: 3.84 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.832e-05/0.2487, allocations: 7.938 kB / 343.3 MB, free: 3.832 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.904e-05/0.2488, allocations: 3.984 kB / 343.3 MB, free: 3.828 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002317/0.249, allocations: 67.39 kB / 343.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.249, allocations: 0 / 343.3 MB, free: 3.75 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.903e-05/0.2491, allocations: 4 kB / 343.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.454e-05/0.2491, allocations: 0 / 343.3 MB, free: 3.746 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001586/0.2492, allocations: 23.91 kB / 343.4 MB, free: 3.723 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002921/0.2495, allocations: 174.6 kB / 343.5 MB, free: 3.5 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00029/0.2498, allocations: 81.28 kB / 343.6 MB, free: 3.402 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006434/0.2563, allocations: 3.278 MB / 346.9 MB, free: 15.68 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.179e-05/0.2563, allocations: 34.56 kB / 346.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of pre-optimization done (n=6): time 1.703e-06/0.2564, allocations: 0 / 346.9 MB, free: 15.64 MB / 286.1 MB Notification: Performance of matching and sorting (n=6): time 0.0003244/0.2567, allocations: 81.52 kB / 347 MB, free: 15.55 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.836e-05/0.2567, allocations: 81.11 kB / 347.1 MB, free: 15.45 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.519e-05/0.2568, allocations: 117.8 kB / 347.2 MB, free: 15.33 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.878e-05/0.2569, allocations: 25.7 kB / 347.2 MB, free: 15.3 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.833e-05/0.2569, allocations: 84.14 kB / 347.3 MB, free: 15.21 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.293e-05/0.257, allocations: 23.66 kB / 347.3 MB, free: 15.19 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-06/0.257, allocations: 4 kB / 347.3 MB, free: 15.18 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001166/0.2571, allocations: 314.8 kB / 347.6 MB, free: 14.87 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.897e-05/0.2572, allocations: 8 kB / 347.7 MB, free: 14.86 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.329e-05/0.2572, allocations: 25.7 kB / 347.7 MB, free: 14.83 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.21e-05/0.2573, allocations: 12 kB / 347.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.2573, allocations: 0 / 347.7 MB, free: 14.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001608/0.2575, allocations: 77.56 kB / 347.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2575, allocations: 4 kB / 347.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.003e-06/0.2575, allocations: 4 kB / 347.8 MB, free: 14.73 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.2575, allocations: 3.938 kB / 347.8 MB, free: 14.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.2576, allocations: 11.98 kB / 347.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.662e-06/0.2576, allocations: 0 / 347.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.27e-05/0.2577, allocations: 4.469 kB / 347.8 MB, free: 14.71 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.222e-05/0.2577, allocations: 3.938 kB / 347.8 MB, free: 14.7 MB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (6): * Single equations (assignments): 6 * 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 8.383e-05/0.2578, allocations: 121.8 kB / 347.9 MB, free: 14.57 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.764e-05/0.2578, allocations: 11.86 kB / 347.9 MB, free: 14.56 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.258, allocations: 101.8 kB / 348 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.33e-06/0.2581, allocations: 4 kB / 348 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.2581, allocations: 0 / 348 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.2581, allocations: 0 / 348 MB, free: 14.46 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001407/0.2582, allocations: 177.5 kB / 348.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.2582, allocations: 3.938 kB / 348.2 MB, free: 14.23 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.732e-05/0.2583, allocations: 16.06 kB / 348.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.928e-06/0.2583, allocations: 3.953 kB / 348.2 MB, free: 14.21 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.264e-05/0.2583, allocations: 7.984 kB / 348.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.126e-06/0.2583, allocations: 4 kB / 348.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.2583, allocations: 0 / 348.2 MB, free: 14.2 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001885/0.2585, allocations: 103.7 kB / 348.3 MB, free: 14.07 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.899e-05/0.2586, allocations: 100.9 kB / 348.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.704e-05/0.2586, allocations: 0 / 348.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.2587, allocations: 8 kB / 348.4 MB, free: 13.95 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.472e-05/0.2588, allocations: 7.984 kB / 348.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.845e-06/0.2588, allocations: 0 / 348.5 MB, free: 13.94 MB / 286.1 MB Notification: Performance of sorting global known variables: time 6.181e-05/0.2588, allocations: 99.25 kB / 348.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.673e-06/0.2589, allocations: 0 / 348.6 MB, free: 13.84 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0008317/0.2597, allocations: 323.6 kB / 348.9 MB, free: 13.52 MB / 286.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 simulation (6): * Single equations (assignments): 6 * 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.001131/0.2608, allocations: 0.561 MB / 349.4 MB, free: 12.95 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001832/0.261, allocations: 31.98 kB / 349.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.261, allocations: 0 / 349.5 MB, free: 12.92 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 6.035e-05/0.2611, allocations: 23.92 kB / 349.5 MB, free: 12.89 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001787/0.2613, allocations: 15.98 kB / 349.5 MB, free: 12.88 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004028/0.2617, allocations: 189.2 kB / 349.7 MB, free: 12.67 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002714/0.262, allocations: 0.6888 MB / 350.4 MB, free: 11.95 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 0.0001082/0.2621, allocations: 40.34 kB / 350.4 MB, free: 11.91 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.204e-05/0.2622, allocations: 31.36 kB / 350.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of SimCode: time 2.7e-07/0.2622, allocations: 0 / 350.4 MB, free: 11.88 MB / 286.1 MB Notification: Performance of Templates: time 0.013/0.2752, allocations: 8.771 MB / 359.2 MB, free: 3.098 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.makefile Environment - environmentSimulation: (rm -f Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; mkfifo Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe >> ../files/Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.sim & ./Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Media.Examples.ReferenceAir.Inverse_sh_T.pipe 2>&1) Environment - environmentSimulation: