Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.283/2.283, allocations: 387.4 MB / 394.9 MB, free: 13.43 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.001248/0.001248, allocations: 184.6 kB / 487.4 MB, free: 5.062 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.55/1.55, allocations: 221.5 MB / 0.7824 GB, free: 1.078 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009353/0.0009353, allocations: 95.8 kB / 0.9219 GB, free: 2.305 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.501e-05/2.503e-05, allocations: 4 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2865/0.2865, allocations: 142.3 MB / 1.206 GB, free: 43.94 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.177/1.463, allocations: 436.2 MB / 1.632 GB, free: 2.363 MB / 1.042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/1.464, allocations: 95.55 kB / 1.632 GB, free: 2.312 MB / 1.042 GB Notification: Performance of FrontEnd - DAE generated: time 4.251/5.715, allocations: 1.062 GB / 2.694 GB, free: 151.1 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.583e-06/5.715, allocations: 0 / 2.694 GB, free: 151.1 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0003376/5.715, allocations: 80.19 kB / 2.694 GB, free: 151.1 MB / 1.151 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.009521/5.725, allocations: 3.185 MB / 2.697 GB, free: 149.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.654e-05/5.725, allocations: 10.91 kB / 2.697 GB, free: 149.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009848/5.735, allocations: 1.314 MB / 2.698 GB, free: 149.8 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007089/5.742, allocations: 3.31 MB / 2.701 GB, free: 149.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002053/5.742, allocations: 169.3 kB / 2.702 GB, free: 149.3 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004862/5.743, allocations: 135.9 kB / 2.702 GB, free: 149.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003782/5.746, allocations: 2.022 MB / 2.704 GB, free: 149.3 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004001/5.75, allocations: 2.5 MB / 2.706 GB, free: 148.8 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.322e-05/5.75, allocations: 17.72 kB / 2.706 GB, free: 148.8 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002698/5.751, allocations: 7.812 kB / 2.706 GB, free: 148.8 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.166e-05/5.751, allocations: 72.22 kB / 2.706 GB, free: 148.8 MB / 1.151 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.01785/5.769, allocations: 12.96 MB / 2.719 GB, free: 143.1 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001456/5.77, allocations: 1.178 MB / 2.72 GB, free: 142.9 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007534/5.771, allocations: 0.6041 MB / 2.721 GB, free: 142.9 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00145/5.772, allocations: 1.78 MB / 2.722 GB, free: 140.9 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0012/5.774, allocations: 0.9433 MB / 2.723 GB, free: 140.6 MB / 1.151 GB Notification: Performance of pre-optimization done (n=118): time 3.296e-06/5.774, allocations: 2.406 kB / 2.723 GB, free: 140.6 MB / 1.151 GB Notification: Performance of matching and sorting (n=122): time 0.02225/5.796, allocations: 10.56 MB / 2.734 GB, free: 134.6 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002067/5.796, allocations: 0.9383 MB / 2.734 GB, free: 133.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002532/5.799, allocations: 1.841 MB / 2.736 GB, free: 133.2 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0003631/5.799, allocations: 32.89 kB / 2.736 GB, free: 133.2 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.001018/5.8, allocations: 1.386 MB / 2.738 GB, free: 132.6 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.00041/5.8, allocations: 419.5 kB / 2.738 GB, free: 132.4 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/5.801, allocations: 0 / 2.738 GB, free: 132.4 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/5.801, allocations: 364.7 kB / 2.738 GB, free: 132.1 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008883/5.802, allocations: 0.6041 MB / 2.739 GB, free: 132.1 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00118/5.803, allocations: 1.22 MB / 2.74 GB, free: 131.4 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/5.806, allocations: 0.9659 MB / 2.741 GB, free: 131.3 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.256e-06/5.806, allocations: 3.969 kB / 2.741 GB, free: 131.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.006141/5.812, allocations: 2.403 MB / 2.743 GB, free: 131.1 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.001071/5.814, allocations: 5.12 MB / 2.748 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/5.814, allocations: 12.25 kB / 2.748 GB, free: 125.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001872/5.815, allocations: 0.8961 MB / 2.749 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002785/5.818, allocations: 449.2 kB / 2.75 GB, free: 125.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003464/5.822, allocations: 2.326 MB / 2.752 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005748/5.827, allocations: 379.2 kB / 2.752 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005044/5.828, allocations: 105.9 kB / 2.753 GB, free: 124.6 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 2.416e-05/5.828, allocations: 3.594 kB / 2.753 GB, free: 124.6 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006471/5.835, allocations: 2.118 MB / 2.755 GB, free: 124.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-05/5.835, allocations: 11.5 kB / 2.755 GB, free: 124.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001749/5.836, allocations: 0.897 MB / 2.755 GB, free: 124.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002279/5.839, allocations: 430.6 kB / 2.756 GB, free: 124.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003136/5.842, allocations: 2.324 MB / 2.758 GB, free: 123.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00505/5.847, allocations: 311.1 kB / 2.758 GB, free: 123.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004829/5.847, allocations: 109.5 kB / 2.759 GB, free: 123.4 MB / 1.151 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.001018/5.848, allocations: 153.2 kB / 2.759 GB, free: 123.3 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0144/5.863, allocations: 2.451 MB / 2.761 GB, free: 123.1 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001139/5.864, allocations: 247.2 kB / 2.761 GB, free: 122.9 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007639/5.872, allocations: 1.886 MB / 2.763 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.837e-05/5.872, allocations: 17.84 kB / 2.763 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.166e-05/5.872, allocations: 6.406 kB / 2.763 GB, free: 122.8 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005869/5.878, allocations: 1.708 MB / 2.765 GB, free: 122.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/5.892, allocations: 6.259 MB / 2.771 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.575e-05/5.892, allocations: 3.812 kB / 2.771 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001581/5.894, allocations: 272.2 kB / 2.771 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001532/5.896, allocations: 0.7769 MB / 2.772 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000128/5.896, allocations: 31.31 kB / 2.772 GB, free: 120.6 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002422/5.898, allocations: 2.096 MB / 2.774 GB, free: 119.5 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.948e-06/5.898, allocations: 10.88 kB / 2.774 GB, free: 119.5 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007949/5.906, allocations: 3.415 MB / 2.777 GB, free: 118.3 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001923/5.908, allocations: 0.6184 MB / 2.778 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009877/5.909, allocations: 13.25 kB / 2.778 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003843/5.913, allocations: 262 kB / 2.778 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002061/5.913, allocations: 113.9 kB / 2.778 GB, free: 118.1 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002024/5.913, allocations: 71.97 kB / 2.778 GB, free: 118.1 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002903/5.916, allocations: 1.378 MB / 2.78 GB, free: 117.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.01e-07/5.916, allocations: 0 / 2.78 GB, free: 117.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.007912/5.924, allocations: 1.561 MB / 2.781 GB, free: 117.8 MB / 1.151 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.0125/5.937, allocations: 6.946 MB / 2.788 GB, free: 114.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.005351/5.942, allocations: 2.68 MB / 2.791 GB, free: 114.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 1.957e-05/5.942, allocations: 5.656 kB / 2.791 GB, free: 114.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.001571/5.944, allocations: 0.7678 MB / 2.791 GB, free: 114.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006391/5.95, allocations: 1.077 MB / 2.793 GB, free: 114 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01461/5.965, allocations: 4.145 MB / 2.797 GB, free: 112.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002047/5.967, allocations: 1.775 MB / 2.798 GB, free: 112 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.005429/5.972, allocations: 0.7172 MB / 2.799 GB, free: 112 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001831/5.974, allocations: 1.106 MB / 2.8 GB, free: 112 MB / 1.151 GB Notification: Performance of SimCode: time 1.152e-06/5.974, allocations: 0 / 2.8 GB, free: 112 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1561/6.13, allocations: 88.74 MB / 2.887 GB, free: 107.4 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001875/6.131, allocations: 181.2 kB / 2.887 GB, free: 107.2 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.247/11.38, allocations: 3.875 kB / 2.887 GB, free: 107.2 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Dynamic.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Dynamic_res.mat does not exist to compare? outputFormat=mat