Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_3.2.2_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.2_Modelica.Utilities.Examples.readRealParameterModel") translateModel(Modelica.Utilities.Examples.readRealParameterModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_3.2.2_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.001305/0.001306, allocations: 101.2 kB / 16.51 MB, free: 6.695 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.001411/0.001411, allocations: 193.2 kB / 17.42 MB, free: 6.09 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.605/1.605, allocations: 205.1 MB / 223.3 MB, free: 12.45 MB / 190.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.001224/0.001225, allocations: 47.94 kB / 279.3 MB, free: 3.617 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1159/0.1172, allocations: 46.64 MB / 325.9 MB, free: 4.914 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002617/0.1199, allocations: 1.25 MB / 327.2 MB, free: 3.648 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.003369/0.1233, allocations: 2.045 MB / 329.2 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.836e-05/0.1233, allocations: 0 / 329.2 MB, free: 1.59 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 2.301e-05/0.1233, allocations: 4 kB / 329.2 MB, free: 1.586 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.001027/0.1244, allocations: 319.2 kB / 329.6 MB, free: 1.273 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.437e-05/0.1244, allocations: 7.984 kB / 329.6 MB, free: 1.266 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 4.233e-05/0.1245, allocations: 11.94 kB / 329.6 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.83e-05/0.1245, allocations: 0 / 329.6 MB, free: 1.254 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.445e-05/0.1245, allocations: 7.984 kB / 329.6 MB, free: 1.246 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000111/0.1247, allocations: 7.938 kB / 329.6 MB, free: 1.238 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 9.338e-06/0.1247, allocations: 7.938 kB / 329.6 MB, free: 1.23 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0006005/0.1253, allocations: 427.5 kB / 330 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.241e-05/0.1253, allocations: 0 / 330 MB, free: 0.8125 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.43e-05/0.1253, allocations: 8 kB / 330 MB, free: 0.8047 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004674/0.1258, allocations: 343.3 kB / 330.4 MB, free: 480 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1258, allocations: 0 / 330.4 MB, free: 480 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.253e-06/0.1258, allocations: 0 / 330.4 MB, free: 480 kB / 270.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.1258, allocations: 0 / 330.4 MB, free: 480 kB / 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.00045/0.1263, allocations: 403.4 kB / 330.8 MB, free: 28 kB / 270.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.4e-05/0.1263, allocations: 12.02 kB / 330.8 MB, free: 16 kB / 270.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.409e-05/0.1264, allocations: 84.22 kB / 330.9 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001681/0.1266, allocations: 239.9 kB / 331.1 MB, free: 15.66 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.906e-05/0.1267, allocations: 150.9 kB / 331.2 MB, free: 15.51 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.326e-05/0.1267, allocations: 154.7 kB / 331.4 MB, free: 15.36 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.084e-05/0.1268, allocations: 112.9 kB / 331.5 MB, free: 15.24 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.1268, allocations: 75.28 kB / 331.6 MB, free: 15.17 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.1269, allocations: 158.5 kB / 331.7 MB, free: 15.01 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.251e-05/0.127, allocations: 150.6 kB / 331.9 MB, free: 14.86 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.189e-05/0.127, allocations: 150.6 kB / 332 MB, free: 14.71 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002766/0.1273, allocations: 446 kB / 332.5 MB, free: 14.23 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.246e-05/0.1274, allocations: 177.1 kB / 332.6 MB, free: 14.05 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.019e-05/0.1274, allocations: 84.08 kB / 332.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.877e-05/0.1275, allocations: 79.27 kB / 332.8 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001724/0.1276, allocations: 39.42 kB / 332.8 MB, free: 13.83 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 2.044e-06/0.1277, allocations: 0 / 332.8 MB, free: 13.83 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.1278, allocations: 49.62 kB / 332.9 MB, free: 13.78 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.907e-05/0.1279, allocations: 51.41 kB / 332.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.729e-05/0.1279, allocations: 97.86 kB / 333 MB, free: 13.61 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.128, allocations: 25.7 kB / 333 MB, free: 13.58 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.106e-05/0.128, allocations: 84.14 kB / 333.1 MB, free: 13.49 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.128, allocations: 3.906 kB / 333.1 MB, free: 13.49 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.642e-05/0.1281, allocations: 13.7 kB / 333.1 MB, free: 13.47 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000109/0.1282, allocations: 315 kB / 333.4 MB, free: 13.15 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.796e-06/0.1282, allocations: 8 kB / 333.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.402e-06/0.1282, allocations: 0 / 333.5 MB, free: 13.14 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.194e-05/0.1282, allocations: 12.8 kB / 333.5 MB, free: 13.13 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1282, allocations: 0 / 333.5 MB, free: 13.13 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.372e-05/0.1283, allocations: 37.58 kB / 333.5 MB, free: 13.09 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.92e-05/0.1283, allocations: 7.984 kB / 333.5 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.1283, allocations: 0 / 333.5 MB, free: 13.08 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.1284, allocations: 4 kB / 333.5 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.151e-05/0.1284, allocations: 4.094 kB / 333.5 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.1284, allocations: 3.938 kB / 333.5 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.499e-05/0.1284, allocations: 0 / 333.5 MB, free: 13.07 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.1284, allocations: 0 / 333.5 MB, free: 13.07 MB / 286.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 7.146e-05/0.1285, allocations: 113.8 kB / 333.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.076e-05/0.1285, allocations: 4 kB / 333.6 MB, free: 12.94 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.668e-05/0.1285, allocations: 7.078 kB / 333.6 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.837e-06/0.1286, allocations: 3.984 kB / 333.7 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.427e-06/0.1286, allocations: 0 / 333.7 MB, free: 12.93 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.1286, allocations: 4 kB / 333.7 MB, free: 12.92 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001151/0.1287, allocations: 149.6 kB / 333.8 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.355e-06/0.1287, allocations: 4 kB / 333.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.6e-06/0.1287, allocations: 3.984 kB / 333.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1287, allocations: 192 / 333.8 MB, free: 12.72 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.316e-06/0.1287, allocations: 4 kB / 333.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.12e-07/0.1287, allocations: 4 kB / 333.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1287, allocations: 0 / 333.8 MB, free: 12.71 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.103e-05/0.1288, allocations: 65 kB / 333.9 MB, free: 12.63 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.627e-05/0.1289, allocations: 77.11 kB / 334 MB, free: 12.54 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.603e-05/0.1289, allocations: 7.984 kB / 334 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.18e-05/0.1289, allocations: 0 / 334 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.758e-06/0.1289, allocations: 0 / 334 MB, free: 12.53 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.623e-06/0.1289, allocations: 0 / 334 MB, free: 12.53 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.979e-05/0.129, allocations: 83.28 kB / 334 MB, free: 12.45 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.129, allocations: 0 / 334 MB, free: 12.45 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0004226/0.1294, allocations: 131.9 kB / 334.2 MB, free: 12.32 MB / 286.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.0009769/0.1304, allocations: 466.8 kB / 334.6 MB, free: 11.87 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 7.169e-05/0.1305, allocations: 7.938 kB / 334.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.1305, allocations: 3.938 kB / 334.6 MB, free: 11.86 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 7.264e-06/0.1305, allocations: 4 kB / 334.6 MB, free: 11.85 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001431/0.1306, allocations: 7.922 kB / 334.7 MB, free: 11.84 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002751/0.1309, allocations: 112.5 kB / 334.8 MB, free: 11.71 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002974/0.1312, allocations: 0.6731 MB / 335.4 MB, free: 11.01 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.911e-05/0.1313, allocations: 7.984 kB / 335.4 MB, free: 11 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.679e-05/0.1313, allocations: 11.44 kB / 335.5 MB, free: 10.99 MB / 286.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1313, allocations: 4 kB / 335.5 MB, free: 10.99 MB / 286.1 MB Notification: Performance of Templates: time 0.006293/0.1376, allocations: 2.758 MB / 338.2 MB, free: 8.227 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.makefile (rm -f Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe ; mkfifo Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe ; head -c 1048576 < Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe >> ../files/Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.sim & ./Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel -abortSlowSimulation -alarm=480 -lv LOG_STATS > Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.pipe 2>&1)