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.0007667/0.000767, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0008184/0.0008184, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.283/1.283, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001744/0.001744, allocations: 269.2 kB / 291.4 MB, free: 1.98 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9261/0.9261, allocations: 169.5 MB / 0.5 GB, free: 14.18 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003963/0.0003964, allocations: 17.75 kB / 0.598 GB, free: 28.22 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1345/0.1349, allocations: 88.54 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.3968/0.5317, allocations: 123.2 MB / 0.8048 GB, free: 2.031 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0195/0.5512, allocations: 21.02 MB / 0.8253 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001479/0.5514, allocations: 5.344 kB / 0.8253 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0002089/0.5516, allocations: 34.89 kB / 0.8254 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.5519, allocations: 78.64 kB / 0.8254 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.01375/0.5656, allocations: 5.126 MB / 0.8305 GB, free: 12.38 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0003558/0.566, allocations: 279 kB / 0.8307 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.513e-05/0.5661, allocations: 8.812 kB / 0.8307 GB, free: 12.26 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002611/0.5663, allocations: 127.9 kB / 0.8308 GB, free: 12.21 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.5665, allocations: 87.75 kB / 0.8309 GB, free: 12.17 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.948e-05/0.5665, allocations: 11.41 kB / 0.8309 GB, free: 12.16 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01741/0.5839, allocations: 10.47 MB / 0.8412 GB, free: 9.148 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.029e-05/0.584, allocations: 33.61 kB / 0.8412 GB, free: 9.133 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 8.498e-05/0.5841, allocations: 52.92 kB / 0.8412 GB, free: 9.098 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006023/0.5902, allocations: 4.089 MB / 0.8452 GB, free: 6.879 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.5902, allocations: 3.938 kB / 0.8452 GB, free: 6.875 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.353e-06/0.5902, allocations: 4 kB / 0.8452 GB, free: 6.871 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.5902, allocations: 2.812 kB / 0.8453 GB, free: 6.871 MB / 0.5606 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.00247/0.5927, allocations: 1.144 MB / 0.8464 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.112e-05/0.5927, allocations: 8.875 kB / 0.8464 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009978/0.5937, allocations: 89.12 kB / 0.8465 GB, free: 5.984 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002136/0.5939, allocations: 222.4 kB / 0.8467 GB, free: 5.742 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.611e-05/0.594, allocations: 21.83 kB / 0.8467 GB, free: 5.727 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.594, allocations: 15.88 kB / 0.8467 GB, free: 5.719 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009774/0.595, allocations: 450.4 kB / 0.8471 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.595, allocations: 0 / 0.8471 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.595, allocations: 11.22 kB / 0.8471 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.595, allocations: 6.062 kB / 0.8472 GB, free: 5.426 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001059/0.5961, allocations: 0.5975 MB / 0.8477 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009606/0.5971, allocations: 0.8849 MB / 0.8486 GB, free: 4.273 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007088/0.5978, allocations: 242.5 kB / 0.8488 GB, free: 4.145 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001081/0.5979, allocations: 73.98 kB / 0.8489 GB, free: 4.109 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0751/0.673, allocations: 35.34 MB / 0.8834 GB, free: 0.9414 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.946e-05/0.6731, allocations: 34.56 kB / 0.8834 GB, free: 0.8984 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=25): time 1.643e-06/0.6731, allocations: 3.938 kB / 0.8835 GB, free: 0.8945 MB / 0.5919 GB Notification: Performance of matching and sorting (n=25): time 0.001504/0.6746, allocations: 425.7 kB / 0.8839 GB, free: 488 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.6746, allocations: 51.41 kB / 0.8839 GB, free: 424 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.6748, allocations: 140.3 kB / 0.884 GB, free: 276 kB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 3.085e-05/0.6748, allocations: 33.7 kB / 0.8841 GB, free: 236 kB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 5.791e-05/0.6749, allocations: 112.3 kB / 0.8842 GB, free: 120 kB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.6749, allocations: 90.73 kB / 0.8843 GB, free: 28 kB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.985e-05/0.675, allocations: 4 kB / 0.8843 GB, free: 24 kB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001121/0.6751, allocations: 326.9 kB / 0.8846 GB, free: 15.69 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001683/0.6753, allocations: 75.89 kB / 0.8847 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002049/0.6755, allocations: 134.2 kB / 0.8848 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001895/0.6757, allocations: 95.97 kB / 0.8849 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.6757, allocations: 0 / 0.8849 GB, free: 15.38 MB / 0.6075 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006393/0.6763, allocations: 293.3 kB / 0.8852 GB, free: 15.09 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.462e-05/0.6763, allocations: 8 kB / 0.8852 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.6764, allocations: 0 / 0.8852 GB, free: 15.08 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.6764, allocations: 7.984 kB / 0.8852 GB, free: 15.07 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002757/0.6767, allocations: 75.89 kB / 0.8852 GB, free: 15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.118e-06/0.6767, allocations: 7.984 kB / 0.8852 GB, free: 14.99 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001354/0.6768, allocations: 21.56 kB / 0.8853 GB, free: 14.97 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.226e-05/0.6769, allocations: 27.94 kB / 0.8853 GB, free: 14.95 MB / 0.6075 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001201/0.677, allocations: 129.8 kB / 0.8854 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001513/0.6771, allocations: 19.8 kB / 0.8854 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002306/0.6795, allocations: 2.343 MB / 0.8877 GB, free: 12.43 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.385e-05/0.6795, allocations: 11.98 kB / 0.8877 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6795, allocations: 3.984 kB / 0.8877 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.388e-06/0.6795, allocations: 3.938 kB / 0.8877 GB, free: 12.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003087/0.6826, allocations: 3.413 MB / 0.8911 GB, free: 8.895 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6826, allocations: 3.938 kB / 0.8911 GB, free: 8.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002445/0.6829, allocations: 55.89 kB / 0.8911 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.6829, allocations: 0 / 0.8911 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.232e-05/0.6829, allocations: 11.98 kB / 0.8911 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.855e-06/0.6829, allocations: 2.5 kB / 0.8911 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.294e-06/0.6829, allocations: 3.953 kB / 0.8912 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.6837, allocations: 0.5498 MB / 0.8917 GB, free: 8.254 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001119/0.6838, allocations: 140.6 kB / 0.8918 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.188e-05/0.6838, allocations: 4 kB / 0.8918 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002097/0.684, allocations: 19.98 kB / 0.8918 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.114e-05/0.6841, allocations: 11.98 kB / 0.8919 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.933e-05/0.6841, allocations: 19.94 kB / 0.8919 GB, free: 8.043 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.619e-05/0.6842, allocations: 109 kB / 0.892 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6842, allocations: 4 kB / 0.892 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003713/0.6879, allocations: 1.628 MB / 0.8936 GB, free: 6.305 MB / 0.6075 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 (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.005779/0.6937, allocations: 1.891 MB / 0.8954 GB, free: 4.406 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0005226/0.6942, allocations: 317.9 kB / 0.8957 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.6942, allocations: 0 / 0.8957 GB, free: 4.098 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002862/0.6945, allocations: 244.5 kB / 0.896 GB, free: 3.859 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004811/0.695, allocations: 68.25 kB / 0.896 GB, free: 3.793 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.6961, allocations: 0.7928 MB / 0.8968 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002928/0.6964, allocations: 0.7702 MB / 0.8975 GB, free: 2.176 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0005337/0.6969, allocations: 405 kB / 0.8979 GB, free: 1.781 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001206/0.697, allocations: 47.41 kB / 0.898 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of SimCode: time 5.31e-07/0.6971, allocations: 0 / 0.898 GB, free: 1.738 MB / 0.6075 GB Notification: Performance of Templates: time 0.06693/0.764, allocations: 57.91 MB / 0.9545 GB, free: 7.801 MB / 0.67 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)