Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,fileNamePrefix="Buildings_latest_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.001106/0.001106, allocations: 99.31 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.001334/0.001334, allocations: 177.3 kB / 15.94 MB, free: 228 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.33/1.33, allocations: 223.2 MB / 239.9 MB, free: 5.488 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.27/2.27, allocations: 409.2 MB / 0.6838 GB, free: 0.918 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003426/0.0003426, allocations: 12 kB / 0.8375 GB, free: 6.551 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6896/0.6899, allocations: 146.8 MB / 0.9809 GB, free: 6.289 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.05145/0.7414, allocations: 58.54 MB / 1.038 GB, free: 11.6 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01621/0.7577, allocations: 12.17 MB / 1.05 GB, free: 15.41 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002186/0.7599, allocations: 55.62 kB / 1.05 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.002138/0.7621, allocations: 0.7889 MB / 1.051 GB, free: 14.56 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.005886/0.768, allocations: 2.227 MB / 1.053 GB, free: 12.33 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.004843/0.7728, allocations: 1.902 MB / 1.055 GB, free: 10.46 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004095/0.7769, allocations: 2.674 MB / 1.057 GB, free: 7.785 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001521/0.7785, allocations: 1.168 MB / 1.059 GB, free: 6.586 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002177/0.7807, allocations: 1.257 MB / 1.06 GB, free: 5.324 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009492/0.7816, allocations: 0.8205 MB / 1.061 GB, free: 4.5 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0001442/0.7818, allocations: 71.98 kB / 1.061 GB, free: 4.43 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002725/0.7845, allocations: 1.162 MB / 1.062 GB, free: 3.266 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.7848, allocations: 306.8 kB / 1.062 GB, free: 2.965 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0004019/0.7852, allocations: 400.8 kB / 1.062 GB, free: 2.566 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00252/0.7878, allocations: 2.435 MB / 1.065 GB, free: 128 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.7878, allocations: 0 / 1.065 GB, free: 128 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7878, allocations: 3.938 kB / 1.065 GB, free: 124 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.765e-05/0.7878, allocations: 0 / 1.065 GB, free: 124 kB / 0.8106 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.003154/0.791, allocations: 1.901 MB / 1.067 GB, free: 14.15 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.791, allocations: 8.031 kB / 1.067 GB, free: 14.14 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001993/0.7912, allocations: 181.3 kB / 1.067 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004884/0.7961, allocations: 0.7393 MB / 1.068 GB, free: 13.21 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002163/0.7983, allocations: 1.445 MB / 1.069 GB, free: 11.71 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001187/0.7984, allocations: 128 kB / 1.069 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001714/0.7986, allocations: 116 kB / 1.069 GB, free: 11.47 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003392/0.802, allocations: 1.644 MB / 1.071 GB, free: 9.734 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.914e-05/0.802, allocations: 7.938 kB / 1.071 GB, free: 9.727 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.8022, allocations: 52 kB / 1.071 GB, free: 9.676 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.946e-05/0.8022, allocations: 35.98 kB / 1.071 GB, free: 9.641 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004173/0.8064, allocations: 1.488 MB / 1.072 GB, free: 8.145 MB / 0.8262 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.008753/0.8152, allocations: 7.054 MB / 1.079 GB, free: 0.7461 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001962/0.8171, allocations: 0.7478 MB / 1.08 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001127/0.8183, allocations: 1.27 MB / 1.081 GB, free: 14.44 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.938e-05/0.8183, allocations: 47.08 kB / 1.081 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=68): time 2.114e-06/0.8183, allocations: 0 / 1.081 GB, free: 14.39 MB / 0.8419 GB Notification: Performance of matching and sorting (n=68): time 0.01786/0.8362, allocations: 3.099 MB / 1.084 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.8363, allocations: 115.4 kB / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001812/0.8381, allocations: 1.402 MB / 1.086 GB, free: 9.711 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 9.673e-05/0.8382, allocations: 45.7 kB / 1.086 GB, free: 9.66 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005126/0.8387, allocations: 0.6956 MB / 1.086 GB, free: 8.957 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.8389, allocations: 236.6 kB / 1.087 GB, free: 8.723 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.81e-05/0.839, allocations: 16 kB / 1.087 GB, free: 8.707 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001065/0.8391, allocations: 349.8 kB / 1.087 GB, free: 8.359 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00172/0.8408, allocations: 0.5133 MB / 1.088 GB, free: 7.848 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/0.8427, allocations: 0.7862 MB / 1.088 GB, free: 6.953 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00178/0.8445, allocations: 0.577 MB / 1.089 GB, free: 6.375 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.8445, allocations: 4 kB / 1.089 GB, free: 6.371 MB / 0.8419 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.01127/0.8558, allocations: 2.152 MB / 1.091 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007927/0.8566, allocations: 2.478 MB / 1.093 GB, free: 1.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.299e-05/0.8566, allocations: 11.94 kB / 1.093 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001652/0.8583, allocations: 495.1 kB / 1.094 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/0.8597, allocations: 267.6 kB / 1.094 GB, free: 0.8281 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001519/0.8612, allocations: 1 MB / 1.095 GB, free: 15.8 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002262/0.8635, allocations: 278.6 kB / 1.095 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.922e-05/0.8636, allocations: 59.88 kB / 1.095 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.468e-06/0.8636, allocations: 4 kB / 1.095 GB, free: 15.47 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01083/0.8744, allocations: 1.999 MB / 1.097 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/0.8745, allocations: 4 kB / 1.097 GB, free: 13.46 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001473/0.8759, allocations: 485 kB / 1.098 GB, free: 12.98 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001299/0.8773, allocations: 263.6 kB / 1.098 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001404/0.8787, allocations: 1.003 MB / 1.099 GB, free: 11.7 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00202/0.8807, allocations: 250.2 kB / 1.099 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.426e-05/0.8808, allocations: 55.94 kB / 1.099 GB, free: 11.4 MB / 0.8575 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.0006997/0.8815, allocations: 457.1 kB / 1.1 GB, free: 10.95 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002056/0.8817, allocations: 142.2 kB / 1.1 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003802/0.8855, allocations: 1.341 MB / 1.101 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.225e-05/0.8856, allocations: 11.98 kB / 1.101 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.329e-06/0.8856, allocations: 0 / 1.101 GB, free: 9.43 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003312/0.8889, allocations: 1.143 MB / 1.102 GB, free: 8.254 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006316/0.8952, allocations: 3.097 MB / 1.105 GB, free: 5.031 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.355e-06/0.8952, allocations: 4 kB / 1.105 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00084/0.8961, allocations: 163.7 kB / 1.106 GB, free: 4.867 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.8976, allocations: 477.7 kB / 1.106 GB, free: 4.398 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-05/0.8976, allocations: 27.97 kB / 1.106 GB, free: 4.371 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001412/0.899, allocations: 0.9864 MB / 1.107 GB, free: 3.359 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.382e-06/0.8991, allocations: 7.938 kB / 1.107 GB, free: 3.352 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005232/0.9043, allocations: 2.257 MB / 1.109 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006658/0.905, allocations: 410.9 kB / 1.11 GB, free: 424 kB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001917/0.9052, allocations: 16 kB / 1.11 GB, free: 408 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00153/0.9067, allocations: 151.9 kB / 1.11 GB, free: 256 kB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.322e-05/0.9068, allocations: 60.27 kB / 1.11 GB, free: 196 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.576e-05/0.9069, allocations: 43.94 kB / 1.11 GB, free: 152 kB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.001416/0.9083, allocations: 1.009 MB / 1.111 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.91e-07/0.9083, allocations: 0 / 1.111 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002106/0.9105, allocations: 0.9006 MB / 1.112 GB, free: 14.24 MB / 0.8731 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.006643/0.9171, allocations: 4.401 MB / 1.116 GB, free: 9.699 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.005637/0.9227, allocations: 1.861 MB / 1.118 GB, free: 7.84 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/0.9228, allocations: 3.938 kB / 1.118 GB, free: 7.836 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001634/0.9244, allocations: 0.5298 MB / 1.118 GB, free: 7.309 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003238/0.9277, allocations: 0.7723 MB / 1.119 GB, free: 6.551 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007523/0.9352, allocations: 8.227 MB / 1.127 GB, free: 14.09 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006701/0.9359, allocations: 1.246 MB / 1.128 GB, free: 12.82 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001497/0.9374, allocations: 369.8 kB / 1.129 GB, free: 12.46 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006819/0.9381, allocations: 0.5851 MB / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of SimCode: time 3.71e-07/0.9381, allocations: 0 / 1.129 GB, free: 11.88 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5898/1.528, allocations: 49.68 MB / 1.178 GB, free: 10.84 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001991/1.528, allocations: 283.7 kB / 1.178 GB, free: 10.48 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.097/4.626, allocations: 6.25 kB / 1.178 GB, free: 10.48 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_VariableSpeed.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed_res.mat does not exist to compare? outputFormat=mat