Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.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.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",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.0011/0.0011, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001274/0.001274, allocations: 177.3 kB / 15.95 MB, free: 216 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.434/1.434, allocations: 223.2 MB / 239.9 MB, free: 5.461 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.377/2.377, allocations: 390.3 MB / 0.6653 GB, free: 2.98 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.000351/0.000351, allocations: 12 kB / 0.8146 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7792/0.7796, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.06201/0.8416, allocations: 58.54 MB / 1.011 GB, free: 5.5 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02147/0.8632, allocations: 12.16 MB / 1.023 GB, free: 9.316 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003535/0.8667, allocations: 59.56 kB / 1.023 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.003649/0.8704, allocations: 0.7928 MB / 1.023 GB, free: 8.461 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.009436/0.8799, allocations: 2.223 MB / 1.026 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.006093/0.886, allocations: 1.895 MB / 1.027 GB, free: 4.371 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0061/0.8921, allocations: 2.677 MB / 1.03 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002154/0.8943, allocations: 1.168 MB / 1.031 GB, free: 0.4922 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002976/0.8973, allocations: 1.261 MB / 1.032 GB, free: 15.22 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001406/0.8987, allocations: 0.8166 MB / 1.033 GB, free: 14.41 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0001998/0.8989, allocations: 68 kB / 1.033 GB, free: 14.34 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003482/0.9024, allocations: 1.166 MB / 1.034 GB, free: 13.17 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0004118/0.9029, allocations: 310.8 kB / 1.035 GB, free: 12.87 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.0006659/0.9035, allocations: 396.8 kB / 1.035 GB, free: 12.47 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003809/0.9073, allocations: 2.443 MB / 1.038 GB, free: 10.02 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 3.387e-06/0.9074, allocations: 0 / 1.038 GB, free: 10.02 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9074, allocations: 4 kB / 1.038 GB, free: 10.02 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.49e-05/0.9074, allocations: 0 / 1.038 GB, free: 10.02 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004608/0.9121, allocations: 1.893 MB / 1.039 GB, free: 8.059 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 5.35e-05/0.9121, allocations: 12.03 kB / 1.039 GB, free: 8.047 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003254/0.9125, allocations: 181.4 kB / 1.04 GB, free: 7.859 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005543/0.918, allocations: 0.7431 MB / 1.04 GB, free: 7.113 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003108/0.9212, allocations: 1.437 MB / 1.042 GB, free: 5.621 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001527/0.9213, allocations: 136 kB / 1.042 GB, free: 5.48 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002267/0.9216, allocations: 123.9 kB / 1.042 GB, free: 5.359 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004053/0.9256, allocations: 1.634 MB / 1.044 GB, free: 3.637 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.169e-05/0.9257, allocations: 0 / 1.044 GB, free: 3.637 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001492/0.9259, allocations: 59.95 kB / 1.044 GB, free: 3.578 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.597e-05/0.9259, allocations: 43.92 kB / 1.044 GB, free: 3.535 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004903/0.9308, allocations: 1.484 MB / 1.045 GB, free: 2.043 MB / 0.795 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.01195/0.9428, allocations: 7.05 MB / 1.052 GB, free: 10.65 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002183/0.9451, allocations: 0.7444 MB / 1.053 GB, free: 9.898 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001388/0.9465, allocations: 1.267 MB / 1.054 GB, free: 8.355 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.541e-05/0.9465, allocations: 51.06 kB / 1.054 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=68): time 2.395e-06/0.9465, allocations: 0 / 1.054 GB, free: 8.297 MB / 0.8106 GB Notification: Performance of matching and sorting (n=68): time 0.01976/0.9663, allocations: 3.103 MB / 1.057 GB, free: 5.164 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.365e-05/0.9664, allocations: 115.3 kB / 1.057 GB, free: 5.023 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002232/0.9686, allocations: 1.406 MB / 1.059 GB, free: 3.605 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.000157/0.9688, allocations: 45.7 kB / 1.059 GB, free: 3.555 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005961/0.9694, allocations: 0.6917 MB / 1.059 GB, free: 2.855 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002537/0.9697, allocations: 236.6 kB / 1.059 GB, free: 2.621 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.031e-05/0.9698, allocations: 16 kB / 1.059 GB, free: 2.605 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.9699, allocations: 341.9 kB / 1.06 GB, free: 2.266 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/0.9718, allocations: 0.5172 MB / 1.06 GB, free: 1.746 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002006/0.9738, allocations: 0.7823 MB / 1.061 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00192/0.9757, allocations: 0.5731 MB / 1.062 GB, free: 288 kB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.442e-06/0.9757, allocations: 0 / 1.062 GB, free: 288 kB / 0.8106 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01216/0.9879, allocations: 2.155 MB / 1.064 GB, free: 14.11 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009892/0.9889, allocations: 2.494 MB / 1.066 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.928e-05/0.989, allocations: 12 kB / 1.066 GB, free: 11.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/0.9908, allocations: 489 kB / 1.067 GB, free: 10.98 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001521/0.9923, allocations: 267.6 kB / 1.067 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.9941, allocations: 0.9948 MB / 1.068 GB, free: 9.703 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002922/0.997, allocations: 274.6 kB / 1.068 GB, free: 9.434 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002187/0.9973, allocations: 59.94 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.9973, allocations: 4 kB / 1.068 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01199/1.009, allocations: 1.995 MB / 1.07 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.091e-05/1.009, allocations: 7.953 kB / 1.07 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001769/1.011, allocations: 494.4 kB / 1.071 GB, free: 6.879 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001515/1.013, allocations: 263.6 kB / 1.071 GB, free: 6.621 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001695/1.014, allocations: 0.9939 MB / 1.072 GB, free: 5.602 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002462/1.017, allocations: 250.8 kB / 1.072 GB, free: 5.355 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002042/1.017, allocations: 51.95 kB / 1.072 GB, free: 5.305 MB / 0.8262 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (94): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of prepare postOptimizeDAE: time 0.0009854/1.018, allocations: 453.5 kB / 1.073 GB, free: 4.852 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004174/1.019, allocations: 142.3 kB / 1.073 GB, free: 4.711 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004307/1.023, allocations: 1.337 MB / 1.074 GB, free: 3.359 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/1.023, allocations: 12 kB / 1.074 GB, free: 3.348 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.023, allocations: 4 kB / 1.074 GB, free: 3.344 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003673/1.027, allocations: 1.147 MB / 1.075 GB, free: 2.16 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00859/1.035, allocations: 3.089 MB / 1.078 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.475e-05/1.035, allocations: 7.984 kB / 1.078 GB, free: 14.94 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009516/1.036, allocations: 163.8 kB / 1.078 GB, free: 14.78 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/1.038, allocations: 480.3 kB / 1.079 GB, free: 14.31 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.034e-05/1.038, allocations: 31.97 kB / 1.079 GB, free: 14.28 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001644/1.04, allocations: 0.9934 MB / 1.08 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.23e-06/1.04, allocations: 8 kB / 1.08 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006276/1.046, allocations: 2.253 MB / 1.082 GB, free: 10.73 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001151/1.047, allocations: 410.8 kB / 1.082 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004578/1.048, allocations: 24.06 kB / 1.082 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00208/1.05, allocations: 147.8 kB / 1.083 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/1.05, allocations: 64.25 kB / 1.083 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/1.05, allocations: 39.95 kB / 1.083 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.002083/1.052, allocations: 1.013 MB / 1.084 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.81e-07/1.052, allocations: 0 / 1.084 GB, free: 9.031 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.003388/1.056, allocations: 0.8928 MB / 1.084 GB, free: 8.137 MB / 0.8419 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.008599/1.064, allocations: 4.41 MB / 1.089 GB, free: 3.594 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006942/1.071, allocations: 1.853 MB / 1.091 GB, free: 1.734 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.798e-05/1.071, allocations: 7.781 kB / 1.091 GB, free: 1.727 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002008/1.073, allocations: 0.5376 MB / 1.091 GB, free: 1.191 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004951/1.078, allocations: 0.7698 MB / 1.092 GB, free: 444 kB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01091/1.089, allocations: 8.222 MB / 1.1 GB, free: 7.98 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009803/1.09, allocations: 1.234 MB / 1.101 GB, free: 6.715 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.002015/1.092, allocations: 368.7 kB / 1.101 GB, free: 6.359 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008648/1.093, allocations: 0.5812 MB / 1.102 GB, free: 5.777 MB / 0.8575 GB Notification: Performance of SimCode: time 9.52e-07/1.093, allocations: 8 kB / 1.102 GB, free: 5.77 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08224/1.175, allocations: 49.69 MB / 1.151 GB, free: 4.668 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002084/1.176, allocations: 263.4 kB / 1.151 GB, free: 4.316 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.152/4.327, allocations: 3.938 kB / 1.151 GB, free: 4.312 MB / 0.9044 GB (rm -f Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat does not exist to compare? outputFormat=mat