Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") translateModel(BuildingSystems.Media.Examples.SteamProperties,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Examples.SteamProperties") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001673/0.001673, allocations: 107.4 kB / 16.4 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.001776/0.001776, allocations: 192 kB / 17.34 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.428/1.428, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002582/0.002582, allocations: 284.9 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.023/1.023, allocations: 169.2 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00266/0.00266, allocations: 99.84 kB / 0.6821 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4278/0.4305, allocations: 86.99 MB / 0.7671 GB, free: 3.922 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.1563/0.5867, allocations: 136.5 MB / 0.9004 GB, free: 10.87 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02789/0.6146, allocations: 22.39 MB / 0.9223 GB, free: 4.402 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001957/0.6148, allocations: 7.938 kB / 0.9223 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0002857/0.6151, allocations: 51.66 kB / 0.9223 GB, free: 4.344 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.0002946/0.6154, allocations: 91.36 kB / 0.9224 GB, free: 4.254 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.01681/0.6322, allocations: 6.697 MB / 0.929 GB, free: 13.57 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0004319/0.6327, allocations: 243.9 kB / 0.9292 GB, free: 13.34 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 5.445e-05/0.6327, allocations: 9.562 kB / 0.9292 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003162/0.633, allocations: 139.4 kB / 0.9293 GB, free: 13.19 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001509/0.6332, allocations: 91.66 kB / 0.9294 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 2.419e-05/0.6332, allocations: 11.94 kB / 0.9294 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02045/0.6537, allocations: 10.97 MB / 0.9401 GB, free: 2.105 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000138/0.6538, allocations: 39.83 kB / 0.9402 GB, free: 2.066 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0001425/0.6539, allocations: 75.66 kB / 0.9402 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.01438/0.6683, allocations: 6.174 MB / 0.9463 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.6683, allocations: 0 / 0.9463 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.233e-06/0.6683, allocations: 0 / 0.9463 GB, free: 11.8 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.6683, allocations: 0 / 0.9463 GB, free: 11.8 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 38 * Number of variables: 38 Notification: Performance of Generate backend data structure: time 0.003578/0.6719, allocations: 1.226 MB / 0.9475 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.672, allocations: 16.03 kB / 0.9475 GB, free: 10.51 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001119/0.6731, allocations: 84.75 kB / 0.9476 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003424/0.6734, allocations: 224.1 kB / 0.9478 GB, free: 10.17 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.6734, allocations: 16.12 kB / 0.9478 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.159e-05/0.6735, allocations: 12 kB / 0.9478 GB, free: 10.14 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001196/0.6747, allocations: 461.6 kB / 0.9483 GB, free: 9.672 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.6747, allocations: 4 kB / 0.9483 GB, free: 9.668 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.618e-05/0.6747, allocations: 8 kB / 0.9483 GB, free: 9.66 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.574e-06/0.6747, allocations: 4 kB / 0.9483 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001299/0.676, allocations: 0.5931 MB / 0.9488 GB, free: 9.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.6772, allocations: 0.8823 MB / 0.9497 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008421/0.678, allocations: 242.3 kB / 0.9499 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001227/0.6781, allocations: 60.83 kB / 0.95 GB, free: 7.785 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.416/1.094, allocations: 35.43 MB / 0.9846 GB, free: 164.8 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.062e-05/1.094, allocations: 34.56 kB / 0.9846 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=25): time 1.583e-06/1.094, allocations: 0 / 0.9846 GB, free: 164.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=25): time 0.00168/1.096, allocations: 420 kB / 0.985 GB, free: 164.3 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.062e-05/1.096, allocations: 55.41 kB / 0.9851 GB, free: 164.2 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.829e-05/1.096, allocations: 142 kB / 0.9852 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 3.825e-05/1.096, allocations: 37.55 kB / 0.9853 GB, free: 164.1 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.312e-05/1.096, allocations: 109.5 kB / 0.9854 GB, free: 164 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 5.422e-05/1.096, allocations: 94.48 kB / 0.9855 GB, free: 163.9 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.586e-05/1.096, allocations: 81.66 kB / 0.9855 GB, free: 163.8 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.642e-05/1.096, allocations: 322.8 kB / 0.9858 GB, free: 163.5 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001508/1.096, allocations: 79.95 kB / 0.9859 GB, free: 163.4 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001801/1.096, allocations: 125.6 kB / 0.986 GB, free: 163.2 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003455/1.097, allocations: 216.6 kB / 0.9862 GB, free: 163 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/1.097, allocations: 0 / 0.9862 GB, free: 163 MB / 0.7169 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006197/1.097, allocations: 304.7 kB / 0.9865 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.395e-05/1.097, allocations: 12.03 kB / 0.9865 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.097, allocations: 0 / 0.9865 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.781e-05/1.098, allocations: 7.938 kB / 0.9866 GB, free: 162.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002709/1.098, allocations: 75.94 kB / 0.9866 GB, free: 162.6 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.706e-06/1.098, allocations: 11.88 kB / 0.9866 GB, free: 162.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001477/1.098, allocations: 27.77 kB / 0.9867 GB, free: 162.6 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.415e-05/1.098, allocations: 19.98 kB / 0.9867 GB, free: 162.6 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (30): * Single equations (assignments): 30 * 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 9.972e-05/1.098, allocations: 128 kB / 0.9868 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001884/1.098, allocations: 23.84 kB / 0.9868 GB, free: 162.4 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00164/1.1, allocations: 2.337 MB / 0.9891 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/1.1, allocations: 15.98 kB / 0.9891 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/1.1, allocations: 3.938 kB / 0.9891 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.889e-06/1.1, allocations: 3.984 kB / 0.9891 GB, free: 160.1 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002171/1.102, allocations: 3.417 MB / 0.9925 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.208e-06/1.102, allocations: 0 / 0.9925 GB, free: 156.6 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002552/1.102, allocations: 51.95 kB / 0.9925 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.59e-06/1.102, allocations: 11.25 kB / 0.9925 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.936e-05/1.102, allocations: 12 kB / 0.9925 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/1.102, allocations: 0 / 0.9925 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/1.102, allocations: 0 / 0.9925 GB, free: 156.5 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006089/1.103, allocations: 0.5467 MB / 0.9931 GB, free: 155.9 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 9.054e-05/1.103, allocations: 146.9 kB / 0.9932 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.093e-05/1.103, allocations: 4 kB / 0.9932 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002116/1.103, allocations: 12 kB / 0.9932 GB, free: 155.8 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.878e-05/1.103, allocations: 19.97 kB / 0.9932 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.333e-05/1.103, allocations: 15.98 kB / 0.9933 GB, free: 155.7 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 4.962e-05/1.103, allocations: 103.3 kB / 0.9934 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6e-08/1.103, allocations: 0 / 0.9934 GB, free: 155.6 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.003605/1.107, allocations: 1.656 MB / 0.995 GB, free: 154.2 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.phase,$cse3.region) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (28): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.007082/1.114, allocations: 1.91 MB / 0.9968 GB, free: 152.4 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000547/1.115, allocations: 312.3 kB / 0.9971 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/1.115, allocations: 0 / 0.9971 GB, free: 152.1 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002274/1.115, allocations: 184.5 kB / 0.9973 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005286/1.115, allocations: 71.06 kB / 0.9974 GB, free: 151.9 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008717/1.116, allocations: 0.6412 MB / 0.998 GB, free: 151.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000149/1.116, allocations: 0.7758 MB / 0.9988 GB, free: 150.4 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0004208/1.117, allocations: 414 kB / 0.9992 GB, free: 150 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001256/1.117, allocations: 43.42 kB / 0.9992 GB, free: 150 MB / 0.7169 GB Notification: Performance of SimCode: time 4.11e-07/1.117, allocations: 3.938 kB / 0.9992 GB, free: 150 MB / 0.7169 GB Notification: Performance of Templates: time 0.05838/1.175, allocations: 57.08 MB / 1.055 GB, free: 92.91 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.makefile (rm -f BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.sim & ./BuildingSystems_BuildingSystems.Media.Examples.SteamProperties -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)