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.00121/0.00121, allocations: 107.6 kB / 15.99 MB, free: 5.91 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.001236/0.001236, allocations: 192.5 kB / 16.91 MB, free: 5.758 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.192/1.192, allocations: 222.9 MB / 240.6 MB, free: 15.24 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001979/0.001979, allocations: 295.1 kB / 291 MB, free: 14.65 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8512/0.8512, allocations: 169.2 MB / 0.4985 GB, free: 4.711 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001601/0.001601, allocations: 89.36 kB / 0.5953 GB, free: 15.55 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1422/0.1439, allocations: 86.98 MB / 0.6803 GB, free: 8.578 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3985/0.5424, allocations: 134.2 MB / 0.8113 GB, free: 9.305 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02331/0.5658, allocations: 22.61 MB / 0.8334 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001533/0.566, allocations: 0 / 0.8334 GB, free: 2.645 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0002586/0.5663, allocations: 39.8 kB / 0.8334 GB, free: 2.605 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.0002651/0.5666, allocations: 91.48 kB / 0.8335 GB, free: 2.516 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.01483/0.5814, allocations: 5.905 MB / 0.8393 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0003758/0.5818, allocations: 247.9 kB / 0.8395 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 5.075e-05/0.5819, allocations: 13.56 kB / 0.8395 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000313/0.5822, allocations: 139.4 kB / 0.8397 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001506/0.5823, allocations: 95.64 kB / 0.8398 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.228e-05/0.5824, allocations: 8 kB / 0.8398 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01777/0.6001, allocations: 10.81 MB / 0.8503 GB, free: 1.316 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 9.895e-05/0.6003, allocations: 39.89 kB / 0.8504 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001277/0.6004, allocations: 75.67 kB / 0.8504 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007131/0.6075, allocations: 4.148 MB / 0.8545 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.6076, allocations: 0 / 0.8545 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.562e-06/0.6076, allocations: 0 / 0.8545 GB, free: 13.05 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 8.165e-06/0.6076, allocations: 0 / 0.8545 GB, free: 13.05 MB / 0.6231 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.003039/0.6106, allocations: 1.186 MB / 0.8556 GB, free: 11.81 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.705e-05/0.6107, allocations: 12.03 kB / 0.8557 GB, free: 11.8 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001018/0.6117, allocations: 88.61 kB / 0.8557 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002145/0.6119, allocations: 224.1 kB / 0.856 GB, free: 11.46 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.609e-05/0.612, allocations: 20.12 kB / 0.856 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.928e-05/0.612, allocations: 15.94 kB / 0.856 GB, free: 11.42 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001102/0.6131, allocations: 457.9 kB / 0.8564 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.588e-06/0.6131, allocations: 0 / 0.8564 GB, free: 10.96 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.562e-05/0.6132, allocations: 8 kB / 0.8564 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.544e-06/0.6132, allocations: 4.875 kB / 0.8564 GB, free: 10.95 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001155/0.6143, allocations: 0.5936 MB / 0.857 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009789/0.6153, allocations: 0.8784 MB / 0.8579 GB, free: 9.387 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008123/0.6162, allocations: 247.9 kB / 0.8581 GB, free: 9.137 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001138/0.6163, allocations: 80.83 kB / 0.8582 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07836/0.6946, allocations: 35.04 MB / 0.8924 GB, free: 2.914 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.6947, allocations: 42.55 kB / 0.8924 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=25): time 1.984e-06/0.6947, allocations: 0 / 0.8924 GB, free: 2.863 MB / 0.6544 GB Notification: Performance of matching and sorting (n=25): time 0.001773/0.6965, allocations: 422.4 kB / 0.8929 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/0.6965, allocations: 51.41 kB / 0.8929 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001214/0.6967, allocations: 147.8 kB / 0.893 GB, free: 2.23 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.6967, allocations: 33.7 kB / 0.8931 GB, free: 2.191 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.6968, allocations: 104.5 kB / 0.8932 GB, free: 2.086 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 7.611e-05/0.6969, allocations: 86.75 kB / 0.8933 GB, free: 2 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/0.697, allocations: 77.56 kB / 0.8933 GB, free: 1.918 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001086/0.6971, allocations: 330.8 kB / 0.8936 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001722/0.6973, allocations: 79.95 kB / 0.8937 GB, free: 1.508 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.6975, allocations: 130.1 kB / 0.8938 GB, free: 1.363 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003971/0.6979, allocations: 227.9 kB / 0.8941 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.6979, allocations: 0 / 0.8941 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006716/0.6986, allocations: 301.3 kB / 0.8944 GB, free: 0.8281 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.738e-05/0.6986, allocations: 4 kB / 0.8944 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6986, allocations: 0 / 0.8944 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6987, allocations: 4 kB / 0.8944 GB, free: 0.8203 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002895/0.699, allocations: 79.88 kB / 0.8944 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.799e-06/0.699, allocations: 7.984 kB / 0.8944 GB, free: 0.7344 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001568/0.6991, allocations: 19.75 kB / 0.8945 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.479e-05/0.6992, allocations: 31.92 kB / 0.8945 GB, free: 0.6836 MB / 0.6544 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 0.0001362/0.6993, allocations: 133.9 kB / 0.8946 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001657/0.6995, allocations: 19.75 kB / 0.8946 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002279/0.7018, allocations: 2.332 MB / 0.8969 GB, free: 14.19 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.7018, allocations: 15.97 kB / 0.8969 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.7018, allocations: 0 / 0.8969 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.7018, allocations: 3.938 kB / 0.8969 GB, free: 14.17 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003071/0.7049, allocations: 3.426 MB / 0.9003 GB, free: 10.63 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.7049, allocations: 8 kB / 0.9003 GB, free: 10.62 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.7052, allocations: 55.89 kB / 0.9003 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.332e-06/0.7052, allocations: 4 kB / 0.9003 GB, free: 10.57 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.211e-05/0.7052, allocations: 11.92 kB / 0.9004 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.887e-06/0.7053, allocations: 4 kB / 0.9004 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.7053, allocations: 0 / 0.9004 GB, free: 10.55 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007088/0.706, allocations: 0.5457 MB / 0.9009 GB, free: 9.992 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001115/0.7061, allocations: 140.5 kB / 0.901 GB, free: 9.836 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.58e-05/0.7061, allocations: 11.94 kB / 0.901 GB, free: 9.824 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002281/0.7064, allocations: 15.98 kB / 0.9011 GB, free: 9.809 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.008e-05/0.7064, allocations: 27.84 kB / 0.9011 GB, free: 9.781 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.643e-05/0.7064, allocations: 12 kB / 0.9011 GB, free: 9.77 MB / 0.67 GB Notification: Performance of sorting global known variables: time 6.732e-05/0.7065, allocations: 105.5 kB / 0.9012 GB, free: 9.668 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7065, allocations: 0 / 0.9012 GB, free: 9.668 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00403/0.7106, allocations: 1.628 MB / 0.9028 GB, free: 8.039 MB / 0.67 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.006739/0.7173, allocations: 1.888 MB / 0.9046 GB, free: 6.145 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.0007546/0.7181, allocations: 339.6 kB / 0.9049 GB, free: 5.812 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.849e-06/0.7181, allocations: 4 kB / 0.905 GB, free: 5.809 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0002901/0.7184, allocations: 248 kB / 0.9052 GB, free: 5.57 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005208/0.7189, allocations: 65.45 kB / 0.9053 GB, free: 5.512 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001093/0.72, allocations: 0.7924 MB / 0.906 GB, free: 4.688 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003453/0.7204, allocations: 0.7699 MB / 0.9068 GB, free: 3.891 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001448/0.7205, allocations: 55.34 kB / 0.9068 GB, free: 3.836 MB / 0.67 GB Notification: Performance of SimCode: time 3.21e-07/0.7205, allocations: 0 / 0.9068 GB, free: 3.836 MB / 0.67 GB Notification: Performance of Templates: time 0.04209/0.7626, allocations: 31.48 MB / 0.9376 GB, free: 4.332 MB / 0.7012 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 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Examples.SteamProperties.pipe 2>&1)