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.001263/0.001263, allocations: 94.48 kB / 16.3 MB, free: 6.461 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.001404/0.001404, allocations: 175.3 kB / 17.19 MB, free: 6.348 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.538/1.538, allocations: 205.4 MB / 223.4 MB, free: 13.17 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.0004683/0.0004684, allocations: 16 kB / 280.1 MB, free: 3.762 MB / 222.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09777/0.09825, allocations: 47.58 MB / 327.7 MB, free: 4.117 MB / 270.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.001094/0.09938, allocations: 0.9063 MB / 328.6 MB, free: 3.199 MB / 270.1 MB Notification: Performance of NFInst.instExpressions: time 0.002406/0.1018, allocations: 1.857 MB / 330.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.674e-05/0.1018, allocations: 0 / 330.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFTyping.typeComponents: time 1.137e-05/0.1019, allocations: 0 / 330.4 MB, free: 1.332 MB / 270.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008738/0.1027, allocations: 327.1 kB / 330.8 MB, free: 1.012 MB / 270.1 MB Notification: Performance of NFTyping.typeClassSections: time 1.86e-05/0.1028, allocations: 4 kB / 330.8 MB, free: 1.008 MB / 270.1 MB Notification: Performance of NFFlatten.flatten: time 3.684e-05/0.1028, allocations: 7.984 kB / 330.8 MB, free: 1 MB / 270.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.1028, allocations: 0 / 330.8 MB, free: 1 MB / 270.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.728e-05/0.1029, allocations: 4 kB / 330.8 MB, free: 0.9961 MB / 270.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.171e-05/0.103, allocations: 7.984 kB / 330.8 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFPackage.collectConstants: time 7.604e-06/0.103, allocations: 0 / 330.8 MB, free: 0.9883 MB / 270.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005129/0.1035, allocations: 355.5 kB / 331.1 MB, free: 0.6406 MB / 270.1 MB Notification: Performance of NFScalarize.scalarize: time 1.372e-05/0.1035, allocations: 7.984 kB / 331.1 MB, free: 0.6328 MB / 270.1 MB Notification: Performance of NFVerifyModel.verify: time 2.767e-05/0.1036, allocations: 29.64 kB / 331.2 MB, free: 0.5977 MB / 270.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003088/0.1039, allocations: 219.7 kB / 331.4 MB, free: 392 kB / 270.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.265e-06/0.1039, allocations: 7.938 kB / 331.4 MB, free: 384 kB / 270.1 MB Notification: Performance of FrontEnd: time 1.552e-06/0.1039, allocations: 0 / 331.4 MB, free: 384 kB / 270.1 MB Notification: Performance of Transformations before backend: time 3.757e-06/0.1039, allocations: 0 / 331.4 MB, free: 384 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.0004078/0.1043, allocations: 395.3 kB / 331.8 MB, free: 15.94 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.025e-05/0.1044, allocations: 12.03 kB / 331.8 MB, free: 15.93 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.912e-05/0.1044, allocations: 79.19 kB / 331.9 MB, free: 15.85 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001824/0.1046, allocations: 250.5 kB / 332.1 MB, free: 15.57 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.856e-05/0.1047, allocations: 154.5 kB / 332.3 MB, free: 15.41 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.859e-05/0.1048, allocations: 158.5 kB / 332.4 MB, free: 15.26 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.208e-05/0.1048, allocations: 105 kB / 332.5 MB, free: 15.15 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.589e-05/0.1049, allocations: 75.28 kB / 332.6 MB, free: 15.07 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.213e-05/0.1049, allocations: 154.5 kB / 332.8 MB, free: 14.92 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.908e-05/0.105, allocations: 150.6 kB / 332.9 MB, free: 14.77 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.119e-05/0.1051, allocations: 162.5 kB / 333.1 MB, free: 14.61 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002718/0.1054, allocations: 445.9 kB / 333.5 MB, free: 14.13 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.861e-05/0.1054, allocations: 165.1 kB / 333.7 MB, free: 13.96 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.711e-05/0.1055, allocations: 83.23 kB / 333.7 MB, free: 13.88 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000144/0.1056, allocations: 47.41 kB / 333.8 MB, free: 13.82 MB / 286.1 MB Notification: Performance of pre-optimization done (n=1): time 1.754e-06/0.1056, allocations: 0 / 333.8 MB, free: 13.82 MB / 286.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001317/0.1058, allocations: 37.64 kB / 333.8 MB, free: 13.77 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.843e-05/0.1058, allocations: 55.39 kB / 333.9 MB, free: 13.71 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.48e-05/0.1059, allocations: 101.9 kB / 334 MB, free: 13.6 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 2.687e-05/0.1059, allocations: 25.7 kB / 334 MB, free: 13.57 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.779e-05/0.106, allocations: 80.14 kB / 334.1 MB, free: 13.48 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.106, allocations: 4.125 kB / 334.1 MB, free: 13.48 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.894e-06/0.106, allocations: 0 / 334.1 MB, free: 13.48 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001207/0.1061, allocations: 314.8 kB / 334.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.495e-06/0.1061, allocations: 4 kB / 334.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.298e-06/0.1061, allocations: 0 / 334.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.583e-05/0.1062, allocations: 4 kB / 334.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1062, allocations: 0 / 334.4 MB, free: 13.16 MB / 286.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.033e-05/0.1062, allocations: 45.5 kB / 334.4 MB, free: 13.11 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.189e-05/0.1063, allocations: 4.094 kB / 334.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.017e-06/0.1063, allocations: 4 kB / 334.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.052e-05/0.1063, allocations: 0 / 334.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.892e-05/0.1063, allocations: 0 / 334.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.198e-06/0.1063, allocations: 0 / 334.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.582e-05/0.1063, allocations: 0 / 334.4 MB, free: 13.1 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.168e-06/0.1064, allocations: 11.92 kB / 334.5 MB, free: 13.09 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.001e-05/0.1064, allocations: 105.8 kB / 334.6 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.556e-06/0.1064, allocations: 3.953 kB / 334.6 MB, free: 12.97 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.66e-05/0.1065, allocations: 11.08 kB / 334.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1065, allocations: 4 kB / 334.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.1065, allocations: 0 / 334.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.515e-06/0.1065, allocations: 0 / 334.6 MB, free: 12.95 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.1066, allocations: 153.7 kB / 334.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1067, allocations: 0 / 334.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-06/0.1067, allocations: 0 / 334.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1067, allocations: 4 kB / 334.7 MB, free: 12.75 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.1067, allocations: 3.953 kB / 334.7 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.1067, allocations: 3.938 kB / 334.7 MB, free: 12.74 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.495e-06/0.1067, allocations: 3.938 kB / 334.7 MB, free: 12.73 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.853e-05/0.1068, allocations: 65.12 kB / 334.8 MB, free: 12.65 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.067e-05/0.1068, allocations: 77.11 kB / 334.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.024e-05/0.1068, allocations: 0 / 334.9 MB, free: 12.56 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.426e-05/0.1069, allocations: 7.938 kB / 334.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.317e-05/0.1069, allocations: 4 kB / 334.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-06/0.1069, allocations: 0 / 334.9 MB, free: 12.55 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.926e-05/0.1069, allocations: 83.28 kB / 335 MB, free: 12.46 MB / 286.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1069, allocations: 4.031 kB / 335 MB, free: 12.46 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0003713/0.1073, allocations: 124 kB / 335.1 MB, free: 12.34 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 (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.000848/0.1082, allocations: 461.4 kB / 335.6 MB, free: 11.9 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 6.158e-05/0.1082, allocations: 7.938 kB / 335.6 MB, free: 11.89 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 3.396e-06/0.1082, allocations: 7.938 kB / 335.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.859e-06/0.1083, allocations: 0 / 335.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.702e-05/0.1084, allocations: 4.062 kB / 335.6 MB, free: 11.88 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002082/0.1086, allocations: 116.6 kB / 335.7 MB, free: 11.74 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002579/0.1088, allocations: 0.677 MB / 336.4 MB, free: 11.04 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 2.578e-05/0.1089, allocations: 7.984 kB / 336.4 MB, free: 11.03 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.701e-05/0.1089, allocations: 11.44 kB / 336.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of SimCode: time 1.463e-06/0.1089, allocations: 0 / 336.4 MB, free: 11.02 MB / 286.1 MB Notification: Performance of Templates: time 0.005579/0.1145, allocations: 2.738 MB / 339.1 MB, free: 8.273 MB / 286.1 MB make -j1 -f Modelica_3.2.2_Modelica.Utilities.Examples.readRealParameterModel.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: