Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",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.262/2.262, allocations: 390.5 MB / 398 MB, free: 11 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.001611/0.001611, allocations: 188.1 kB / 491.2 MB, free: 1.57 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.728/1.728, allocations: 221.5 MB / 0.7868 GB, free: 13.38 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.001446/0.001446, allocations: 99.88 kB / 0.9269 GB, free: 13.88 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.67e-05/2.674e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3864/0.3864, allocations: 143 MB / 1.212 GB, free: 39.48 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.357/1.743, allocations: 436.9 MB / 1.639 GB, free: 9.941 MB / 1.057 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000262/1.744, allocations: 93.31 kB / 1.639 GB, free: 9.895 MB / 1.057 GB Notification: Performance of FrontEnd - DAE generated: time 4.336/6.08, allocations: 1.061 GB / 2.7 GB, free: 157.8 MB / 1.167 GB Notification: Performance of FrontEnd: time 1.623e-06/6.08, allocations: 0 / 2.7 GB, free: 157.8 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0003354/6.08, allocations: 80.27 kB / 2.7 GB, free: 157.8 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: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.009526/6.09, allocations: 3.191 MB / 2.703 GB, free: 156.6 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 5.937e-05/6.09, allocations: 11.56 kB / 2.703 GB, free: 156.6 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009963/6.1, allocations: 1.312 MB / 2.705 GB, free: 156.5 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007072/6.107, allocations: 3.329 MB / 2.708 GB, free: 156.1 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001969/6.107, allocations: 173.7 kB / 2.708 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005214/6.108, allocations: 138 kB / 2.708 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004047/6.112, allocations: 2.019 MB / 2.71 GB, free: 156 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004158/6.116, allocations: 2.5 MB / 2.713 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.628e-05/6.116, allocations: 5.531 kB / 2.713 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002654/6.116, allocations: 10.88 kB / 2.713 GB, free: 155.5 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.486e-05/6.116, allocations: 70.36 kB / 2.713 GB, free: 155.5 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.01741/6.134, allocations: 12.81 MB / 2.725 GB, free: 150 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001433/6.135, allocations: 1.199 MB / 2.726 GB, free: 149.8 MB / 1.167 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007778/6.136, allocations: 0.6222 MB / 2.727 GB, free: 149.8 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001494/6.138, allocations: 1.776 MB / 2.729 GB, free: 147.8 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001304/6.139, allocations: 0.9546 MB / 2.73 GB, free: 147.5 MB / 1.167 GB Notification: Performance of pre-optimization done (n=122): time 6.012e-06/6.139, allocations: 0 / 2.73 GB, free: 147.5 MB / 1.167 GB Notification: Performance of matching and sorting (n=122): time 0.006839/6.146, allocations: 1.843 MB / 2.731 GB, free: 147.3 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/6.146, allocations: 0.9409 MB / 2.732 GB, free: 146.2 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00357/6.15, allocations: 1.854 MB / 2.734 GB, free: 146 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0004587/6.15, allocations: 33.52 kB / 2.734 GB, free: 145.9 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.001518/6.152, allocations: 1.39 MB / 2.736 GB, free: 145.4 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005979/6.152, allocations: 409.1 kB / 2.736 GB, free: 145.2 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001946/6.152, allocations: 0 / 2.736 GB, free: 145.2 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 0.0001214/6.153, allocations: 373.2 kB / 2.736 GB, free: 144.9 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/6.154, allocations: 0.6247 MB / 2.737 GB, free: 144.9 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001432/6.155, allocations: 1.219 MB / 2.738 GB, free: 144.2 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003609/6.159, allocations: 0.9794 MB / 2.739 GB, free: 144.2 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.204e-05/6.159, allocations: 3.656 kB / 2.739 GB, free: 144.2 MB / 1.167 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.014/6.173, allocations: 2.942 MB / 2.742 GB, free: 144 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009462/6.174, allocations: 4.94 MB / 2.747 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.935e-05/6.174, allocations: 14.53 kB / 2.747 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001463/6.175, allocations: 0.7043 MB / 2.747 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00267/6.178, allocations: 0.489 MB / 2.748 GB, free: 138.7 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00219/6.18, allocations: 1.902 MB / 2.75 GB, free: 137.7 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005116/6.185, allocations: 454.7 kB / 2.75 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003907/6.186, allocations: 111.3 kB / 2.75 GB, free: 137.6 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.298e-05/6.186, allocations: 6.984 kB / 2.75 GB, free: 137.6 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01354/6.199, allocations: 2.639 MB / 2.753 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.106e-05/6.199, allocations: 15.12 kB / 2.753 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001456/6.201, allocations: 0.7128 MB / 2.754 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00258/6.204, allocations: 486.2 kB / 2.754 GB, free: 137.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002257/6.206, allocations: 1.907 MB / 2.756 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004939/6.211, allocations: 369.9 kB / 2.756 GB, free: 136.4 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00054/6.211, allocations: 105.9 kB / 2.756 GB, free: 136.4 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (170): * Single equations (assignments): 167 * 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 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008702/6.212, allocations: 162.3 kB / 2.757 GB, free: 136.3 MB / 1.167 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.007116/6.219, allocations: 1.838 MB / 2.758 GB, free: 136.1 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009736/6.22, allocations: 243.6 kB / 2.759 GB, free: 135.9 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01355/6.234, allocations: 2.443 MB / 2.761 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.32e-05/6.234, allocations: 14.12 kB / 2.761 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.318e-05/6.234, allocations: 13.28 kB / 2.761 GB, free: 135.8 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01287/6.247, allocations: 2.248 MB / 2.763 GB, free: 135.5 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01991/6.267, allocations: 6.841 MB / 2.77 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.727e-05/6.267, allocations: 5.062 kB / 2.77 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00176/6.269, allocations: 292.3 kB / 2.77 GB, free: 133.6 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001453/6.27, allocations: 0.701 MB / 2.771 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002789/6.27, allocations: 37 kB / 2.771 GB, free: 133.5 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002566/6.273, allocations: 1.895 MB / 2.773 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.45e-05/6.273, allocations: 11.84 kB / 2.773 GB, free: 132.5 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007317/6.28, allocations: 3.404 MB / 2.776 GB, free: 131.2 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002092/6.283, allocations: 0.6291 MB / 2.777 GB, free: 131 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001113/6.284, allocations: 18.3 kB / 2.777 GB, free: 131 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003912/6.288, allocations: 266.3 kB / 2.777 GB, free: 131 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002297/6.288, allocations: 121.9 kB / 2.777 GB, free: 131 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002101/6.288, allocations: 73.67 kB / 2.777 GB, free: 131 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.002726/6.291, allocations: 1.386 MB / 2.778 GB, free: 130.8 MB / 1.167 GB Notification: Performance of sort global known variables: time 2.3e-07/6.291, allocations: 0 / 2.778 GB, free: 130.8 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.008748/6.3, allocations: 1.822 MB / 2.78 GB, free: 130.5 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.01101/6.311, allocations: 7.067 MB / 2.787 GB, free: 126.8 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004928/6.316, allocations: 2.638 MB / 2.79 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/6.316, allocations: 4.219 kB / 2.79 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001394/6.317, allocations: 0.7673 MB / 2.79 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005645/6.323, allocations: 1.084 MB / 2.792 GB, free: 126.6 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01098/6.334, allocations: 4.301 MB / 2.796 GB, free: 125.2 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001437/6.335, allocations: 1.773 MB / 2.797 GB, free: 124.5 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.004405/6.34, allocations: 0.7601 MB / 2.798 GB, free: 124.5 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001375/6.341, allocations: 1.094 MB / 2.799 GB, free: 124.5 MB / 1.167 GB Notification: Performance of SimCode: time 9.32e-07/6.341, allocations: 3.969 kB / 2.799 GB, free: 124.5 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1338/6.475, allocations: 87.34 MB / 2.885 GB, free: 119.8 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001713/6.475, allocations: 194.6 kB / 2.885 GB, free: 119.6 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.648/12.12, allocations: 3 kB / 2.885 GB, free: 119.6 MB / 1.167 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor_res.mat does not exist to compare? outputFormat=mat