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.007386/0.007386, allocations: 104.7 kB / 15.74 MB, free: 6.484 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.001801/0.001801, allocations: 193.5 kB / 16.67 MB, free: 6.375 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.486/1.486, allocations: 205.1 MB / 222.6 MB, free: 4.512 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.001373/0.001373, allocations: 51.17 kB / 326.5 MB, free: 14.43 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1055, allocations: 46.62 MB / 373.1 MB, free: 1.336 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Utilities.Examples.readRealParameterModel): time 0.002332/0.1078, allocations: 1.186 MB / 374.3 MB, free: 144 kB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.111, allocations: 1.994 MB / 376.3 MB, free: 14.13 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.783e-05/0.111, allocations: 4 kB / 376.3 MB, free: 14.12 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.1111, allocations: 0 / 376.3 MB, free: 14.12 MB / 318.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:1211:5-1277:25:writable] Warning: Pure function 'Modelica.Utilities.Strings.Advanced.skipLineComments' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:497:3-636:16:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanToken' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipLineComments'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:965:3-1021:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.syntaxError' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:846:3-933:20:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanDelimiter' contains a call to impure function 'Modelica.Utilities.Strings.length'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:100:3-167:14:writable] Warning: Pure function 'Modelica.Utilities.Examples.expression.primary' contains a call to impure function 'Modelica.Utilities.Strings.scanToken'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:74:3-98:11:writable] Warning: Pure function 'Modelica.Utilities.Examples.expression.term' contains a call to impure function 'Modelica.Utilities.Examples.expression.primary'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Examples.mo:57:3-277:17:writable] Warning: Pure function 'Modelica.Utilities.Examples.expression' contains a call to impure function 'Modelica.Utilities.Strings.scanDelimiter'. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:935:3-963:18:writable] Warning: Pure function 'Modelica.Utilities.Strings.scanNoToken' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipLineComments'. [/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.001536/0.1126, allocations: 450.6 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 2.961e-05/0.1127, allocations: 3.938 kB / 376.8 MB, free: 13.68 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 4.94e-05/0.1127, allocations: 8 kB / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.348e-05/0.1128, allocations: 0 / 376.8 MB, free: 13.67 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.055e-05/0.1128, allocations: 23.84 kB / 376.8 MB, free: 13.65 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001048/0.1129, allocations: 4 kB / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 1.014e-05/0.1129, allocations: 0 / 376.8 MB, free: 13.64 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007961/0.1137, allocations: 475.5 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 1.616e-05/0.1138, allocations: 3.984 kB / 377.3 MB, free: 13.18 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 2.334e-05/0.1138, allocations: 3.938 kB / 377.3 MB, free: 13.17 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004742/0.1143, allocations: 335.4 kB / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.568e-06/0.1143, allocations: 0 / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1143, allocations: 0 / 377.6 MB, free: 12.84 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.114e-05/0.1143, allocations: 0 / 377.6 MB, free: 12.84 MB / 318.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.0004808/0.1148, allocations: 407.4 kB / 378 MB, free: 12.4 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.1148, allocations: 12.03 kB / 378 MB, free: 12.39 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.009e-05/0.1149, allocations: 76.22 kB / 378.1 MB, free: 12.31 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000157/0.1151, allocations: 247.6 kB / 378.3 MB, free: 12.03 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.42e-05/0.1151, allocations: 154.9 kB / 378.5 MB, free: 11.88 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.842e-05/0.1152, allocations: 154.7 kB / 378.6 MB, free: 11.73 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.66e-05/0.1153, allocations: 105 kB / 378.7 MB, free: 11.62 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.827e-05/0.1153, allocations: 75.28 kB / 378.8 MB, free: 11.54 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.48e-05/0.1154, allocations: 150.6 kB / 379 MB, free: 11.39 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.096e-05/0.1154, allocations: 154.5 kB / 379.1 MB, free: 11.24 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.817e-05/0.1155, allocations: 154.6 kB / 379.3 MB, free: 11.09 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002493/0.1157, allocations: 453.9 kB / 379.7 MB, free: 10.6 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.102e-05/0.1158, allocations: 165.1 kB / 379.9 MB, free: 10.43 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.968e-05/0.1159, allocations: 84.08 kB / 379.9 MB, free: 10.34 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.89e-05/0.1159, allocations: 83.28 kB / 380 MB, free: 10.26 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001543/0.116, allocations: 51.34 kB / 380.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of pre-optimization done (n=1): time 1.944e-06/0.1161, allocations: 0 / 380.1 MB, free: 10.2 MB / 318.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001406/0.1162, allocations: 29.7 kB / 380.1 MB, free: 10.16 MB / 318.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.601e-05/0.1163, allocations: 51.41 kB / 380.2 MB, free: 10.1 MB / 318.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001028/0.1164, allocations: 113.8 kB / 380.3 MB, free: 9.977 MB / 318.1 MB Notification: Performance of collectPreVariables (initialization): time 1.314e-05/0.1164, allocations: 33.77 kB / 380.3 MB, free: 9.938 MB / 318.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.016e-05/0.1164, allocations: 84.12 kB / 380.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.212e-05/0.1164, allocations: 0 / 380.4 MB, free: 9.852 MB / 318.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.063e-05/0.1165, allocations: 13.72 kB / 380.4 MB, free: 9.832 MB / 318.1 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.1166, allocations: 318.8 kB / 380.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.157e-06/0.1166, allocations: 0 / 380.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.418e-06/0.1166, allocations: 0 / 380.7 MB, free: 9.512 MB / 318.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.389e-05/0.1167, allocations: 12.92 kB / 380.7 MB, free: 9.496 MB / 318.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.1167, allocations: 0 / 380.7 MB, free: 9.496 MB / 318.1 MB Notification: Performance of matching and sorting (n=1) (initialization): time 4.95e-05/0.1167, allocations: 33.64 kB / 380.7 MB, free: 9.457 MB / 318.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.381e-05/0.1168, allocations: 8 kB / 380.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.1168, allocations: 0 / 380.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.625e-05/0.1168, allocations: 0 / 380.8 MB, free: 9.449 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.504e-05/0.1168, allocations: 3.938 kB / 380.8 MB, free: 9.445 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.1168, allocations: 3.984 kB / 380.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.479e-05/0.1168, allocations: 0 / 380.8 MB, free: 9.441 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.37e-06/0.1169, allocations: 0 / 380.8 MB, free: 9.441 MB / 318.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 8.117e-05/0.1169, allocations: 121.8 kB / 380.9 MB, free: 9.312 MB / 318.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.16e-05/0.117, allocations: 3.906 kB / 380.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.105e-05/0.117, allocations: 3.125 kB / 380.9 MB, free: 9.309 MB / 318.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-06/0.117, allocations: 4 kB / 380.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.117, allocations: 0 / 380.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.117, allocations: 0 / 380.9 MB, free: 9.305 MB / 318.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.1171, allocations: 153.6 kB / 381 MB, free: 9.105 MB / 318.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.795e-06/0.1171, allocations: 4 kB / 381 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.066e-06/0.1171, allocations: 0 / 381 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1171, allocations: 0 / 381 MB, free: 9.102 MB / 318.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.313e-06/0.1172, allocations: 11.94 kB / 381.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1172, allocations: 0 / 381.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.12e-07/0.1172, allocations: 0 / 381.1 MB, free: 9.09 MB / 318.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.015e-05/0.1172, allocations: 65 kB / 381.1 MB, free: 9.008 MB / 318.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.061e-05/0.1173, allocations: 77.11 kB / 381.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.167e-05/0.1173, allocations: 0 / 381.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.13e-05/0.1173, allocations: 0 / 381.2 MB, free: 8.914 MB / 318.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.254e-05/0.1173, allocations: 12.02 kB / 381.2 MB, free: 8.902 MB / 318.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.927e-06/0.1173, allocations: 4 kB / 381.2 MB, free: 8.898 MB / 318.1 MB Notification: Performance of sorting global known variables: time 4.086e-05/0.1174, allocations: 79.28 kB / 381.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1174, allocations: 0 / 381.3 MB, free: 8.82 MB / 318.1 MB Notification: Performance of remove unused functions: time 0.0003976/0.1178, allocations: 128 kB / 381.4 MB, free: 8.695 MB / 318.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.0008735/0.1187, allocations: 466 kB / 381.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: created initialization part: time 7.526e-05/0.1188, allocations: 0 / 381.9 MB, free: 8.227 MB / 318.1 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.1188, allocations: 8.062 kB / 381.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: created simulation system equations: time 5.27e-06/0.1188, allocations: 0 / 381.9 MB, free: 8.219 MB / 318.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001365/0.1189, allocations: 7.844 kB / 381.9 MB, free: 8.211 MB / 318.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002721/0.1192, allocations: 114.5 kB / 382 MB, free: 8.074 MB / 318.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002226/0.1194, allocations: 0.6768 MB / 382.7 MB, free: 7.371 MB / 318.1 MB Notification: Performance of simCode: alias equations: time 2.419e-05/0.1195, allocations: 4 kB / 382.7 MB, free: 7.367 MB / 318.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.1195, allocations: 19.48 kB / 382.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1195, allocations: 0 / 382.7 MB, free: 7.348 MB / 318.1 MB Notification: Performance of Templates: time 0.006095/0.1256, allocations: 2.77 MB / 385.5 MB, free: 4.574 MB / 318.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)