Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT") translateModel(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.001534/0.001534, allocations: 103.2 kB / 16.27 MB, free: 6.398 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.001655/0.001655, allocations: 189.6 kB / 17.2 MB, free: 5.938 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.45/1.45, allocations: 222.9 MB / 240.9 MB, free: 15.33 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7664/0.7664, allocations: 122.9 MB / 413.9 MB, free: 15.95 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001356/0.001356, allocations: 59.89 kB / 0.4911 GB, free: 7.48 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3857/0.3871, allocations: 77.93 MB / 0.5672 GB, free: 32.68 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01455/0.4017, allocations: 12.95 MB / 0.5798 GB, free: 23.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002286/0.404, allocations: 2.675 MB / 0.5825 GB, free: 21.94 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.632e-05/0.4041, allocations: 1.375 kB / 0.5825 GB, free: 21.94 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002582/0.4045, allocations: 45.05 kB / 0.5825 GB, free: 21.92 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002547/0.4047, allocations: 101.1 kB / 0.5826 GB, free: 21.86 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001108/0.4058, allocations: 0.4975 MB / 0.5831 GB, free: 21.6 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002102/0.4061, allocations: 231.8 kB / 0.5833 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.604e-05/0.4061, allocations: 12.31 kB / 0.5833 GB, free: 21.48 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.008536/0.4146, allocations: 3.587 MB / 0.5868 GB, free: 19.12 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.4149, allocations: 89.2 kB / 0.5869 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.743e-05/0.4149, allocations: 9.031 kB / 0.5869 GB, free: 19.07 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003009/0.4179, allocations: 1.068 MB / 0.588 GB, free: 18.5 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 6.418e-05/0.418, allocations: 39.45 kB / 0.588 GB, free: 18.47 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001005/0.4181, allocations: 83.89 kB / 0.5881 GB, free: 18.42 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008132/0.4189, allocations: 365.5 kB / 0.5884 GB, free: 18.22 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.4189, allocations: 1.375 kB / 0.5884 GB, free: 18.22 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.4189, allocations: 0 / 0.5884 GB, free: 18.22 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.432e-06/0.4189, allocations: 0 / 0.5884 GB, free: 18.22 MB / 446.1 MB 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.0006401/0.4196, allocations: 0.4981 MB / 0.5889 GB, free: 17.75 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.694e-05/0.4196, allocations: 9.719 kB / 0.5889 GB, free: 17.75 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001778/0.4198, allocations: 25.84 kB / 0.5889 GB, free: 17.73 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001723/0.42, allocations: 224.9 kB / 0.5892 GB, free: 17.49 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.324e-05/0.42, allocations: 12.27 kB / 0.5892 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.42, allocations: 13.84 kB / 0.5892 GB, free: 17.48 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003368/0.4204, allocations: 249.6 kB / 0.5894 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.262e-05/0.4204, allocations: 1.25 kB / 0.5894 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.493e-05/0.4204, allocations: 10.91 kB / 0.5894 GB, free: 17.3 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.497e-05/0.4205, allocations: 8.438 kB / 0.5894 GB, free: 17.29 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004388/0.4209, allocations: 433.6 kB / 0.5899 GB, free: 17.1 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008985/0.4218, allocations: 0.9611 MB / 0.5908 GB, free: 16.16 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002818/0.4221, allocations: 161.5 kB / 0.5909 GB, free: 16.08 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001016/0.4222, allocations: 63.67 kB / 0.591 GB, free: 16.05 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0009514/0.4232, allocations: 1.839 MB / 0.5928 GB, free: 13.94 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.4232, allocations: 37.08 kB / 0.5928 GB, free: 13.9 MB / 446.1 MB Notification: Performance of pre-optimization done (n=15): time 1.343e-06/0.4232, allocations: 0 / 0.5928 GB, free: 13.9 MB / 446.1 MB Notification: Performance of matching and sorting (n=15): time 0.0003193/0.4236, allocations: 139.5 kB / 0.593 GB, free: 13.82 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.549e-05/0.4236, allocations: 58 kB / 0.593 GB, free: 13.76 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001367/0.4237, allocations: 172.5 kB / 0.5932 GB, free: 13.61 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.4238, allocations: 36.52 kB / 0.5932 GB, free: 13.57 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.4239, allocations: 142.5 kB / 0.5934 GB, free: 13.44 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.552e-05/0.4239, allocations: 50.75 kB / 0.5934 GB, free: 13.39 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.893e-05/0.424, allocations: 52.8 kB / 0.5935 GB, free: 13.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.586e-05/0.4241, allocations: 330.3 kB / 0.5938 GB, free: 13.03 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.583e-05/0.4241, allocations: 37.55 kB / 0.5938 GB, free: 13.01 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001172/0.4243, allocations: 140.5 kB / 0.5939 GB, free: 12.86 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002045/0.4245, allocations: 198 kB / 0.5941 GB, free: 12.67 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.4245, allocations: 1.375 kB / 0.5941 GB, free: 12.67 MB / 446.1 MB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003002/0.4248, allocations: 221.6 kB / 0.5943 GB, free: 12.55 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.573e-05/0.4248, allocations: 6.406 kB / 0.5943 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4248, allocations: 3.719 kB / 0.5944 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.982e-05/0.4249, allocations: 6.094 kB / 0.5944 GB, free: 12.55 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001645/0.425, allocations: 52.95 kB / 0.5944 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.425, allocations: 8.281 kB / 0.5944 GB, free: 12.54 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001052/0.4252, allocations: 25.28 kB / 0.5944 GB, free: 12.52 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.978e-05/0.4252, allocations: 22.64 kB / 0.5945 GB, free: 12.51 MB / 446.1 MB 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 8.472e-05/0.4253, allocations: 130.7 kB / 0.5946 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.114e-05/0.4253, allocations: 11.69 kB / 0.5946 GB, free: 12.38 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002834/0.4256, allocations: 157.9 kB / 0.5947 GB, free: 12.29 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.008e-05/0.4256, allocations: 5.656 kB / 0.5948 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.4256, allocations: 0 / 0.5948 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.519e-06/0.4257, allocations: 5.641 kB / 0.5948 GB, free: 12.28 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000191/0.4259, allocations: 212.6 kB / 0.595 GB, free: 12.05 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.463e-06/0.4259, allocations: 9.25 kB / 0.595 GB, free: 12.04 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.101e-05/0.426, allocations: 26.55 kB / 0.595 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.426, allocations: 5.406 kB / 0.595 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.086e-05/0.426, allocations: 1.188 kB / 0.595 GB, free: 12.03 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.686e-06/0.426, allocations: 5.031 kB / 0.595 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.426, allocations: 0 / 0.595 GB, free: 12.02 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000233/0.4262, allocations: 224.7 kB / 0.5952 GB, free: 11.84 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.352e-05/0.4263, allocations: 110.7 kB / 0.5953 GB, free: 11.73 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.013e-05/0.4264, allocations: 13.17 kB / 0.5953 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002037/0.4266, allocations: 15.75 kB / 0.5954 GB, free: 11.71 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.651e-05/0.4266, allocations: 12.52 kB / 0.5954 GB, free: 11.7 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.261e-05/0.4266, allocations: 15.36 kB / 0.5954 GB, free: 11.69 MB / 446.1 MB Notification: Performance of sorting global known variables: time 7.636e-05/0.4267, allocations: 117.1 kB / 0.5955 GB, free: 11.6 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4267, allocations: 0 / 0.5955 GB, free: 11.6 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004414/0.4272, allocations: 81.77 kB / 0.5956 GB, free: 11.58 MB / 446.1 MB 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.0003778/0.4276, allocations: 183.9 kB / 0.5957 GB, free: 11.45 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002586/0.4278, allocations: 127.2 kB / 0.5959 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.4278, allocations: 4.062 kB / 0.5959 GB, free: 11.4 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 7.085e-05/0.4279, allocations: 44.73 kB / 0.5959 GB, free: 11.38 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004458/0.4284, allocations: 49.61 kB / 0.596 GB, free: 11.36 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006921/0.4291, allocations: 349.6 kB / 0.5963 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001509/0.4292, allocations: 0.7192 MB / 0.597 GB, free: 10.39 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0001818/0.4294, allocations: 51 kB / 0.597 GB, free: 10.38 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.031e-05/0.4295, allocations: 21.12 kB / 0.5971 GB, free: 10.37 MB / 446.1 MB Notification: Performance of SimCode: time 2.31e-07/0.4295, allocations: 0 / 0.5971 GB, free: 10.37 MB / 446.1 MB Notification: Performance of Templates: time 0.006494/0.436, allocations: 3.639 MB / 0.6006 GB, free: 7.816 MB / 446.1 MB make -j1 -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.makefile (rm -f IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.sim & ./IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)