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.384/2.384, allocations: 393.5 MB / 408.4 MB, free: 11.03 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.001319/0.001319, allocations: 175.7 kB / 0.4901 GB, free: 2.254 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.748/1.748, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001078/0.001078, allocations: 101.3 kB / 0.9396 GB, free: 1.898 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004169/0.0004169, allocations: 6.906 kB / 1.09 GB, free: 216.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.377/0.3775, allocations: 143 MB / 1.229 GB, free: 105.6 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.239/1.616, allocations: 437.7 MB / 1.657 GB, free: 7.699 MB / 0.9792 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003077/1.617, allocations: 96.77 kB / 1.657 GB, free: 7.648 MB / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 3.662/5.279, allocations: 1.07 GB / 2.727 GB, free: 25.89 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.086e-06/5.279, allocations: 0 / 2.727 GB, free: 25.89 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003779/5.279, allocations: 75.98 kB / 2.727 GB, free: 25.81 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.01095/5.29, allocations: 3.701 MB / 2.731 GB, free: 22.01 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.224e-05/5.29, allocations: 15.97 kB / 2.731 GB, free: 21.99 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00121/5.291, allocations: 324.7 kB / 2.731 GB, free: 21.66 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01015/5.302, allocations: 1.311 MB / 2.732 GB, free: 20.35 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007842/5.31, allocations: 3.344 MB / 2.735 GB, free: 16.93 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/5.31, allocations: 251.9 kB / 2.736 GB, free: 16.66 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004935/5.31, allocations: 232 kB / 2.736 GB, free: 16.44 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007963/5.318, allocations: 3.202 MB / 2.739 GB, free: 13.03 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.857e-05/5.318, allocations: 3.938 kB / 2.739 GB, free: 13.03 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003183/5.319, allocations: 108 kB / 2.739 GB, free: 12.92 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.883e-05/5.319, allocations: 67.94 kB / 2.739 GB, free: 12.86 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009137/5.328, allocations: 2.878 MB / 2.742 GB, free: 9.961 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting 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.02295/5.351, allocations: 13.5 MB / 2.755 GB, free: 11.86 MB / 1.182 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004662/5.356, allocations: 1.591 MB / 2.757 GB, free: 10.22 MB / 1.182 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002205/5.358, allocations: 1.773 MB / 2.758 GB, free: 8.059 MB / 1.182 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004296/5.362, allocations: 1.265 MB / 2.76 GB, free: 6.695 MB / 1.182 GB Notification: Performance of pre-optimization done (n=118): time 4.278e-06/5.362, allocations: 0 / 2.76 GB, free: 6.695 MB / 1.182 GB Notification: Performance of matching and sorting (n=122): time 0.9698/6.332, allocations: 16.26 MB / 2.776 GB, free: 154.8 MB / 1.182 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003002/6.332, allocations: 0.9383 MB / 2.776 GB, free: 153.6 MB / 1.182 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005724/6.338, allocations: 2.424 MB / 2.779 GB, free: 153.4 MB / 1.182 GB Notification: Performance of collectPreVariables (initialization): time 0.0005413/6.339, allocations: 61.77 kB / 2.779 GB, free: 153.4 MB / 1.182 GB Notification: Performance of collectInitialEqns (initialization): time 0.001602/6.34, allocations: 1.353 MB / 2.78 GB, free: 153 MB / 1.182 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006145/6.341, allocations: 429 kB / 2.781 GB, free: 152.8 MB / 1.182 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001354/6.341, allocations: 35.03 kB / 2.781 GB, free: 152.8 MB / 1.182 GB Notification: Performance of setup shared object (initialization): time 0.0001363/6.341, allocations: 364.8 kB / 2.781 GB, free: 152.5 MB / 1.182 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004386/6.346, allocations: 0.978 MB / 2.782 GB, free: 152.5 MB / 1.182 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004934/6.351, allocations: 1.608 MB / 2.784 GB, free: 151.8 MB / 1.182 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004416/6.355, allocations: 1.108 MB / 2.785 GB, free: 151.8 MB / 1.182 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.417e-05/6.355, allocations: 3.625 kB / 2.785 GB, free: 151.8 MB / 1.182 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01222/6.367, allocations: 3.125 MB / 2.788 GB, free: 151.5 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 0.001565/6.369, allocations: 5.262 MB / 2.793 GB, free: 146.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.178e-05/6.369, allocations: 15.69 kB / 2.793 GB, free: 146.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004482/6.373, allocations: 1.154 MB / 2.794 GB, free: 146.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003219/6.377, allocations: 448.1 kB / 2.794 GB, free: 146.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004468/6.381, allocations: 2.388 MB / 2.797 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006986/6.388, allocations: 427.8 kB / 2.797 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007084/6.389, allocations: 106.6 kB / 2.797 GB, free: 145 MB / 1.182 GB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/6.389, allocations: 5.75 kB / 2.797 GB, free: 145 MB / 1.182 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01192/6.401, allocations: 2.79 MB / 2.8 GB, free: 144.9 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-05/6.401, allocations: 16.45 kB / 2.8 GB, free: 144.9 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00425/6.405, allocations: 1.162 MB / 2.801 GB, free: 144.9 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002846/6.408, allocations: 434 kB / 2.802 GB, free: 144.9 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003966/6.412, allocations: 2.383 MB / 2.804 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006014/6.418, allocations: 360.3 kB / 2.804 GB, free: 143.8 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000415/6.419, allocations: 107.4 kB / 2.804 GB, free: 143.8 MB / 1.182 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 () * Number of clocked 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 {4 25,4 27} Notification: Performance of prepare postOptimizeDAE: time 0.00273/6.421, allocations: 0.7038 MB / 2.805 GB, free: 143.6 MB / 1.182 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/6.422, allocations: 287.5 kB / 2.805 GB, free: 143.5 MB / 1.182 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/6.432, allocations: 2.418 MB / 2.808 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.94e-05/6.433, allocations: 18.28 kB / 2.808 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/6.433, allocations: 4.906 kB / 2.808 GB, free: 143.4 MB / 1.182 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008748/6.441, allocations: 2.182 MB / 2.81 GB, free: 143.1 MB / 1.182 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/6.46, allocations: 7.143 MB / 2.817 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.5e-05/6.46, allocations: 3.938 kB / 2.817 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001816/6.462, allocations: 278.9 kB / 2.817 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003248/6.465, allocations: 1.018 MB / 2.818 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002188/6.465, allocations: 49.11 kB / 2.818 GB, free: 141.1 MB / 1.182 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003146/6.469, allocations: 2.154 MB / 2.82 GB, free: 140 MB / 1.182 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/6.469, allocations: 7.312 kB / 2.82 GB, free: 140 MB / 1.182 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01391/6.482, allocations: 4.344 MB / 2.824 GB, free: 138.6 MB / 1.182 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002609/6.485, allocations: 0.6637 MB / 2.825 GB, free: 138.4 MB / 1.182 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009487/6.486, allocations: 42.34 kB / 2.825 GB, free: 138.4 MB / 1.182 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004151/6.49, allocations: 298 kB / 2.825 GB, free: 138.4 MB / 1.182 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002307/6.491, allocations: 106.8 kB / 2.825 GB, free: 138.4 MB / 1.182 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/6.491, allocations: 74.75 kB / 2.826 GB, free: 138.4 MB / 1.182 GB Notification: Performance of sorting global known variables: time 0.003611/6.494, allocations: 1.904 MB / 2.827 GB, free: 138.2 MB / 1.182 GB Notification: Performance of sort global known variables: time 1.6e-07/6.494, allocations: 0 / 2.827 GB, free: 138.2 MB / 1.182 GB Notification: Performance of remove unused functions: time 0.007895/6.502, allocations: 1.652 MB / 2.829 GB, free: 138.2 MB / 1.182 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * 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) * Number of clocked states: 0 () * 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.01771/6.52, allocations: 7.759 MB / 2.837 GB, free: 134.8 MB / 1.182 GB Notification: Performance of simCode: created initialization part: time 0.01352/6.534, allocations: 3.676 MB / 2.84 GB, free: 134.6 MB / 1.182 GB Notification: Performance of simCode: created event and clocks part: time 2.24e-05/6.534, allocations: 5.812 kB / 2.84 GB, free: 134.6 MB / 1.182 GB Notification: Performance of simCode: created simulation system equations: time 0.004009/6.538, allocations: 1.094 MB / 2.841 GB, free: 134.6 MB / 1.182 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00835/6.546, allocations: 1.488 MB / 2.843 GB, free: 134.6 MB / 1.182 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05529/6.601, allocations: 27.62 MB / 2.87 GB, free: 118.8 MB / 1.182 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001349/6.603, allocations: 1.764 MB / 2.871 GB, free: 118.1 MB / 1.182 GB Notification: Performance of simCode: alias equations: time 0.004415/6.607, allocations: 0.655 MB / 2.872 GB, free: 118.1 MB / 1.182 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001819/6.609, allocations: 1.164 MB / 2.873 GB, free: 118 MB / 1.182 GB Notification: Performance of SimCode: time 2.645e-06/6.609, allocations: 2.5 kB / 2.873 GB, free: 118 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1829/6.792, allocations: 106.2 MB / 2.977 GB, free: 112.9 MB / 1.182 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002166/6.792, allocations: 267.5 kB / 2.977 GB, free: 112.5 MB / 1.182 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.361/13.15, allocations: 1.828 kB / 2.977 GB, free: 112.5 MB / 1.182 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