Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.289/2.289, allocations: 390.5 MB / 398 MB, free: 10.96 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001087/0.001087, allocations: 179.6 kB / 491.2 MB, free: 1.609 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.608/1.608, allocations: 221.5 MB / 0.7868 GB, free: 13.27 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001241/0.001241, allocations: 93.77 kB / 0.9269 GB, free: 13.77 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.208e-05/2.208e-05, allocations: 6.625 kB / 1.073 GB, free: 181.9 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3691, allocations: 143 MB / 1.212 GB, free: 39.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.356/1.725, allocations: 437 MB / 1.639 GB, free: 10.01 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002519/1.725, allocations: 92.66 kB / 1.639 GB, free: 9.965 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.478/6.203, allocations: 1.062 GB / 2.701 GB, free: 160.4 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.503e-06/6.203, allocations: 0 / 2.701 GB, free: 160.4 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002537/6.203, allocations: 82.34 kB / 2.701 GB, free: 160.4 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 579 * Number of variables: 579 Notification: Performance of Generate backend data structure: time 0.00666/6.21, allocations: 3.184 MB / 2.704 GB, free: 159.3 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/6.21, allocations: 13.05 kB / 2.704 GB, free: 159.3 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009134/6.219, allocations: 1.314 MB / 2.705 GB, free: 159.1 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00683/6.226, allocations: 3.317 MB / 2.709 GB, free: 158.7 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000187/6.226, allocations: 174.2 kB / 2.709 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003233/6.227, allocations: 137.3 kB / 2.709 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003425/6.23, allocations: 2.017 MB / 2.711 GB, free: 158.6 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003696/6.234, allocations: 2.507 MB / 2.713 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.929e-05/6.234, allocations: 9.906 kB / 2.713 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002451/6.234, allocations: 7.375 kB / 2.713 GB, free: 158.1 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.607e-05/6.234, allocations: 60.34 kB / 2.713 GB, free: 158.1 MB / 1.167 GB Warning: The model contains alias variables with conflicting start and/or nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01637/6.251, allocations: 12.98 MB / 2.726 GB, free: 152.4 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/6.252, allocations: 1.181 MB / 2.727 GB, free: 152.2 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007204/6.253, allocations: 0.601 MB / 2.728 GB, free: 152.2 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001372/6.254, allocations: 1.779 MB / 2.729 GB, free: 150.2 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001145/6.255, allocations: 0.9353 MB / 2.73 GB, free: 149.9 MB / 1.167 GB Notification: Performance of pre-optimization done (n=118): time 4.027e-06/6.255, allocations: 0 / 2.73 GB, free: 149.9 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.02115/6.276, allocations: 10.57 MB / 2.741 GB, free: 143.9 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001902/6.277, allocations: 0.9348 MB / 2.742 GB, free: 142.8 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002379/6.279, allocations: 1.84 MB / 2.743 GB, free: 142.5 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0002473/6.279, allocations: 29.58 kB / 2.743 GB, free: 142.5 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009533/6.28, allocations: 1.392 MB / 2.745 GB, free: 141.9 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/6.28, allocations: 406.4 kB / 2.745 GB, free: 141.7 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001121/6.281, allocations: 0 / 2.745 GB, free: 141.7 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 9.101e-05/6.281, allocations: 365.5 kB / 2.746 GB, free: 141.4 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000939/6.282, allocations: 0.6034 MB / 2.746 GB, free: 141.4 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/6.283, allocations: 1.221 MB / 2.747 GB, free: 140.7 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00342/6.286, allocations: 0.9734 MB / 2.748 GB, free: 140.7 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/6.286, allocations: 3.938 kB / 2.748 GB, free: 140.7 MB / 1.167 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.005743/6.292, allocations: 2.396 MB / 2.751 GB, free: 140.5 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008383/6.293, allocations: 5.12 MB / 2.756 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/6.293, allocations: 11.53 kB / 2.756 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001674/6.295, allocations: 0.8917 MB / 2.756 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002202/6.297, allocations: 455.8 kB / 2.757 GB, free: 135 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002693/6.3, allocations: 2.318 MB / 2.759 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004671/6.304, allocations: 374.6 kB / 2.76 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002538/6.305, allocations: 113.4 kB / 2.76 GB, free: 133.9 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/6.305, allocations: 2.906 kB / 2.76 GB, free: 133.9 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00541/6.31, allocations: 2.118 MB / 2.762 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.602e-05/6.31, allocations: 11.31 kB / 2.762 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00163/6.312, allocations: 0.8907 MB / 2.763 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002269/6.314, allocations: 431.7 kB / 2.763 GB, free: 133.8 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002998/6.317, allocations: 2.329 MB / 2.765 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005118/6.322, allocations: 313.6 kB / 2.766 GB, free: 132.7 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000517/6.323, allocations: 109.6 kB / 2.766 GB, free: 132.7 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (148): * Single equations (assignments): 145 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {5 24,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.000622/6.323, allocations: 164.9 kB / 2.766 GB, free: 132.6 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01397/6.337, allocations: 2.437 MB / 2.768 GB, free: 132.4 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001016/6.338, allocations: 245.5 kB / 2.768 GB, free: 132.3 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006875/6.345, allocations: 1.897 MB / 2.77 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-05/6.345, allocations: 15.09 kB / 2.77 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.306e-05/6.345, allocations: 7.219 kB / 2.77 GB, free: 132.2 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005536/6.351, allocations: 1.707 MB / 2.772 GB, free: 131.9 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01663/6.367, allocations: 6.255 MB / 2.778 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.301e-05/6.368, allocations: 3.25 kB / 2.778 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003015/6.371, allocations: 276.5 kB / 2.778 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002903/6.373, allocations: 0.7788 MB / 2.779 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002343/6.374, allocations: 33.5 kB / 2.779 GB, free: 129.9 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004346/6.378, allocations: 2.08 MB / 2.781 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.377e-05/6.378, allocations: 11.84 kB / 2.781 GB, free: 128.9 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.015/6.393, allocations: 3.409 MB / 2.785 GB, free: 127.7 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002678/6.396, allocations: 0.6204 MB / 2.785 GB, free: 127.5 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001083/6.397, allocations: 16.67 kB / 2.785 GB, free: 127.5 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006394/6.403, allocations: 256.1 kB / 2.785 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000319/6.404, allocations: 119.6 kB / 2.786 GB, free: 127.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002922/6.404, allocations: 70.62 kB / 2.786 GB, free: 127.4 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.003621/6.408, allocations: 1.384 MB / 2.787 GB, free: 127.3 MB / 1.167 GB Notification: Performance of sort global known variables: time 7.92e-07/6.408, allocations: 0 / 2.787 GB, free: 127.3 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.01068/6.418, allocations: 1.555 MB / 2.788 GB, free: 127.2 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.port_b1.h_outflow,heaPum1.port_b2.h_outflow) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 70 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.01965/6.438, allocations: 6.948 MB / 2.795 GB, free: 123.6 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.007681/6.446, allocations: 2.686 MB / 2.798 GB, free: 123.4 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-05/6.446, allocations: 3.906 kB / 2.798 GB, free: 123.4 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.002304/6.448, allocations: 0.7699 MB / 2.799 GB, free: 123.4 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01109/6.459, allocations: 1.072 MB / 2.8 GB, free: 123.4 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/6.481, allocations: 4.149 MB / 2.804 GB, free: 122.1 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002378/6.484, allocations: 1.775 MB / 2.805 GB, free: 121.4 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.008105/6.492, allocations: 0.7083 MB / 2.806 GB, free: 121.3 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002703/6.495, allocations: 1.103 MB / 2.807 GB, free: 121.3 MB / 1.167 GB Notification: Performance of SimCode: time 1.082e-06/6.495, allocations: 2.844 kB / 2.807 GB, free: 121.3 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1843/6.679, allocations: 88.74 MB / 2.894 GB, free: 116.9 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001473/6.679, allocations: 207.1 kB / 2.894 GB, free: 116.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.728/12.41, allocations: 0 / 2.894 GB, free: 116.7 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat does not exist to compare? outputFormat=mat