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: "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00162/0.001626, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001927/0.001927, allocations: 194.6 kB / 16.53 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.018/2.018, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002344/0.002344, allocations: 283.1 kB / 290.7 MB, free: 2 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.276/1.276, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003207/0.003207, allocations: 94.61 kB / 0.5953 GB, free: 27.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2566/0.2598, allocations: 86.98 MB / 0.6803 GB, free: 0.5781 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.0272/0.2871, allocations: 12.95 MB / 0.6929 GB, free: 3.578 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004621/0.2918, allocations: 2.675 MB / 0.6955 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000178/0.292, allocations: 0 / 0.6955 GB, free: 0.8945 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003591/0.2924, allocations: 47.67 kB / 0.6956 GB, free: 0.8477 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004836/0.2929, allocations: 95.36 kB / 0.6957 GB, free: 0.7539 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002084/0.295, allocations: 0.4982 MB / 0.6962 GB, free: 264 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004404/0.2955, allocations: 224 kB / 0.6964 GB, free: 36 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.908e-05/0.2955, allocations: 13.55 kB / 0.6964 GB, free: 24 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01433/0.3099, allocations: 3.587 MB / 0.6999 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3102, allocations: 87.66 kB / 0.7 GB, free: 12.33 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.259e-05/0.3103, allocations: 11.94 kB / 0.7 GB, free: 12.32 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004194/0.3145, allocations: 1.079 MB / 0.701 GB, free: 11.24 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.3146, allocations: 35.89 kB / 0.7011 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001708/0.3148, allocations: 79.66 kB / 0.7012 GB, free: 11.12 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001402/0.3162, allocations: 359.1 kB / 0.7015 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.3162, allocations: 0 / 0.7015 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.783e-06/0.3162, allocations: 11.94 kB / 0.7015 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.294e-06/0.3163, allocations: 0 / 0.7015 GB, free: 10.76 MB / 0.4981 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.001167/0.3174, allocations: 0.5031 MB / 0.702 GB, free: 10.21 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.833e-05/0.3175, allocations: 12.03 kB / 0.702 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001013/0.3176, allocations: 54.67 kB / 0.7021 GB, free: 10.14 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003029/0.3179, allocations: 24.75 kB / 0.7021 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003349/0.3183, allocations: 220.1 kB / 0.7023 GB, free: 9.859 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.385e-05/0.3183, allocations: 8.703 kB / 0.7023 GB, free: 9.852 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.329e-05/0.3184, allocations: 16.38 kB / 0.7023 GB, free: 9.836 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006093/0.319, allocations: 252.6 kB / 0.7026 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.652e-05/0.319, allocations: 4 kB / 0.7026 GB, free: 9.566 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.656e-05/0.3191, allocations: 7.984 kB / 0.7026 GB, free: 9.559 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.013e-05/0.3191, allocations: 8 kB / 0.7026 GB, free: 9.551 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008223/0.3199, allocations: 427.3 kB / 0.703 GB, free: 9.133 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001758/0.3217, allocations: 0.9605 MB / 0.7039 GB, free: 8.082 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004582/0.3222, allocations: 167.6 kB / 0.7041 GB, free: 7.91 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001744/0.3224, allocations: 62.16 kB / 0.7041 GB, free: 7.848 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00219/0.3246, allocations: 1.829 MB / 0.7059 GB, free: 5.66 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.547e-05/0.3246, allocations: 38.56 kB / 0.706 GB, free: 5.613 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 2.245e-06/0.3246, allocations: 4 kB / 0.706 GB, free: 5.609 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0005627/0.3252, allocations: 150.8 kB / 0.7061 GB, free: 5.457 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.37e-05/0.3253, allocations: 55.41 kB / 0.7062 GB, free: 5.391 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002143/0.3255, allocations: 170.8 kB / 0.7063 GB, free: 5.215 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.636e-05/0.3256, allocations: 37.69 kB / 0.7064 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000115/0.3257, allocations: 135.8 kB / 0.7065 GB, free: 5.035 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 5.844e-05/0.3258, allocations: 51.25 kB / 0.7066 GB, free: 4.984 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.93e-05/0.3259, allocations: 53.61 kB / 0.7066 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001475/0.3261, allocations: 330.8 kB / 0.7069 GB, free: 4.594 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.859e-05/0.3262, allocations: 31.98 kB / 0.7069 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001932/0.3264, allocations: 145.7 kB / 0.7071 GB, free: 4.371 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003314/0.3267, allocations: 207.8 kB / 0.7073 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.3267, allocations: 0 / 0.7073 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0005022/0.3272, allocations: 205.2 kB / 0.7075 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.005e-05/0.3273, allocations: 4.469 kB / 0.7075 GB, free: 3.91 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.065e-05/0.3273, allocations: 8 kB / 0.7075 GB, free: 3.902 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.575e-05/0.3273, allocations: 11.94 kB / 0.7075 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002422/0.3276, allocations: 55.91 kB / 0.7076 GB, free: 3.836 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.785e-05/0.3276, allocations: 7.938 kB / 0.7076 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001794/0.3278, allocations: 31.62 kB / 0.7076 GB, free: 3.797 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.842e-05/0.3278, allocations: 12 kB / 0.7076 GB, free: 3.785 MB / 0.4981 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.0001652/0.328, allocations: 141.7 kB / 0.7077 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.38e-05/0.3281, allocations: 15.81 kB / 0.7078 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00042/0.3285, allocations: 155 kB / 0.7079 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.3286, allocations: 3.938 kB / 0.7079 GB, free: 3.465 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.06e-05/0.3286, allocations: 4 kB / 0.7079 GB, free: 3.461 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3286, allocations: 3.938 kB / 0.7079 GB, free: 3.457 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003593/0.329, allocations: 217.5 kB / 0.7081 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.627e-06/0.329, allocations: 3.938 kB / 0.7081 GB, free: 3.191 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001308/0.3291, allocations: 23.98 kB / 0.7081 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.569e-06/0.3291, allocations: 0 / 0.7081 GB, free: 3.168 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.3291, allocations: 4 kB / 0.7082 GB, free: 3.164 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.941e-06/0.3292, allocations: 3.938 kB / 0.7082 GB, free: 3.16 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-06/0.3292, allocations: 8 kB / 0.7082 GB, free: 3.152 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003682/0.3296, allocations: 225.2 kB / 0.7084 GB, free: 2.918 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001443/0.3297, allocations: 104.9 kB / 0.7085 GB, free: 2.797 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.687e-05/0.3298, allocations: 4 kB / 0.7085 GB, free: 2.793 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000288/0.3301, allocations: 15.92 kB / 0.7085 GB, free: 2.777 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.248e-05/0.3301, allocations: 11.98 kB / 0.7085 GB, free: 2.766 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.116e-05/0.3301, allocations: 11.98 kB / 0.7085 GB, free: 2.754 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0001308/0.3303, allocations: 125.1 kB / 0.7086 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.9e-07/0.3303, allocations: 0 / 0.7086 GB, free: 2.633 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006786/0.331, allocations: 75.91 kB / 0.7087 GB, free: 2.559 MB / 0.4981 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.001169/0.3322, allocations: 0.8332 MB / 0.7095 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0004111/0.3326, allocations: 130.7 kB / 0.7097 GB, free: 1.574 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/0.3326, allocations: 8.25 kB / 0.7097 GB, free: 1.566 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.3327, allocations: 43.92 kB / 0.7097 GB, free: 1.523 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000706/0.3334, allocations: 56.62 kB / 0.7098 GB, free: 1.469 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003497/0.3369, allocations: 2.028 MB / 0.7117 GB, free: 15.27 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003834/0.3373, allocations: 0.7089 MB / 0.7124 GB, free: 14.54 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0003227/0.3377, allocations: 53 kB / 0.7125 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001104/0.3378, allocations: 47.41 kB / 0.7125 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of SimCode: time 3.61e-07/0.3378, allocations: 0 / 0.7125 GB, free: 14.44 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03788/0.3757, allocations: 5.461 MB / 0.7179 GB, free: 9.141 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.82/11.2, allocations: 7.875 kB / 0.7179 GB, free: 9.133 MB / 0.5137 GB (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 & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)