Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.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_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static",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.00107/0.00107, allocations: 99.55 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.001069/0.001069, 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.313/1.313, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.302/2.302, allocations: 409.2 MB / 0.6838 GB, free: 0.9414 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003492, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6787/0.6791, allocations: 146.8 MB / 0.9809 GB, free: 6.25 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static): time 0.05491/0.7341, allocations: 58.56 MB / 1.038 GB, free: 11.54 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.01679/0.7509, allocations: 12.19 MB / 1.05 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002318/0.7533, allocations: 63.56 kB / 1.05 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.00278/0.7561, allocations: 0.7889 MB / 1.051 GB, free: 14.48 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.007155/0.7632, allocations: 2.239 MB / 1.053 GB, free: 12.24 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.005528/0.7688, allocations: 1.886 MB / 1.055 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.004599/0.7734, allocations: 2.663 MB / 1.057 GB, free: 7.719 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00198/0.7754, allocations: 1.176 MB / 1.059 GB, free: 6.512 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002576/0.778, allocations: 1.265 MB / 1.06 GB, free: 5.242 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001479/0.7795, allocations: 0.8127 MB / 1.061 GB, free: 4.426 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.0003402/0.7798, allocations: 64 kB / 1.061 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003102/0.7829, allocations: 1.174 MB / 1.062 GB, free: 3.188 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0005038/0.7835, allocations: 310.7 kB / 1.062 GB, free: 2.883 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0007034/0.7842, allocations: 396.8 kB / 1.062 GB, free: 2.488 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.00337/0.7875, allocations: 2.428 MB / 1.065 GB, free: 56 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 2.565e-06/0.7876, allocations: 0 / 1.065 GB, free: 56 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7876, allocations: 0 / 1.065 GB, free: 56 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.485e-05/0.7877, allocations: 0 / 1.065 GB, free: 56 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.004062/0.7917, allocations: 1.924 MB / 1.067 GB, free: 14.06 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.7918, allocations: 12.03 kB / 1.067 GB, free: 14.05 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003647/0.7922, allocations: 181.4 kB / 1.067 GB, free: 13.86 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00523/0.7974, allocations: 0.7354 MB / 1.068 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002619/0.8, allocations: 1.433 MB / 1.069 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.8002, allocations: 132 kB / 1.069 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.8003, allocations: 124 kB / 1.069 GB, free: 11.38 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003472/0.8038, allocations: 1.667 MB / 1.071 GB, free: 9.617 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.141e-05/0.8038, allocations: 4 kB / 1.071 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.804, allocations: 55.92 kB / 1.071 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.377e-05/0.804, allocations: 39.88 kB / 1.071 GB, free: 9.52 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004297/0.8083, allocations: 1.519 MB / 1.072 GB, free: 7.992 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.00887/0.8172, allocations: 7.338 MB / 1.08 GB, free: 276 kB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.8194, allocations: 0.8433 MB / 1.08 GB, free: 15.41 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001164/0.8206, allocations: 1.27 MB / 1.082 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.757e-05/0.8206, allocations: 43.12 kB / 1.082 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=70): time 2.745e-06/0.8206, allocations: 0 / 1.082 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=70): time 0.02738/0.848, allocations: 4.284 MB / 1.086 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.8481, allocations: 107.4 kB / 1.086 GB, free: 9.379 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001945/0.85, allocations: 1.41 MB / 1.087 GB, free: 7.957 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001133/0.8502, allocations: 49.64 kB / 1.087 GB, free: 7.902 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005308/0.8507, allocations: 0.6803 MB / 1.088 GB, free: 7.215 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002192/0.8509, allocations: 244.5 kB / 1.088 GB, free: 6.973 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.864e-05/0.851, allocations: 16 kB / 1.088 GB, free: 6.957 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001152/0.8511, allocations: 341.9 kB / 1.089 GB, free: 6.617 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001804/0.8529, allocations: 0.5172 MB / 1.089 GB, free: 6.102 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001971/0.8549, allocations: 0.7862 MB / 1.09 GB, free: 5.207 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001853/0.8568, allocations: 0.5653 MB / 1.091 GB, free: 4.641 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.8568, allocations: 4 kB / 1.091 GB, free: 4.637 MB / 0.8419 GB Notification: Performance of matching and sorting (n=110) (initialization): time 0.004719/0.8615, allocations: 1.629 MB / 1.092 GB, free: 2.996 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007149/0.8622, allocations: 2.489 MB / 1.095 GB, free: 372 kB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.8623, allocations: 8 kB / 1.095 GB, free: 364 kB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00185/0.8641, allocations: 0.5709 MB / 1.095 GB, free: 15.78 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.8653, allocations: 251.8 kB / 1.095 GB, free: 15.53 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001754/0.8671, allocations: 1.166 MB / 1.096 GB, free: 14.34 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00215/0.8693, allocations: 278.6 kB / 1.097 GB, free: 14.07 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.774e-05/0.8694, allocations: 59.94 kB / 1.097 GB, free: 14.01 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 9.658e-06/0.8694, allocations: 4 kB / 1.097 GB, free: 14 MB / 0.8575 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004342/0.8737, allocations: 1.472 MB / 1.098 GB, free: 12.53 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.724e-06/0.8738, allocations: 8.125 kB / 1.098 GB, free: 12.52 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/0.8754, allocations: 0.5634 MB / 1.099 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001182/0.8766, allocations: 247.6 kB / 1.099 GB, free: 11.71 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001682/0.8783, allocations: 1.177 MB / 1.1 GB, free: 10.51 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/0.8803, allocations: 264.1 kB / 1.1 GB, free: 10.26 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.088e-05/0.8804, allocations: 55.94 kB / 1.1 GB, free: 10.2 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 (82): * Single equations (assignments): 81 * 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 {4 25} Notification: Performance of prepare postOptimizeDAE: time 0.0006478/0.881, allocations: 448.9 kB / 1.101 GB, free: 9.754 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002042/0.8812, allocations: 142.2 kB / 1.101 GB, free: 9.613 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00407/0.8853, allocations: 1.414 MB / 1.102 GB, free: 8.176 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.388e-05/0.8854, allocations: 8 kB / 1.102 GB, free: 8.168 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8854, allocations: 3.938 kB / 1.102 GB, free: 8.164 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003539/0.8889, allocations: 1.215 MB / 1.104 GB, free: 6.922 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007023/0.8959, allocations: 3.524 MB / 1.107 GB, free: 3.188 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.963e-06/0.896, allocations: 8.156 kB / 1.107 GB, free: 3.18 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008138/0.8968, allocations: 147.8 kB / 1.107 GB, free: 3.035 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001687/0.8985, allocations: 0.5592 MB / 1.108 GB, free: 2.473 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.476e-05/0.8985, allocations: 27.97 kB / 1.108 GB, free: 2.445 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001706/0.9003, allocations: 1.154 MB / 1.109 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.981e-06/0.9003, allocations: 11.94 kB / 1.109 GB, free: 1.254 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003943/0.9042, allocations: 1.707 MB / 1.111 GB, free: 15.36 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000649/0.9049, allocations: 410.9 kB / 1.111 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001894/0.9051, allocations: 20 kB / 1.111 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001598/0.9067, allocations: 163.7 kB / 1.111 GB, free: 14.76 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.085e-05/0.9068, allocations: 56.25 kB / 1.111 GB, free: 14.7 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.142e-05/0.9069, allocations: 51.95 kB / 1.111 GB, free: 14.65 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.001414/0.9083, allocations: 0.9849 MB / 1.112 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.51e-07/0.9083, allocations: 0 / 1.112 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002124/0.9104, allocations: 0.9046 MB / 1.113 GB, free: 12.76 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * 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 (42): * Single equations (assignments): 39 * 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 {4 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.005451/0.9159, allocations: 3.763 MB / 1.117 GB, free: 8.871 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.006018/0.9219, allocations: 1.909 MB / 1.119 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.09e-06/0.9219, allocations: 0 / 1.119 GB, free: 6.961 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.001778/0.9237, allocations: 0.5536 MB / 1.119 GB, free: 6.41 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003258/0.927, allocations: 0.7691 MB / 1.12 GB, free: 5.652 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008115/0.9351, allocations: 8.181 MB / 1.128 GB, free: 13.24 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006763/0.9358, allocations: 1.242 MB / 1.129 GB, free: 11.97 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.001458/0.9373, allocations: 333.2 kB / 1.129 GB, free: 11.65 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006601/0.938, allocations: 0.5617 MB / 1.13 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of SimCode: time 4.21e-07/0.938, allocations: 0 / 1.13 GB, free: 11.09 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5898/1.528, allocations: 50.22 MB / 1.179 GB, free: 9.512 MB / 0.9356 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/1.528, allocations: 265 kB / 1.179 GB, free: 9.156 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.048/4.576, allocations: 64 / 1.179 GB, free: 9.156 MB / 0.9356 GB (rm -f Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_Static.fmu > Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_Static_res.mat does not exist to compare? outputFormat=mat