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.007295/0.007295, allocations: 95.61 kB / 15.73 MB, free: 6.047 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.001823/0.001823, allocations: 197.7 kB / 16.67 MB, free: 5.973 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.325/1.325, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001972/0.001972, allocations: 287.1 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9356/0.9356, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001668/0.001668, allocations: 99.84 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1615/0.1632, allocations: 86.97 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Examples.SteamProperties): time 0.4532/0.6164, allocations: 136.1 MB / 0.8994 GB, free: 10.74 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.02507/0.6415, allocations: 22.33 MB / 0.9212 GB, free: 4.355 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001577/0.6417, allocations: 0 / 0.9212 GB, free: 4.355 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0002682/0.642, allocations: 51.67 kB / 0.9212 GB, free: 4.305 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.0002817/0.6423, allocations: 87.36 kB / 0.9213 GB, free: 4.219 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.01536/0.6577, allocations: 6.685 MB / 0.9278 GB, free: 13.56 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0003713/0.6581, allocations: 247.9 kB / 0.9281 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 4.842e-05/0.6582, allocations: 13.55 kB / 0.9281 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000323/0.6585, allocations: 155.4 kB / 0.9282 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001508/0.6586, allocations: 83.67 kB / 0.9283 GB, free: 13.07 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 2.547e-05/0.6587, allocations: 8 kB / 0.9283 GB, free: 13.06 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01927/0.678, allocations: 10.96 MB / 0.939 GB, free: 2.086 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 9.343e-05/0.6781, allocations: 39.88 kB / 0.939 GB, free: 2.047 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.6782, allocations: 75.66 kB / 0.9391 GB, free: 1.973 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01282/0.6911, allocations: 6.17 MB / 0.9451 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.6911, allocations: 0 / 0.9451 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.372e-06/0.6911, allocations: 4 kB / 0.9451 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.113e-05/0.6911, allocations: 0 / 0.9451 GB, free: 11.79 MB / 0.7012 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.003175/0.6943, allocations: 1.223 MB / 0.9463 GB, free: 10.51 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.726e-05/0.6943, allocations: 12.03 kB / 0.9463 GB, free: 10.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001074/0.6954, allocations: 88.75 kB / 0.9464 GB, free: 10.41 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.6957, allocations: 224.1 kB / 0.9466 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.715e-05/0.6958, allocations: 16.36 kB / 0.9467 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.6958, allocations: 23.94 kB / 0.9467 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.6969, allocations: 453.7 kB / 0.9471 GB, free: 9.652 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.219e-05/0.6969, allocations: 3.938 kB / 0.9471 GB, free: 9.648 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.524e-05/0.697, allocations: 8 kB / 0.9471 GB, free: 9.641 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.697, allocations: 4 kB / 0.9471 GB, free: 9.637 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001174/0.6982, allocations: 0.5931 MB / 0.9477 GB, free: 9.043 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001008/0.6992, allocations: 0.8823 MB / 0.9486 GB, free: 8.074 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008023/0.7, allocations: 254.2 kB / 0.9488 GB, free: 7.816 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001272/0.7001, allocations: 79.89 kB / 0.9489 GB, free: 7.738 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.08795/0.7881, allocations: 35.43 MB / 0.9835 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.125e-05/0.7882, allocations: 39.38 kB / 0.9835 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=25): time 2.084e-06/0.7882, allocations: 0 / 0.9835 GB, free: 1.172 MB / 0.7325 GB Notification: Performance of matching and sorting (n=25): time 0.001678/0.7899, allocations: 421.8 kB / 0.9839 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.816e-05/0.7899, allocations: 51.41 kB / 0.984 GB, free: 0.6914 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001161/0.79, allocations: 144.2 kB / 0.9841 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.36e-05/0.7901, allocations: 33.7 kB / 0.9841 GB, free: 0.5039 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.887e-05/0.7902, allocations: 108.5 kB / 0.9843 GB, free: 404 kB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 6.672e-05/0.7902, allocations: 91.2 kB / 0.9843 GB, free: 312 kB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.7904, allocations: 77.66 kB / 0.9844 GB, free: 228 kB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001233/0.7905, allocations: 330.8 kB / 0.9847 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001795/0.7907, allocations: 83.89 kB / 0.9848 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002292/0.7909, allocations: 129.1 kB / 0.9849 GB, free: 15.66 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004295/0.7913, allocations: 224.4 kB / 0.9851 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.7914, allocations: 0 / 0.9851 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0007237/0.7921, allocations: 301.3 kB / 0.9854 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.7e-05/0.7921, allocations: 8 kB / 0.9854 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.024e-06/0.7921, allocations: 0.875 kB / 0.9854 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.7922, allocations: 4 kB / 0.9854 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002969/0.7925, allocations: 79.88 kB / 0.9855 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.929e-06/0.7925, allocations: 4 kB / 0.9855 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001406/0.7926, allocations: 15.89 kB / 0.9855 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.726e-05/0.7927, allocations: 31.92 kB / 0.9856 GB, free: 14.99 MB / 0.7481 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.0001259/0.7928, allocations: 126.6 kB / 0.9857 GB, free: 14.86 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001772/0.793, allocations: 23.89 kB / 0.9857 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002348/0.7953, allocations: 2.338 MB / 0.988 GB, free: 12.48 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.642e-05/0.7954, allocations: 18.03 kB / 0.988 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.7954, allocations: 0 / 0.988 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.528e-06/0.7954, allocations: 0 / 0.988 GB, free: 12.46 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00319/0.7986, allocations: 3.431 MB / 0.9914 GB, free: 8.918 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.7986, allocations: 4 kB / 0.9914 GB, free: 8.914 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002503/0.7989, allocations: 59.89 kB / 0.9914 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.915e-06/0.7989, allocations: 0 / 0.9914 GB, free: 8.855 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.491e-05/0.7989, allocations: 15.92 kB / 0.9914 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.7989, allocations: 0 / 0.9914 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.7989, allocations: 0 / 0.9914 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007632/0.7997, allocations: 0.5389 MB / 0.992 GB, free: 8.285 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001294/0.7998, allocations: 152.6 kB / 0.9921 GB, free: 8.117 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.56e-05/0.7999, allocations: 15.94 kB / 0.9921 GB, free: 8.102 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002129/0.8001, allocations: 11.98 kB / 0.9921 GB, free: 8.09 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.721e-05/0.8001, allocations: 15.98 kB / 0.9922 GB, free: 8.074 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.188e-05/0.8002, allocations: 16.8 kB / 0.9922 GB, free: 8.059 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 7.4e-05/0.8002, allocations: 106.1 kB / 0.9923 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.593e-06/0.8003, allocations: 0 / 0.9923 GB, free: 7.957 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003645/0.8039, allocations: 1.649 MB / 0.9939 GB, free: 6.305 MB / 0.7481 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.007117/0.811, allocations: 1.901 MB / 0.9957 GB, free: 4.395 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005868/0.8116, allocations: 320.6 kB / 0.996 GB, free: 4.082 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.925e-06/0.8117, allocations: 4.062 kB / 0.996 GB, free: 4.078 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0003006/0.812, allocations: 240.5 kB / 0.9963 GB, free: 3.84 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004953/0.8125, allocations: 64.62 kB / 0.9963 GB, free: 3.777 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009525/0.8134, allocations: 0.6391 MB / 0.997 GB, free: 3.113 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.8137, allocations: 0.7699 MB / 0.9977 GB, free: 2.32 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0005074/0.8142, allocations: 409 kB / 0.9981 GB, free: 1.918 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001262/0.8144, allocations: 47.34 kB / 0.9981 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of SimCode: time 2.41e-07/0.8144, allocations: 0 / 0.9981 GB, free: 1.871 MB / 0.7481 GB Notification: Performance of Templates: time 0.06405/0.8784, allocations: 57.08 MB / 1.054 GB, free: 8.77 MB / 0.8106 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)