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.001024/0.001024, allocations: 111.3 kB / 15.23 MB, free: 0.6367 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.001008/0.001007, allocations: 196.3 kB / 16.14 MB, free: 6.734 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.322/1.322, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002004/0.002004, allocations: 274.5 kB / 290.2 MB, free: 2.215 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9265/0.9265, allocations: 169.2 MB / 0.4977 GB, free: 14.14 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 98.25 kB / 0.5945 GB, free: 28.36 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1701/0.1718, allocations: 86.98 MB / 0.6794 GB, free: 1.195 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4446/0.6165, allocations: 134 MB / 0.8103 GB, free: 2.168 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02649/0.643, allocations: 24.63 MB / 0.8344 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002724/0.6433, allocations: 1.062 kB / 0.8344 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0003305/0.6437, allocations: 42.33 kB / 0.8344 GB, free: 52 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002981/0.644, allocations: 86.94 kB / 0.8345 GB, free: 20 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.02013/0.6642, allocations: 5.293 MB / 0.8397 GB, free: 13 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0004997/0.6647, allocations: 310.2 kB / 0.84 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.25e-05/0.6647, allocations: 12.44 kB / 0.84 GB, free: 12.84 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000331/0.6651, allocations: 137.8 kB / 0.8401 GB, free: 12.77 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000155/0.6652, allocations: 89.77 kB / 0.8402 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.688e-05/0.6653, allocations: 6.688 kB / 0.8402 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0206/0.6859, allocations: 10.85 MB / 0.8508 GB, free: 7.246 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001127/0.686, allocations: 37.27 kB / 0.8508 GB, free: 7.223 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001681/0.6862, allocations: 79.91 kB / 0.8509 GB, free: 7.184 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.01616/0.7024, allocations: 6.199 MB / 0.857 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.982e-06/0.7024, allocations: 0 / 0.857 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.373e-06/0.7024, allocations: 0 / 0.857 GB, free: 3.516 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.991e-06/0.7024, allocations: 0 / 0.857 GB, free: 3.516 MB / 0.5762 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.003806/0.7063, allocations: 1.184 MB / 0.8581 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.457e-05/0.7063, allocations: 11 kB / 0.8581 GB, free: 2.641 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001143/0.7075, allocations: 87.17 kB / 0.8582 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002364/0.7077, allocations: 227.8 kB / 0.8584 GB, free: 2.359 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.7077, allocations: 14.97 kB / 0.8584 GB, free: 2.352 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.019e-05/0.7078, allocations: 18.75 kB / 0.8585 GB, free: 2.344 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00115/0.7089, allocations: 449.7 kB / 0.8589 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.7089, allocations: 0 / 0.8589 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.826e-05/0.709, allocations: 10.73 kB / 0.8589 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.474e-06/0.709, allocations: 5.031 kB / 0.8589 GB, free: 2.051 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001164/0.7102, allocations: 0.5956 MB / 0.8595 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001044/0.7112, allocations: 0.8832 MB / 0.8603 GB, free: 0.9102 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008021/0.712, allocations: 255 kB / 0.8606 GB, free: 0.7734 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001164/0.7122, allocations: 76.48 kB / 0.8607 GB, free: 0.7344 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.07745/0.7896, allocations: 35.03 MB / 0.8949 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.415e-05/0.7897, allocations: 40.67 kB / 0.8949 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=25): time 2.796e-06/0.7897, allocations: 7.984 kB / 0.8949 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of matching and sorting (n=25): time 0.00171/0.7914, allocations: 425.9 kB / 0.8953 GB, free: 14.09 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.7915, allocations: 55.41 kB / 0.8954 GB, free: 14.02 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001356/0.7916, allocations: 140.5 kB / 0.8955 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 3.502e-05/0.7916, allocations: 29.7 kB / 0.8955 GB, free: 13.84 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 7.558e-05/0.7917, allocations: 108.4 kB / 0.8956 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 6.79e-05/0.7918, allocations: 89.64 kB / 0.8957 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.7919, allocations: 85.56 kB / 0.8958 GB, free: 13.56 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.7921, allocations: 334.7 kB / 0.8961 GB, free: 13.22 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000175/0.7922, allocations: 79.95 kB / 0.8962 GB, free: 13.14 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002415/0.7925, allocations: 130.7 kB / 0.8963 GB, free: 13 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004042/0.7929, allocations: 221 kB / 0.8965 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.325e-06/0.7929, allocations: 4 kB / 0.8965 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0006698/0.7936, allocations: 291.5 kB / 0.8968 GB, free: 12.48 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.86e-05/0.7936, allocations: 7.984 kB / 0.8968 GB, free: 12.47 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.7936, allocations: 4 kB / 0.8968 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.7937, allocations: 160 / 0.8968 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003047/0.794, allocations: 83.88 kB / 0.8969 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.794, allocations: 4 kB / 0.8969 GB, free: 12.38 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.7942, allocations: 23.75 kB / 0.8969 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.615e-05/0.7942, allocations: 27.92 kB / 0.897 GB, free: 12.33 MB / 0.6231 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.0001257/0.7943, allocations: 126.4 kB / 0.8971 GB, free: 12.2 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000165/0.7945, allocations: 19.8 kB / 0.8971 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002296/0.7968, allocations: 2.346 MB / 0.8994 GB, free: 9.828 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.016e-05/0.7968, allocations: 15.97 kB / 0.8994 GB, free: 9.812 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.153e-06/0.7969, allocations: 4 kB / 0.8994 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.7969, allocations: 0 / 0.8994 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003345/0.8002, allocations: 3.428 MB / 0.9028 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.606e-06/0.8002, allocations: 0 / 0.9028 GB, free: 6.27 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002813/0.8005, allocations: 59.89 kB / 0.9028 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.8005, allocations: 0 / 0.9028 GB, free: 6.211 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.383e-05/0.8006, allocations: 15.92 kB / 0.9028 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.8006, allocations: 0 / 0.9028 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.8006, allocations: 0 / 0.9028 GB, free: 6.195 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007201/0.8013, allocations: 0.5418 MB / 0.9034 GB, free: 5.641 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001278/0.8014, allocations: 144.5 kB / 0.9035 GB, free: 5.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.45e-05/0.8015, allocations: 11.88 kB / 0.9035 GB, free: 5.469 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.8017, allocations: 15.98 kB / 0.9035 GB, free: 5.453 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.8017, allocations: 15.98 kB / 0.9035 GB, free: 5.438 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.014e-05/0.8018, allocations: 15.98 kB / 0.9036 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 7.148e-05/0.8019, allocations: 107.3 kB / 0.9037 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8019, allocations: 0 / 0.9037 GB, free: 5.316 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.005907/0.8078, allocations: 1.632 MB / 0.9053 GB, free: 3.684 MB / 0.6231 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.008573/0.8164, allocations: 1.895 MB / 0.9071 GB, free: 1.926 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.0007187/0.8171, allocations: 326 kB / 0.9074 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.35e-06/0.8171, allocations: 0 / 0.9074 GB, free: 1.605 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0002906/0.8174, allocations: 240.5 kB / 0.9076 GB, free: 1.371 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000614/0.818, allocations: 60.27 kB / 0.9077 GB, free: 1.312 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001041/0.8191, allocations: 0.7567 MB / 0.9084 GB, free: 0.5312 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003022/0.8194, allocations: 0.7661 MB / 0.9092 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0004973/0.8199, allocations: 405 kB / 0.9096 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001386/0.8201, allocations: 47.41 kB / 0.9096 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of SimCode: time 2.9e-07/0.8201, allocations: 0 / 0.9096 GB, free: 15.29 MB / 0.6387 GB Notification: Performance of Templates: time 0.07074/0.8908, allocations: 57.06 MB / 0.9653 GB, free: 6.234 MB / 0.6856 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)