Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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: translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001018/0.001018, allocations: 93.73 kB / 16.02 MB, free: 84 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001344/0.001344, allocations: 186.2 kB / 16.92 MB, free: 6.891 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 223.3 MB / 241 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6781/0.6781, allocations: 115.5 MB / 407.6 MB, free: 2.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 8 kB / 495.8 MB, free: 6.371 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1625/0.1629, allocations: 77.53 MB / 0.5599 GB, free: 9.043 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed): time 0.3994/0.5624, allocations: 68.19 MB / 0.6265 GB, free: 9.602 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.02198/0.5844, allocations: 14.37 MB / 0.6406 GB, free: 15.09 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003622/0.588, allocations: 63.94 kB / 0.6406 GB, free: 15.06 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.5911, allocations: 0.7476 MB / 0.6414 GB, free: 14.43 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00777/0.5989, allocations: 2.347 MB / 0.6436 GB, free: 12.55 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005099/0.604, allocations: 1.787 MB / 0.6454 GB, free: 11.22 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.007778/0.6118, allocations: 5.902 MB / 0.6512 GB, free: 7.941 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002409/0.6142, allocations: 1.299 MB / 0.6524 GB, free: 7.133 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004133/0.6184, allocations: 1.43 MB / 0.6538 GB, free: 6.348 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003148/0.6216, allocations: 1.19 MB / 0.655 GB, free: 5.488 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0005349/0.6221, allocations: 68 kB / 0.655 GB, free: 5.422 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006322/0.6285, allocations: 1.735 MB / 0.6567 GB, free: 3.684 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0007581/0.6292, allocations: 334.4 kB / 0.6571 GB, free: 3.355 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.002544/0.6318, allocations: 0.8879 MB / 0.6579 GB, free: 2.457 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007224/0.639, allocations: 3.365 MB / 0.6612 GB, free: 15.08 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6391, allocations: 0 / 0.6612 GB, free: 15.08 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.6391, allocations: 0 / 0.6612 GB, free: 15.08 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.848e-05/0.6392, allocations: 7.938 kB / 0.6612 GB, free: 15.07 MB / 494.1 MB 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.004301/0.6435, allocations: 1.934 MB / 0.6631 GB, free: 13.07 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.066e-05/0.6435, allocations: 8.031 kB / 0.6631 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006142/0.6497, allocations: 0.7286 MB / 0.6638 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003166/0.6529, allocations: 1.561 MB / 0.6654 GB, free: 10.72 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002023/0.6531, allocations: 128 kB / 0.6655 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003363/0.6535, allocations: 120 kB / 0.6656 GB, free: 10.47 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004249/0.6577, allocations: 1.66 MB / 0.6672 GB, free: 8.719 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.497e-05/0.6578, allocations: 7.938 kB / 0.6672 GB, free: 8.711 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001512/0.658, allocations: 48 kB / 0.6673 GB, free: 8.664 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.963e-05/0.658, allocations: 39.98 kB / 0.6673 GB, free: 8.625 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004925/0.6629, allocations: 1.496 MB / 0.6688 GB, free: 7.121 MB / 494.1 MB 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.0106/0.6736, allocations: 7.019 MB / 0.6756 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002238/0.6758, allocations: 0.7515 MB / 0.6764 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001747/0.6776, allocations: 0.51 MB / 0.6768 GB, free: 14.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.6789, allocations: 1.267 MB / 0.6781 GB, free: 12.94 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.599e-05/0.679, allocations: 43.12 kB / 0.6781 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=68): time 2.786e-06/0.679, allocations: 0 / 0.6781 GB, free: 12.89 MB / 0.4981 GB Notification: Performance of matching and sorting (n=68): time 0.02178/0.7008, allocations: 3.129 MB / 0.6812 GB, free: 9.734 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.61e-05/0.7009, allocations: 111.4 kB / 0.6813 GB, free: 9.598 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002331/0.7032, allocations: 1.363 MB / 0.6826 GB, free: 8.223 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001552/0.7034, allocations: 45.7 kB / 0.6827 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006672/0.7041, allocations: 0.6917 MB / 0.6833 GB, free: 7.473 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003074/0.7044, allocations: 244.5 kB / 0.6836 GB, free: 7.23 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001364/0.7046, allocations: 77.67 kB / 0.6836 GB, free: 7.148 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.7047, allocations: 341.9 kB / 0.684 GB, free: 6.809 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00204/0.7068, allocations: 0.5172 MB / 0.6845 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002329/0.7091, allocations: 0.7979 MB / 0.6853 GB, free: 5.379 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003832/0.713, allocations: 1.172 MB / 0.6864 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.705e-06/0.713, allocations: 4 kB / 0.6864 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.005516/0.7185, allocations: 1.597 MB / 0.688 GB, free: 2.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002623/0.7188, allocations: 279 kB / 0.6882 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.717e-05/0.7188, allocations: 11.94 kB / 0.6882 GB, free: 2.141 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001912/0.7207, allocations: 491.7 kB / 0.6887 GB, free: 1.66 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001428/0.7222, allocations: 267.6 kB / 0.689 GB, free: 1.398 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001731/0.7239, allocations: 0.9949 MB / 0.6899 GB, free: 388 kB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002762/0.7267, allocations: 279.5 kB / 0.6902 GB, free: 108 kB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001279/0.7268, allocations: 52.08 kB / 0.6903 GB, free: 56 kB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.114e-05/0.7269, allocations: 8 kB / 0.6903 GB, free: 48 kB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004994/0.7319, allocations: 1.445 MB / 0.6917 GB, free: 14.6 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.21e-05/0.7319, allocations: 11.94 kB / 0.6917 GB, free: 14.59 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001765/0.7337, allocations: 496.7 kB / 0.6922 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001375/0.735, allocations: 267.5 kB / 0.6924 GB, free: 13.84 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001666/0.7367, allocations: 0.9994 MB / 0.6934 GB, free: 12.82 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002283/0.739, allocations: 242.8 kB / 0.6936 GB, free: 12.58 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.7391, allocations: 51.95 kB / 0.6937 GB, free: 12.53 MB / 0.5137 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 (heaPum.com.isOn,$PRE.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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.0009722/0.7401, allocations: 460.8 kB / 0.6941 GB, free: 12.07 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000313/0.7404, allocations: 142.2 kB / 0.6942 GB, free: 11.93 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004429/0.7449, allocations: 1.339 MB / 0.6956 GB, free: 10.58 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.662e-05/0.7449, allocations: 7.938 kB / 0.6956 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.643e-06/0.7449, allocations: 0 / 0.6956 GB, free: 10.57 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003765/0.7487, allocations: 1.154 MB / 0.6967 GB, free: 9.387 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007476/0.7562, allocations: 3.073 MB / 0.6997 GB, free: 6.191 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.728e-06/0.7562, allocations: 4 kB / 0.6997 GB, free: 6.188 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009499/0.7572, allocations: 155.8 kB / 0.6998 GB, free: 6.035 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001693/0.7589, allocations: 477 kB / 0.7003 GB, free: 5.566 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.895e-05/0.759, allocations: 31.91 kB / 0.7003 GB, free: 5.535 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.7607, allocations: 0.9911 MB / 0.7013 GB, free: 4.52 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.7607, allocations: 8 kB / 0.7013 GB, free: 4.512 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006274/0.767, allocations: 1.975 MB / 0.7032 GB, free: 2.457 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009609/0.7679, allocations: 395 kB / 0.7036 GB, free: 2.051 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002337/0.7682, allocations: 16.12 kB / 0.7036 GB, free: 2.035 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00181/0.77, allocations: 168 kB / 0.7038 GB, free: 1.875 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001192/0.7701, allocations: 60.23 kB / 0.7038 GB, free: 1.816 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.325e-05/0.7702, allocations: 47.94 kB / 0.7039 GB, free: 1.77 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.001634/0.7719, allocations: 0.9777 MB / 0.7048 GB, free: 0.793 MB / 0.5137 GB Notification: Performance of sort global known variables: time 2.11e-07/0.7719, allocations: 3.938 kB / 0.7048 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.002519/0.7744, allocations: 0.8852 MB / 0.7057 GB, free: 15.9 MB / 0.5294 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001217/0.7756, allocations: 0.5475 MB / 0.7062 GB, free: 15.35 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.006502/0.7822, allocations: 1.869 MB / 0.7081 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 9.928e-06/0.7822, allocations: 0 / 0.7081 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.001909/0.7841, allocations: 0.5259 MB / 0.7086 GB, free: 12.96 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004798/0.7889, allocations: 0.8188 MB / 0.7094 GB, free: 12.16 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007025/0.796, allocations: 3.3 MB / 0.7126 GB, free: 8.773 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001099/0.7971, allocations: 1.207 MB / 0.7138 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.002081/0.7992, allocations: 370.8 kB / 0.7141 GB, free: 7.176 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003565/0.7996, allocations: 135.3 kB / 0.7143 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of SimCode: time 8.32e-07/0.7996, allocations: 0 / 0.7143 GB, free: 7.043 MB / 0.5294 GB Notification: Performance of Templates: time 0.08943/0.889, allocations: 38.18 MB / 0.7516 GB, free: 1.281 MB / 0.5606 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_VariableSpeed.pipe 2>&1)