Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.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.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001182/0.001182, 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.001491/0.001491, allocations: 193 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 1.507/1.507, allocations: 205.1 MB / 222.1 MB, free: 4.734 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.001092/0.001093, allocations: 47.94 kB / 278.2 MB, free: 12.69 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2548/0.2559, allocations: 46.62 MB / 324.8 MB, free: 1.938 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002349/0.2583, allocations: 1.251 MB / 326.1 MB, free: 0.9414 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.002716/0.2611, allocations: 1.983 MB / 328.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.243e-05/0.2611, allocations: 0 / 328.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.952e-05/0.2611, allocations: 0 / 328.1 MB, free: 15.4 MB / 270.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:279:3-372:24:writable] Warning: Pure function ‘Modelica.Utilities.Examples.readRealParameter‘ contains a call to impure function ‘Modelica.Utilities.Streams.readLine‘. Notification: Performance of NFTyping.typeBindings: time 0.001201/0.2624, allocations: 390.4 kB / 328.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.079e-05/0.2624, allocations: 1.125 kB / 328.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.886e-05/0.2624, allocations: 8.656 kB / 328.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.543e-05/0.2625, allocations: 2.156 kB / 328.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.114e-05/0.2625, allocations: 6.281 kB / 328.5 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001015/0.2626, allocations: 15.5 kB / 328.5 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.007e-06/0.2626, allocations: 1.406 kB / 328.5 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005752/0.2632, allocations: 427.8 kB / 328.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.2632, allocations: 9.062 kB / 328.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.2633, allocations: 6.312 kB / 328.9 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004552/0.2637, allocations: 339.5 kB / 329.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.2637, allocations: 0 / 329.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 1.042e-06/0.2637, allocations: 0 / 329.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 4.628e-06/0.2638, allocations: 0 / 329.2 MB, free: 14.74 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0004313/0.2642, allocations: 399.5 kB / 329.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.881e-05/0.2642, allocations: 9.5 kB / 329.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.478e-05/0.2643, allocations: 89.44 kB / 329.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001561/0.2645, allocations: 239.7 kB / 330 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.275e-05/0.2645, allocations: 154.9 kB / 330.1 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.774e-05/0.2646, allocations: 158.6 kB / 330.3 MB, free: 13.67 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.238e-05/0.2646, allocations: 102.1 kB / 330.4 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.491e-05/0.2647, allocations: 75.28 kB / 330.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.528e-05/0.2647, allocations: 156.1 kB / 330.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.16e-05/0.2648, allocations: 150.6 kB / 330.7 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.816e-05/0.2649, allocations: 156 kB / 330.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002546/0.2651, allocations: 443.1 kB / 331.3 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.106e-05/0.2652, allocations: 178 kB / 331.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.043e-05/0.2652, allocations: 89.17 kB / 331.6 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.408e-05/0.2653, allocations: 75.28 kB / 331.7 MB, free: 12.21 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001266/0.2654, allocations: 39.67 kB / 331.7 MB, free: 12.16 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 1.984e-06/0.2654, allocations: 0.9688 kB / 331.7 MB, free: 12.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001191/0.2655, allocations: 45.97 kB / 331.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.2656, allocations: 52.53 kB / 331.8 MB, free: 12.05 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.521e-05/0.2656, allocations: 99.97 kB / 331.9 MB, free: 11.95 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.2657, allocations: 25.7 kB / 331.9 MB, free: 11.92 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.111e-05/0.2657, allocations: 85.14 kB / 332 MB, free: 11.84 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.119e-05/0.2657, allocations: 1.375 kB / 332 MB, free: 11.84 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.423e-05/0.2658, allocations: 10.94 kB / 332 MB, free: 11.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.000116/0.2659, allocations: 312.1 kB / 332.3 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.337e-06/0.2659, allocations: 4.125 kB / 332.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.719e-06/0.2659, allocations: 1.344 kB / 332.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.619e-05/0.2659, allocations: 15.77 kB / 332.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.463e-06/0.2659, allocations: 0 / 332.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.968e-05/0.266, allocations: 43.03 kB / 332.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.221e-05/0.266, allocations: 5.281 kB / 332.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.959e-06/0.266, allocations: 0 / 332.4 MB, free: 11.45 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.069e-05/0.2661, allocations: 5.031 kB / 332.4 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.783e-05/0.2661, allocations: 4.094 kB / 332.4 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/0.2661, allocations: 1.438 kB / 332.4 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.43e-05/0.2661, allocations: 0 / 332.4 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.368e-06/0.2661, allocations: 3.938 kB / 332.4 MB, free: 11.43 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: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 6.537e-05/0.2662, allocations: 112.8 kB / 332.5 MB, free: 11.32 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.033e-05/0.2662, allocations: 3.984 kB / 332.5 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.493e-05/0.2662, allocations: 12.52 kB / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.2662, allocations: 1.375 kB / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.616e-06/0.2662, allocations: 0 / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.924e-06/0.2663, allocations: 4 kB / 332.5 MB, free: 11.29 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.2664, allocations: 152.2 kB / 332.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2664, allocations: 0 / 332.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.629e-06/0.2664, allocations: 1.375 kB / 332.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.293e-06/0.2664, allocations: 3.938 kB / 332.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.53e-06/0.2664, allocations: 1.406 kB / 332.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.2664, allocations: 0 / 332.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.2664, allocations: 0 / 332.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.256e-05/0.2665, allocations: 67.75 kB / 332.8 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.758e-05/0.2665, allocations: 77.11 kB / 332.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2665, allocations: 1.312 kB / 332.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.132e-05/0.2666, allocations: 0 / 332.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.209e-05/0.2666, allocations: 1.094 kB / 332.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.114e-06/0.2666, allocations: 1.125 kB / 332.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of sorting global known variables: time 3.696e-05/0.2666, allocations: 82.59 kB / 332.9 MB, free: 10.84 MB / 270.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.2666, allocations: 1.156 kB / 332.9 MB, free: 10.84 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.000409/0.267, allocations: 130.4 kB / 333 MB, free: 10.8 MB / 270.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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.0009345/0.268, allocations: 480.4 kB / 333.5 MB, free: 10.5 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 7.156e-05/0.2681, allocations: 16.11 kB / 333.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.2681, allocations: 0 / 333.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 5.711e-06/0.2681, allocations: 5.188 kB / 333.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001333/0.2682, allocations: 6.562 kB / 333.5 MB, free: 10.48 MB / 270.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000215/0.2684, allocations: 109.9 kB / 333.6 MB, free: 10.36 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000212/0.2687, allocations: 0.6755 MB / 334.3 MB, free: 9.664 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 2.575e-05/0.2687, allocations: 12.2 kB / 334.3 MB, free: 9.656 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.2687, allocations: 11.47 kB / 334.3 MB, free: 9.648 MB / 270.1 MB Notification: Performance of SimCode: time 2.1e-07/0.2687, allocations: 1.375 kB / 334.3 MB, free: 9.648 MB / 270.1 MB Notification: Performance of Templates: time 0.005639/0.2744, allocations: 2.76 MB / 337.1 MB, free: 7.426 MB / 270.1 MB make -j1 -f Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.1_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1)