Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.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.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001307/0.001307, allocations: 107.7 kB / 16.41 MB, free: 6.484 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.001328/0.001328, allocations: 187 kB / 17.34 MB, free: 5.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.24/1.24, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.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: 284.6 kB / 291.5 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8926/0.8926, allocations: 169.3 MB / 0.499 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001889/0.001889, allocations: 95.86 kB / 0.6822 GB, free: 6.953 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3915/0.3934, allocations: 86.97 MB / 0.7671 GB, free: 3.926 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01516/0.4086, allocations: 12.97 MB / 0.7798 GB, free: 6.902 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.002655/0.4113, allocations: 2.667 MB / 0.7824 GB, free: 4.227 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001099/0.4115, allocations: 0 / 0.7824 GB, free: 4.227 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0002633/0.4118, allocations: 47.67 kB / 0.7824 GB, free: 4.18 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.0002782/0.4121, allocations: 99.36 kB / 0.7825 GB, free: 4.082 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.001216/0.4133, allocations: 0.4986 MB / 0.783 GB, free: 3.586 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002966/0.4136, allocations: 228 kB / 0.7832 GB, free: 3.363 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.4136, allocations: 21.48 kB / 0.7832 GB, free: 3.344 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007071/0.4207, allocations: 3.58 MB / 0.7867 GB, free: 15.75 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001729/0.4209, allocations: 83.67 kB / 0.7868 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 3.1e-05/0.4209, allocations: 8 kB / 0.7868 GB, free: 15.66 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002193/0.4231, allocations: 1.078 MB / 0.7879 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.256e-05/0.4232, allocations: 39.89 kB / 0.7879 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 9.606e-05/0.4233, allocations: 87.58 kB / 0.788 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0006626/0.424, allocations: 363.1 kB / 0.7883 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.424, allocations: 0 / 0.7883 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of FrontEnd: time 5.08e-06/0.424, allocations: 4 kB / 0.7883 GB, free: 14.1 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.253e-06/0.424, allocations: 3.938 kB / 0.7884 GB, free: 14.09 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.000706/0.4247, allocations: 0.4915 MB / 0.7888 GB, free: 13.55 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.435e-05/0.4248, allocations: 12.03 kB / 0.7888 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001717/0.4249, allocations: 24.73 kB / 0.7889 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002728/0.4252, allocations: 220 kB / 0.7891 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.276e-05/0.4252, allocations: 12.7 kB / 0.7891 GB, free: 13.25 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.313e-05/0.4253, allocations: 12.38 kB / 0.7891 GB, free: 13.24 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003621/0.4256, allocations: 252.1 kB / 0.7893 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.728e-06/0.4257, allocations: 0 / 0.7893 GB, free: 12.98 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.678e-05/0.4257, allocations: 11.98 kB / 0.7894 GB, free: 12.96 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.58e-05/0.4257, allocations: 11.98 kB / 0.7894 GB, free: 12.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004464/0.4262, allocations: 435.4 kB / 0.7898 GB, free: 12.52 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001083/0.4273, allocations: 0.9567 MB / 0.7907 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002605/0.4275, allocations: 168.2 kB / 0.7909 GB, free: 11.31 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.4276, allocations: 64.88 kB / 0.7909 GB, free: 11.24 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.4289, allocations: 1.825 MB / 0.7927 GB, free: 9.059 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.315e-05/0.429, allocations: 42.56 kB / 0.7928 GB, free: 9.008 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.429, allocations: 3.938 kB / 0.7928 GB, free: 9.004 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0003255/0.4293, allocations: 145.4 kB / 0.7929 GB, free: 8.855 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.44e-05/0.4294, allocations: 59.28 kB / 0.793 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001413/0.4295, allocations: 173 kB / 0.7931 GB, free: 8.605 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.248e-05/0.4295, allocations: 29.7 kB / 0.7932 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.249e-05/0.4296, allocations: 147.6 kB / 0.7933 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.384e-05/0.4297, allocations: 55.3 kB / 0.7933 GB, free: 8.367 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.706e-05/0.4297, allocations: 53.61 kB / 0.7934 GB, free: 8.309 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001201/0.4299, allocations: 326.8 kB / 0.7937 GB, free: 7.98 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.365e-05/0.4299, allocations: 35.98 kB / 0.7937 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.4301, allocations: 134.2 kB / 0.7939 GB, free: 7.766 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002137/0.4303, allocations: 200.8 kB / 0.7941 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.4303, allocations: 0 / 0.7941 GB, free: 7.523 MB / 0.5606 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003145/0.4306, allocations: 213.5 kB / 0.7943 GB, free: 7.309 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.4306, allocations: 8 kB / 0.7943 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.4307, allocations: 4 kB / 0.7943 GB, free: 7.297 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.4307, allocations: 4 kB / 0.7943 GB, free: 7.293 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001641/0.4308, allocations: 59.84 kB / 0.7943 GB, free: 7.234 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/0.4309, allocations: 11.94 kB / 0.7943 GB, free: 7.223 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000108/0.431, allocations: 27.69 kB / 0.7944 GB, free: 7.195 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.746e-05/0.431, allocations: 12 kB / 0.7944 GB, free: 7.184 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 29 * Array equations: 1 * 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.0001121/0.4311, allocations: 133.9 kB / 0.7945 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.876e-05/0.4312, allocations: 15.81 kB / 0.7945 GB, free: 7.027 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002835/0.4315, allocations: 158.9 kB / 0.7947 GB, free: 6.863 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-05/0.4315, allocations: 7.938 kB / 0.7947 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.987e-06/0.4315, allocations: 3.938 kB / 0.7947 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.4315, allocations: 0 / 0.7947 GB, free: 6.852 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002286/0.4317, allocations: 213.5 kB / 0.7949 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.014e-06/0.4317, allocations: 0 / 0.7949 GB, free: 6.594 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.544e-05/0.4318, allocations: 23.98 kB / 0.7949 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.255e-06/0.4318, allocations: 0 / 0.7949 GB, free: 6.57 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.404e-05/0.4319, allocations: 11.98 kB / 0.7949 GB, free: 6.559 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.657e-06/0.4319, allocations: 7.938 kB / 0.7949 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.51e-07/0.4319, allocations: 0 / 0.7949 GB, free: 6.551 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002329/0.4321, allocations: 218.1 kB / 0.7951 GB, free: 6.324 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 8.393e-05/0.4322, allocations: 116.8 kB / 0.7953 GB, free: 6.191 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.465e-05/0.4322, allocations: 7.938 kB / 0.7953 GB, free: 6.184 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001939/0.4324, allocations: 19.91 kB / 0.7953 GB, free: 6.164 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.546e-05/0.4325, allocations: 11.98 kB / 0.7953 GB, free: 6.152 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.994e-05/0.4325, allocations: 16 kB / 0.7953 GB, free: 6.137 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.866e-05/0.4326, allocations: 123.9 kB / 0.7954 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4326, allocations: 0 / 0.7954 GB, free: 6.016 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003632/0.433, allocations: 72 kB / 0.7955 GB, free: 5.945 MB / 0.5606 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (15): * Single equations (assignments): 14 * Array equations: 1 * 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 Backend phase and start with SimCode phase: time 0.0002805/0.4332, allocations: 187.1 kB / 0.7957 GB, free: 5.754 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002182/0.4335, allocations: 111.8 kB / 0.7958 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.4335, allocations: 0.9375 kB / 0.7958 GB, free: 5.645 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.246e-05/0.4335, allocations: 43.92 kB / 0.7958 GB, free: 5.602 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.434, allocations: 63.81 kB / 0.7959 GB, free: 5.539 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006598/0.4346, allocations: 364.7 kB / 0.7962 GB, free: 5.152 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000257/0.4349, allocations: 0.7128 MB / 0.7969 GB, free: 4.414 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.034e-05/0.435, allocations: 27.44 kB / 0.797 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of SimCode: time 2.41e-07/0.435, allocations: 0 / 0.797 GB, free: 4.387 MB / 0.5606 GB Notification: Performance of Templates: time 0.005262/0.4402, allocations: 3.474 MB / 0.8003 GB, free: 0.9492 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)