Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.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/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT,fileNamePrefix="Buildings_9_Buildings_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.001262/0.001262, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001542/0.001542, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.455/1.455, allocations: 223.2 MB / 239.9 MB, free: 5.457 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.47/2.47, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003874, allocations: 11.94 kB / 0.8146 GB, free: 14.22 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8171/0.8175, allocations: 142.3 MB / 0.9536 GB, free: 8.07 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01404/0.8316, allocations: 11.17 MB / 0.9645 GB, free: 15.31 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002833/0.8345, allocations: 2.137 MB / 0.9666 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001096/0.8346, allocations: 1.344 kB / 0.9666 GB, free: 13.61 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0003207/0.835, allocations: 44.83 kB / 0.9666 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003272/0.8353, allocations: 73.47 kB / 0.9667 GB, free: 13.51 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001437/0.8367, allocations: 438.7 kB / 0.9671 GB, free: 13.19 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0002262/0.837, allocations: 158.3 kB / 0.9673 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.538e-05/0.837, allocations: 11.83 kB / 0.9673 GB, free: 13.1 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01154/0.8486, allocations: 4.297 MB / 0.9715 GB, free: 11.43 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002537/0.8489, allocations: 77.52 kB / 0.9715 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.451e-05/0.8489, allocations: 7.75 kB / 0.9715 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003052/0.852, allocations: 1.001 MB / 0.9725 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 6.899e-05/0.852, allocations: 34.52 kB / 0.9726 GB, free: 10.88 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.915e-05/0.8521, allocations: 52.86 kB / 0.9726 GB, free: 10.84 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005681/0.8527, allocations: 225.2 kB / 0.9728 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.776e-06/0.8527, allocations: 0 / 0.9728 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.924e-06/0.8527, allocations: 1.156 kB / 0.9728 GB, free: 10.71 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.8527, allocations: 0 / 0.9728 GB, free: 10.71 MB / 0.7325 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.000733/0.8535, allocations: 477.9 kB / 0.9733 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.603e-05/0.8535, allocations: 9.219 kB / 0.9733 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.476e-05/0.8536, allocations: 52.83 kB / 0.9733 GB, free: 10.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001608/0.8538, allocations: 28.48 kB / 0.9734 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.854, allocations: 211.9 kB / 0.9736 GB, free: 9.953 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.179e-05/0.8541, allocations: 14.52 kB / 0.9736 GB, free: 9.945 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.371e-05/0.8541, allocations: 14.91 kB / 0.9736 GB, free: 9.941 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004158/0.8545, allocations: 242.2 kB / 0.9738 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.218e-05/0.8545, allocations: 5.312 kB / 0.9738 GB, free: 9.766 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.627e-05/0.8546, allocations: 10.59 kB / 0.9738 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.686e-05/0.8546, allocations: 4.75 kB / 0.9738 GB, free: 9.758 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005283/0.8551, allocations: 432.3 kB / 0.9743 GB, free: 9.562 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001288/0.8564, allocations: 1.012 MB / 0.9752 GB, free: 8.57 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003555/0.8568, allocations: 161.9 kB / 0.9754 GB, free: 8.492 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/0.8584, allocations: 1.857 MB / 0.9772 GB, free: 6.367 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.843e-05/0.8584, allocations: 34.19 kB / 0.9772 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.293e-06/0.8585, allocations: 0 / 0.9772 GB, free: 6.328 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.000346/0.8588, allocations: 142.8 kB / 0.9774 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.67e-05/0.8589, allocations: 61.97 kB / 0.9774 GB, free: 6.18 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001614/0.859, allocations: 166.3 kB / 0.9776 GB, free: 6.043 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.978e-05/0.8591, allocations: 28.33 kB / 0.9776 GB, free: 6.012 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001048/0.8592, allocations: 142.2 kB / 0.9778 GB, free: 5.875 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.268e-05/0.8592, allocations: 59.02 kB / 0.9778 GB, free: 5.824 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.659e-06/0.8592, allocations: 5.406 kB / 0.9778 GB, free: 5.82 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.8594, allocations: 325.3 kB / 0.9781 GB, free: 5.496 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.552e-05/0.8595, allocations: 36.41 kB / 0.9782 GB, free: 5.48 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001331/0.8596, allocations: 132.1 kB / 0.9783 GB, free: 5.332 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.799e-05/0.8597, allocations: 61.16 kB / 0.9784 GB, free: 5.305 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.797e-06/0.8597, allocations: 4 kB / 0.9784 GB, free: 5.301 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003413/0.8601, allocations: 214.5 kB / 0.9786 GB, free: 5.184 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.955e-05/0.8601, allocations: 12.06 kB / 0.9786 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.578e-06/0.8601, allocations: 4.156 kB / 0.9786 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.76e-05/0.8601, allocations: 5.344 kB / 0.9786 GB, free: 5.18 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001918/0.8603, allocations: 61.25 kB / 0.9786 GB, free: 5.164 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.631e-05/0.8603, allocations: 9.406 kB / 0.9787 GB, free: 5.16 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.8605, allocations: 28.03 kB / 0.9787 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.043e-05/0.8605, allocations: 11.09 kB / 0.9787 GB, free: 5.141 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000128/0.8606, allocations: 139.5 kB / 0.9788 GB, free: 5.004 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.315e-05/0.8607, allocations: 17.16 kB / 0.9788 GB, free: 4.996 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003168/0.861, allocations: 165.4 kB / 0.979 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.861, allocations: 1.531 kB / 0.979 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.311e-06/0.861, allocations: 0 / 0.979 GB, free: 4.887 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/0.8611, allocations: 3.984 kB / 0.979 GB, free: 4.883 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002672/0.8613, allocations: 222.4 kB / 0.9792 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.8613, allocations: 0 / 0.9792 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001144/0.8615, allocations: 27.86 kB / 0.9792 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.986e-06/0.8615, allocations: 1.344 kB / 0.9792 GB, free: 4.641 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.283e-05/0.8615, allocations: 5.453 kB / 0.9792 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.413e-06/0.8615, allocations: 0 / 0.9792 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.8615, allocations: 1.125 kB / 0.9792 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002566/0.8618, allocations: 230 kB / 0.9795 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.8619, allocations: 121.9 kB / 0.9796 GB, free: 4.324 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.675e-05/0.8619, allocations: 5.344 kB / 0.9796 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000211/0.8621, allocations: 20.2 kB / 0.9796 GB, free: 4.312 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.627e-05/0.8622, allocations: 13.42 kB / 0.9796 GB, free: 4.305 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.8622, allocations: 14.72 kB / 0.9796 GB, free: 4.297 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 9.168e-05/0.8623, allocations: 122.4 kB / 0.9798 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/0.8623, allocations: 1.438 kB / 0.9798 GB, free: 4.199 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004302/0.8627, allocations: 81.98 kB / 0.9798 GB, free: 4.176 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007286/0.8635, allocations: 0.8314 MB / 0.9806 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002402/0.8637, allocations: 119.6 kB / 0.9808 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.8637, allocations: 0 / 0.9808 GB, free: 3.379 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.025e-05/0.8638, allocations: 45.05 kB / 0.9808 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004065/0.8642, allocations: 46.39 kB / 0.9808 GB, free: 3.34 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002335/0.8665, allocations: 3.269 MB / 0.984 GB, free: 16 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003456/0.8669, allocations: 0.7171 MB / 0.9847 GB, free: 15.25 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001959/0.8671, allocations: 53.72 kB / 0.9848 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.363e-05/0.8672, allocations: 47.42 kB / 0.9848 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of SimCode: time 6.61e-07/0.8672, allocations: 0 / 0.9848 GB, free: 15.15 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01612/0.8833, allocations: 4.977 MB / 0.9897 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001754/0.8835, allocations: 199.3 kB / 0.9899 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.834/2.717, allocations: 4 kB / 0.9899 GB, free: 10.11 MB / 0.7481 GB (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat --tempDir=temp_Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Media_Specialized_Water_Examples_WaterProperties_pT.fmu > Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Media.Specialized.Water.Examples.WaterProperties_pT_res.mat does not exist to compare? outputFormat=mat