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.001167/0.001167, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001105/0.001105, allocations: 197.1 kB / 16.25 MB, free: 6.621 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.202/1.202, allocations: 222.9 MB / 239.9 MB, free: 4.562 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001942/0.001942, allocations: 282.5 kB / 290.3 MB, free: 2.172 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8674/0.8674, allocations: 169.2 MB / 0.4978 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 94.03 kB / 0.5948 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1262/0.1277, allocations: 86.98 MB / 0.6797 GB, free: 0.9648 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01335/0.1411, allocations: 13.09 MB / 0.6925 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002269/0.1434, allocations: 2.656 MB / 0.6951 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.235e-05/0.1435, allocations: 0 / 0.6951 GB, free: 1.164 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002144/0.1438, allocations: 47.67 kB / 0.6952 GB, free: 1.117 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002105/0.144, allocations: 91.48 kB / 0.6952 GB, free: 1.027 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008611/0.1448, allocations: 475.5 kB / 0.6957 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001927/0.145, allocations: 231.9 kB / 0.6959 GB, free: 344 kB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.66e-05/0.1451, allocations: 9.562 kB / 0.6959 GB, free: 336 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005958/0.151, allocations: 3.353 MB / 0.6992 GB, free: 12.96 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001082/0.1512, allocations: 99.59 kB / 0.6993 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.871e-05/0.1512, allocations: 8 kB / 0.6993 GB, free: 12.85 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001761/0.153, allocations: 1.047 MB / 0.7003 GB, free: 11.8 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.174e-05/0.153, allocations: 43.88 kB / 0.7004 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 6.956e-05/0.1531, allocations: 79.66 kB / 0.7004 GB, free: 11.68 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0004325/0.1535, allocations: 371 kB / 0.7008 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1536, allocations: 3.984 kB / 0.7008 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.062e-06/0.1536, allocations: 0 / 0.7008 GB, free: 11.32 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.87e-06/0.1536, allocations: 0 / 0.7008 GB, free: 11.32 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.0006007/0.1542, allocations: 0.5031 MB / 0.7013 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.198e-05/0.1542, allocations: 12.03 kB / 0.7013 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.398e-05/0.1543, allocations: 50.73 kB / 0.7014 GB, free: 10.7 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001363/0.1544, allocations: 20.75 kB / 0.7014 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001688/0.1546, allocations: 224.1 kB / 0.7016 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.293e-05/0.1546, allocations: 12.7 kB / 0.7016 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.061e-05/0.1546, allocations: 24.31 kB / 0.7016 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003204/0.1549, allocations: 240.7 kB / 0.7019 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.155, allocations: 0 / 0.7019 GB, free: 10.13 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.176e-05/0.155, allocations: 12 kB / 0.7019 GB, free: 10.12 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.021e-05/0.155, allocations: 4 kB / 0.7019 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000412/0.1554, allocations: 439.3 kB / 0.7023 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009305/0.1564, allocations: 0.9605 MB / 0.7032 GB, free: 8.633 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.1566, allocations: 165.8 kB / 0.7034 GB, free: 8.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.602e-05/0.1567, allocations: 62.19 kB / 0.7034 GB, free: 8.402 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001081/0.1578, allocations: 1.833 MB / 0.7052 GB, free: 6.211 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.857e-05/0.1578, allocations: 34.56 kB / 0.7053 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=15): time 1.363e-06/0.1578, allocations: 0 / 0.7053 GB, free: 6.168 MB / 0.4981 GB Notification: Performance of matching and sorting (n=15): time 0.0002847/0.1581, allocations: 155.6 kB / 0.7054 GB, free: 6.012 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.794e-05/0.1582, allocations: 51.41 kB / 0.7055 GB, free: 5.949 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001181/0.1583, allocations: 168.9 kB / 0.7056 GB, free: 5.773 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.067e-05/0.1583, allocations: 33.64 kB / 0.7057 GB, free: 5.734 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.983e-05/0.1584, allocations: 139.8 kB / 0.7058 GB, free: 5.59 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.209e-05/0.1584, allocations: 55.23 kB / 0.7058 GB, free: 5.535 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.1585, allocations: 61.61 kB / 0.7059 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 8.436e-05/0.1586, allocations: 322.8 kB / 0.7062 GB, free: 5.145 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.759e-05/0.1586, allocations: 35.92 kB / 0.7062 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001144/0.1588, allocations: 143.5 kB / 0.7064 GB, free: 4.922 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.159, allocations: 199 kB / 0.7066 GB, free: 4.68 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.159, allocations: 4 kB / 0.7066 GB, free: 4.676 MB / 0.4981 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002752/0.1593, allocations: 205.6 kB / 0.7068 GB, free: 4.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.502e-05/0.1593, allocations: 12 kB / 0.7068 GB, free: 4.457 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.1593, allocations: 4 kB / 0.7068 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.497e-05/0.1593, allocations: 11.92 kB / 0.7068 GB, free: 4.441 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001481/0.1595, allocations: 47.92 kB / 0.7068 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.294e-06/0.1595, allocations: 8 kB / 0.7068 GB, free: 4.387 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001045/0.1596, allocations: 27.69 kB / 0.7069 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.959e-05/0.1596, allocations: 19.98 kB / 0.7069 GB, free: 4.34 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 8.691e-05/0.1597, allocations: 137.6 kB / 0.707 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.732e-05/0.1598, allocations: 19.81 kB / 0.707 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002599/0.16, allocations: 152.8 kB / 0.7072 GB, free: 4.027 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.676e-06/0.16, allocations: 3.938 kB / 0.7072 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.16, allocations: 0 / 0.7072 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.348e-06/0.1601, allocations: 3.984 kB / 0.7072 GB, free: 4.02 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.1603, allocations: 213.5 kB / 0.7074 GB, free: 3.762 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.1603, allocations: 4 kB / 0.7074 GB, free: 3.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.47e-05/0.1604, allocations: 27.92 kB / 0.7074 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.218e-06/0.1604, allocations: 8 kB / 0.7074 GB, free: 3.723 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.867e-06/0.1604, allocations: 4 kB / 0.7074 GB, free: 3.719 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.1604, allocations: 3.938 kB / 0.7074 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1604, allocations: 0 / 0.7074 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002069/0.1606, allocations: 223.3 kB / 0.7077 GB, free: 3.48 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.1607, allocations: 104.9 kB / 0.7078 GB, free: 3.359 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.365e-05/0.1607, allocations: 4 kB / 0.7078 GB, free: 3.355 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001944/0.1609, allocations: 15.92 kB / 0.7078 GB, free: 3.34 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.1609, allocations: 19.98 kB / 0.7078 GB, free: 3.32 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.937e-05/0.161, allocations: 11.98 kB / 0.7078 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.833e-05/0.161, allocations: 119.2 kB / 0.7079 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1611, allocations: 0 / 0.7079 GB, free: 3.195 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0003393/0.1614, allocations: 83.89 kB / 0.708 GB, free: 3.113 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.0006084/0.162, allocations: 0.831 MB / 0.7088 GB, free: 2.258 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0002118/0.1622, allocations: 137.9 kB / 0.7089 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1622, allocations: 0 / 0.7089 GB, free: 2.125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 5.96e-05/0.1623, allocations: 39.98 kB / 0.709 GB, free: 2.086 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003898/0.1627, allocations: 60.38 kB / 0.709 GB, free: 2.027 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001768/0.1645, allocations: 2.072 MB / 0.7111 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002052/0.1647, allocations: 0.7207 MB / 0.7118 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0001649/0.1649, allocations: 48.86 kB / 0.7118 GB, free: 15 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.108e-05/0.1649, allocations: 55.36 kB / 0.7119 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of SimCode: time 2.3e-07/0.1649, allocations: 0 / 0.7119 GB, free: 14.95 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.648/1.813, allocations: 5.36 MB / 0.7171 GB, free: 9.793 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002288/1.813, allocations: 222.2 kB / 0.7173 GB, free: 9.539 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.788/3.601, allocations: 0 / 0.7173 GB, free: 9.539 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > BuildingSystems_BuildingSystems.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1)