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.0007982/0.0007981, allocations: 90.75 kB / 15.06 MB, free: 1.098 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.0008863/0.0008863, allocations: 172.7 kB / 15.95 MB, free: 208 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.445/1.445, allocations: 223.3 MB / 240 MB, free: 5.348 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.578/2.578, allocations: 390.4 MB / 0.6655 GB, free: 2.906 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003903/0.0003907, allocations: 8 kB / 0.8149 GB, free: 14.14 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7805/0.7809, allocations: 142.3 MB / 0.9538 GB, free: 8.113 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.WaterProperties_pT): time 0.01299/0.7939, allocations: 12.01 MB / 0.9656 GB, free: 14.56 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002908/0.7969, allocations: 2.453 MB / 0.968 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001716/0.7971, allocations: 1.062 kB / 0.968 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0002938/0.7974, allocations: 36.44 kB / 0.968 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0003559/0.7978, allocations: 95 kB / 0.9681 GB, free: 12.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001344/0.7991, allocations: 406.5 kB / 0.9685 GB, free: 12.18 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0003868/0.7995, allocations: 266.9 kB / 0.9687 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 6.405e-05/0.7996, allocations: 15.58 kB / 0.9688 GB, free: 12.02 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01239/0.812, allocations: 4.377 MB / 0.973 GB, free: 10.34 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003203/0.8124, allocations: 90.81 kB / 0.9731 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 2.747e-05/0.8124, allocations: 11.25 kB / 0.9731 GB, free: 10.29 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00315/0.8156, allocations: 0.9321 MB / 0.974 GB, free: 9.832 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.491e-05/0.8156, allocations: 42.06 kB / 0.9741 GB, free: 9.801 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 8.612e-05/0.8157, allocations: 53.17 kB / 0.9741 GB, free: 9.762 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005182/0.8163, allocations: 222.5 kB / 0.9743 GB, free: 9.641 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.432e-06/0.8163, allocations: 9.438 kB / 0.9743 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8163, allocations: 0 / 0.9743 GB, free: 9.633 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.8163, allocations: 0 / 0.9743 GB, free: 9.633 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.000737/0.817, allocations: 470.2 kB / 0.9748 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.619e-05/0.8171, allocations: 8.781 kB / 0.9748 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.628e-05/0.8172, allocations: 53.14 kB / 0.9749 GB, free: 9.129 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001524/0.8173, allocations: 20.59 kB / 0.9749 GB, free: 9.121 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002275/0.8176, allocations: 212.5 kB / 0.9751 GB, free: 8.887 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.8176, allocations: 13.86 kB / 0.9751 GB, free: 8.879 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.494e-05/0.8176, allocations: 18.97 kB / 0.9751 GB, free: 8.871 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000406/0.818, allocations: 243.7 kB / 0.9753 GB, free: 8.699 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.818, allocations: 5.094 kB / 0.9753 GB, free: 8.695 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.67e-05/0.8181, allocations: 10.42 kB / 0.9754 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.992e-05/0.8181, allocations: 5.281 kB / 0.9754 GB, free: 8.688 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005469/0.8187, allocations: 435.9 kB / 0.9758 GB, free: 8.488 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001193/0.8199, allocations: 0.9662 MB / 0.9767 GB, free: 7.543 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000268/0.8201, allocations: 152.7 kB / 0.9769 GB, free: 7.473 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001127/0.8203, allocations: 67.91 kB / 0.9769 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001435/0.8217, allocations: 1.827 MB / 0.9787 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.244e-05/0.8218, allocations: 41.06 kB / 0.9788 GB, free: 5.293 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.8218, allocations: 3.938 kB / 0.9788 GB, free: 5.289 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0003498/0.8221, allocations: 139.2 kB / 0.9789 GB, free: 5.215 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.682e-05/0.8222, allocations: 52.88 kB / 0.9789 GB, free: 5.152 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001605/0.8223, allocations: 174.5 kB / 0.9791 GB, free: 5.008 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.8224, allocations: 31.28 kB / 0.9791 GB, free: 4.973 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.433e-05/0.8225, allocations: 140.2 kB / 0.9793 GB, free: 4.84 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.069e-05/0.8225, allocations: 54.25 kB / 0.9793 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.418e-06/0.8225, allocations: 9.406 kB / 0.9793 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001244/0.8227, allocations: 325.9 kB / 0.9796 GB, free: 4.461 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.803e-05/0.8227, allocations: 31.8 kB / 0.9797 GB, free: 4.449 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001449/0.8229, allocations: 152.3 kB / 0.9798 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.846e-05/0.823, allocations: 55.11 kB / 0.9799 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.627e-06/0.823, allocations: 2.094 kB / 0.9799 GB, free: 4.258 MB / 0.7325 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003086/0.8233, allocations: 207.8 kB / 0.9801 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.8233, allocations: 7.406 kB / 0.9801 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.8234, allocations: 3.969 kB / 0.9801 GB, free: 4.148 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.059e-05/0.8234, allocations: 10.58 kB / 0.9801 GB, free: 4.145 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/0.8236, allocations: 48.08 kB / 0.9801 GB, free: 4.137 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.384e-05/0.8236, allocations: 9.625 kB / 0.9801 GB, free: 4.133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001159/0.8237, allocations: 32.72 kB / 0.9802 GB, free: 4.109 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.018e-05/0.8237, allocations: 18.77 kB / 0.9802 GB, free: 4.102 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.0001182/0.8239, allocations: 138.4 kB / 0.9803 GB, free: 3.961 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.395e-05/0.8239, allocations: 17.31 kB / 0.9803 GB, free: 3.953 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002993/0.8242, allocations: 159.8 kB / 0.9805 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.048e-05/0.8242, allocations: 1.5 kB / 0.9805 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.16e-06/0.8242, allocations: 0 / 0.9805 GB, free: 3.852 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.082e-06/0.8242, allocations: 5.547 kB / 0.9805 GB, free: 3.848 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.8245, allocations: 206 kB / 0.9807 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.8245, allocations: 0 / 0.9807 GB, free: 3.625 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.019e-05/0.8246, allocations: 30.61 kB / 0.9807 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.8246, allocations: 5.062 kB / 0.9807 GB, free: 3.609 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.243e-05/0.8246, allocations: 5.578 kB / 0.9807 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.8246, allocations: 1 kB / 0.9807 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.8246, allocations: 0 / 0.9807 GB, free: 3.605 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002427/0.8249, allocations: 229.3 kB / 0.981 GB, free: 3.422 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.825, allocations: 114.5 kB / 0.9811 GB, free: 3.301 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.571e-05/0.825, allocations: 5.25 kB / 0.9811 GB, free: 3.297 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001925/0.8252, allocations: 24.14 kB / 0.9811 GB, free: 3.285 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.417e-05/0.8253, allocations: 9.484 kB / 0.9811 GB, free: 3.281 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.317e-05/0.8253, allocations: 14.64 kB / 0.9811 GB, free: 3.273 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 8.533e-05/0.8254, allocations: 118.6 kB / 0.9812 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8254, allocations: 0 / 0.9812 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004116/0.8258, allocations: 81.95 kB / 0.9813 GB, free: 3.156 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.0006848/0.8265, allocations: 0.8311 MB / 0.9821 GB, free: 2.32 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0002254/0.8267, allocations: 122.2 kB / 0.9822 GB, free: 2.203 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.8267, allocations: 3.938 kB / 0.9822 GB, free: 2.199 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 6.215e-05/0.8268, allocations: 39.98 kB / 0.9823 GB, free: 2.16 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004509/0.8273, allocations: 52.7 kB / 0.9823 GB, free: 2.109 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001449/0.8287, allocations: 1.024 MB / 0.9833 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002795/0.829, allocations: 0.7133 MB / 0.984 GB, free: 256 kB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0001767/0.8292, allocations: 49.69 kB / 0.9841 GB, free: 208 kB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.8293, allocations: 47.42 kB / 0.9841 GB, free: 160 kB / 0.7325 GB Notification: Performance of SimCode: time 4.91e-07/0.8293, allocations: 0 / 0.9841 GB, free: 160 kB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01742/0.8467, allocations: 5.029 MB / 0.989 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002001/0.847, allocations: 190 kB / 0.9892 GB, free: 11.08 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.854/2.701, allocations: 0 / 0.9892 GB, free: 11.08 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