Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.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.1_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.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.001235/0.001235, 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.001592/0.001592, allocations: 186.7 kB / 16.25 MB, free: 6.633 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.594/1.594, allocations: 205.1 MB / 222.1 MB, free: 4.727 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.001371/0.001371, allocations: 47.94 kB / 278.2 MB, free: 12.68 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3451/0.3465, allocations: 46.62 MB / 324.8 MB, free: 1.93 MB / 254.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002417/0.3489, allocations: 1.251 MB / 326.1 MB, free: 0.9336 MB / 254.1 MB Notification: Performance of NFInst.instExpressions: time 0.003166/0.3521, allocations: 1.978 MB / 328.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.709e-05/0.3522, allocations: 1.094 kB / 328.1 MB, free: 15.4 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.058e-05/0.3522, allocations: 4 kB / 328.1 MB, free: 15.39 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.001188/0.3534, allocations: 386.1 kB / 328.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.642e-05/0.3534, allocations: 5.047 kB / 328.4 MB, free: 15.18 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.757e-05/0.3535, allocations: 8.469 kB / 328.5 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.603e-05/0.3535, allocations: 2.031 kB / 328.5 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.415e-05/0.3536, allocations: 6.578 kB / 328.5 MB, free: 15.17 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001059/0.3537, allocations: 8.062 kB / 328.5 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.3537, allocations: 0 / 328.5 MB, free: 15.16 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007852/0.3545, allocations: 432.4 kB / 328.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.3545, allocations: 5.062 kB / 328.9 MB, free: 14.95 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 3.927e-05/0.3546, allocations: 6.469 kB / 328.9 MB, free: 14.94 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007696/0.3554, allocations: 338.9 kB / 329.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.003e-05/0.3554, allocations: 1.062 kB / 329.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of FrontEnd: time 3.837e-06/0.3554, allocations: 0 / 329.2 MB, free: 14.74 MB / 270.1 MB Notification: Performance of Transformations before backend: time 1.919e-05/0.3554, 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.0007654/0.3562, allocations: 399.9 kB / 329.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 7.189e-05/0.3563, allocations: 9.156 kB / 329.6 MB, free: 14.34 MB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001155/0.3564, allocations: 84.11 kB / 329.7 MB, free: 14.25 MB / 270.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003069/0.3567, allocations: 247.6 kB / 330 MB, free: 13.98 MB / 270.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.605e-05/0.3568, allocations: 152.2 kB / 330.1 MB, free: 13.83 MB / 270.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.473e-05/0.3569, allocations: 154.7 kB / 330.3 MB, free: 13.68 MB / 270.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001132/0.357, allocations: 106.2 kB / 330.4 MB, free: 13.57 MB / 270.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.291e-05/0.3571, allocations: 75.28 kB / 330.4 MB, free: 13.49 MB / 270.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.326e-05/0.3572, allocations: 156 kB / 330.6 MB, free: 13.34 MB / 270.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.103e-05/0.3573, allocations: 154.6 kB / 330.7 MB, free: 13.19 MB / 270.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.269e-05/0.3574, allocations: 150.6 kB / 330.9 MB, free: 13.04 MB / 270.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005066/0.3579, allocations: 444.2 kB / 331.3 MB, free: 12.56 MB / 270.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001555/0.358, allocations: 171.3 kB / 331.5 MB, free: 12.38 MB / 270.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.607e-05/0.3581, allocations: 88.08 kB / 331.6 MB, free: 12.29 MB / 270.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.02e-05/0.3582, allocations: 75.28 kB / 331.7 MB, free: 12.22 MB / 270.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002465/0.3584, allocations: 47.44 kB / 331.7 MB, free: 12.16 MB / 270.1 MB Notification: Performance of pre-optimization done (n=1): time 3.106e-06/0.3584, allocations: 1.531 kB / 331.7 MB, free: 12.16 MB / 270.1 MB Notification: Performance of matching and sorting (n=1): time 0.000208/0.3587, allocations: 37.41 kB / 331.7 MB, free: 12.12 MB / 270.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.081e-05/0.3587, allocations: 56.81 kB / 331.8 MB, free: 12.06 MB / 270.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.3588, allocations: 99.39 kB / 331.9 MB, free: 11.96 MB / 270.1 MB Notification: Performance of collectPreVariables (initialization): time 1.813e-05/0.3589, allocations: 27.2 kB / 331.9 MB, free: 11.93 MB / 270.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.485e-05/0.3589, allocations: 80.14 kB / 332 MB, free: 11.84 MB / 270.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.784e-05/0.3589, allocations: 1.312 kB / 332 MB, free: 11.84 MB / 270.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.561e-05/0.359, allocations: 19.08 kB / 332 MB, free: 11.82 MB / 270.1 MB Notification: Performance of setup shared object (initialization): time 0.0001609/0.3592, allocations: 312.1 kB / 332.3 MB, free: 11.51 MB / 270.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.289e-05/0.3592, allocations: 4 kB / 332.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.46e-06/0.3592, allocations: 5.406 kB / 332.3 MB, free: 11.5 MB / 270.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.028e-05/0.3592, allocations: 11.64 kB / 332.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3592, allocations: 0 / 332.3 MB, free: 11.49 MB / 270.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.591e-05/0.3593, allocations: 46.77 kB / 332.4 MB, free: 11.44 MB / 270.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.937e-05/0.3593, allocations: 9.484 kB / 332.4 MB, free: 11.44 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.169e-06/0.3594, allocations: 3.938 kB / 332.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.404e-05/0.3594, allocations: 1.125 kB / 332.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.177e-05/0.3594, allocations: 0 / 332.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.3594, allocations: 1.188 kB / 332.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.741e-05/0.3595, allocations: 4.094 kB / 332.4 MB, free: 11.43 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.376e-06/0.3595, allocations: 0 / 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 0.0001203/0.3596, allocations: 112.2 kB / 332.5 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.3596, allocations: 1.156 kB / 332.5 MB, free: 11.31 MB / 270.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.132e-05/0.3597, allocations: 8.172 kB / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.3597, allocations: 1 kB / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-05/0.3597, allocations: 3.984 kB / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3597, allocations: 0 / 332.5 MB, free: 11.3 MB / 270.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000193/0.3599, allocations: 153 kB / 332.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.3599, allocations: 4 kB / 332.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.056e-06/0.3599, allocations: 0 / 332.7 MB, free: 11.1 MB / 270.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.927e-06/0.3599, allocations: 5.141 kB / 332.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.36, allocations: 0 / 332.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.344e-06/0.36, allocations: 1.156 kB / 332.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.557e-06/0.36, allocations: 0 / 332.7 MB, free: 11.09 MB / 270.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001002/0.3601, allocations: 63.45 kB / 332.7 MB, free: 11.02 MB / 270.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.146e-05/0.3602, allocations: 77.11 kB / 332.8 MB, free: 10.93 MB / 270.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/0.3602, allocations: 9.234 kB / 332.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.41e-05/0.3602, allocations: 1.188 kB / 332.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.668e-05/0.3602, allocations: 0 / 332.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3602, allocations: 0.9688 kB / 332.8 MB, free: 10.92 MB / 270.1 MB Notification: Performance of sorting global known variables: time 6.122e-05/0.3603, allocations: 79.59 kB / 332.9 MB, free: 10.84 MB / 270.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3603, allocations: 0 / 332.9 MB, free: 10.84 MB / 270.1 MB Notification: Performance of remove unused functions: time 0.0005653/0.3609, allocations: 135.2 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.001285/0.3622, allocations: 479.7 kB / 333.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of simCode: created initialization part: time 0.0001249/0.3623, allocations: 8.219 kB / 333.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of simCode: created event and clocks part: time 3.516e-06/0.3623, allocations: 0 / 333.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of simCode: created simulation system equations: time 9.437e-06/0.3623, allocations: 2.25 kB / 333.5 MB, free: 10.49 MB / 270.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001799/0.3625, allocations: 13.11 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.0003399/0.3629, allocations: 98.53 kB / 333.6 MB, free: 10.38 MB / 270.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003619/0.3632, allocations: 0.6828 MB / 334.3 MB, free: 9.668 MB / 270.1 MB Notification: Performance of simCode: alias equations: time 3.247e-05/0.3633, allocations: 9.547 kB / 334.3 MB, free: 9.664 MB / 270.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.492e-05/0.3633, allocations: 10.75 kB / 334.3 MB, free: 9.656 MB / 270.1 MB Notification: Performance of SimCode: time 1.493e-06/0.3633, allocations: 1.062 kB / 334.3 MB, free: 9.656 MB / 270.1 MB Notification: Performance of Templates: time 0.007409/0.3707, allocations: 2.774 MB / 337.1 MB, free: 7.426 MB / 270.1 MB make -j1 -f Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.1_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1)