Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.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_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008001/0.0008002, allocations: 92.95 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.000927/0.0009267, allocations: 185 kB / 16.92 MB, free: 6.934 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.325/1.325, allocations: 223.3 MB / 241 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7518/0.7518, allocations: 115.5 MB / 407.6 MB, free: 2.656 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003116/0.0003118, allocations: 11.98 kB / 495.9 MB, free: 6.324 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 77.53 MB / 0.56 GB, free: 9.008 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.4027/0.5467, allocations: 127.9 MB / 0.6849 GB, free: 6.883 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03768/0.5844, allocations: 24.92 MB / 0.7092 GB, free: 13.9 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005243/0.5897, allocations: 123.2 kB / 0.7093 GB, free: 13.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004893/0.5946, allocations: 1.406 MB / 0.7107 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.01246/0.6071, allocations: 4.147 MB / 0.7148 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.008307/0.6154, allocations: 3.208 MB / 0.7179 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.01579/0.6312, allocations: 11.45 MB / 0.7291 GB, free: 9.562 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00696/0.6382, allocations: 2.529 MB / 0.7315 GB, free: 6.98 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008076/0.6463, allocations: 2.757 MB / 0.7342 GB, free: 4.211 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004957/0.6513, allocations: 2.309 MB / 0.7365 GB, free: 1.891 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.001024/0.6524, allocations: 128 kB / 0.7366 GB, free: 1.766 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006451/0.6588, allocations: 2.476 MB / 0.739 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.001275/0.6601, allocations: 0.626 MB / 0.7396 GB, free: 14.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.003299/0.6635, allocations: 1.712 MB / 0.7413 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00933/0.6728, allocations: 6.055 MB / 0.7472 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.659e-06/0.6728, allocations: 0 / 0.7472 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.305e-06/0.6728, allocations: 0 / 0.7472 GB, free: 6.855 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001661/0.673, allocations: 4 kB / 0.7472 GB, free: 6.852 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 581 * Number of variables: 581 Notification: Performance of Generate backend data structure: time 0.007994/0.681, allocations: 3.366 MB / 0.7505 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.049e-05/0.6811, allocations: 8.031 kB / 0.7505 GB, free: 3.375 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01186/0.6929, allocations: 1.463 MB / 0.752 GB, free: 1.906 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006235/0.6992, allocations: 2.937 MB / 0.7548 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000273/0.6995, allocations: 259.9 kB / 0.7551 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004995/0.7, allocations: 236 kB / 0.7553 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008349/0.7084, allocations: 3.247 MB / 0.7585 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.1e-05/0.7084, allocations: 3.938 kB / 0.7585 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003047/0.7088, allocations: 104 kB / 0.7586 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.45e-05/0.7088, allocations: 71.92 kB / 0.7586 GB, free: 10.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01/0.7188, allocations: 2.901 MB / 0.7615 GB, free: 7.867 MB / 0.5762 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.02152/0.7404, allocations: 13.46 MB / 0.7746 GB, free: 9.781 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004567/0.745, allocations: 1.527 MB / 0.7761 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003464/0.7485, allocations: 0.9605 MB / 0.7771 GB, free: 7.289 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001819/0.7503, allocations: 1.782 MB / 0.7788 GB, free: 5.117 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004007/0.7543, allocations: 1.244 MB / 0.78 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=130): time 3.687e-06/0.7544, allocations: 0 / 0.78 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of matching and sorting (n=130): time 0.04417/0.7985, allocations: 6.022 MB / 0.7859 GB, free: 13.73 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003458/0.7989, allocations: 0.5727 MB / 0.7864 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004608/0.8035, allocations: 2.509 MB / 0.7889 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0005106/0.8041, allocations: 61.7 kB / 0.789 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.00131/0.8054, allocations: 1.357 MB / 0.7903 GB, free: 9.062 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006873/0.8061, allocations: 453.6 kB / 0.7907 GB, free: 8.613 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002671/0.8064, allocations: 149.6 kB / 0.7909 GB, free: 8.461 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001014/0.8065, allocations: 309 kB / 0.7911 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004169/0.8107, allocations: 1.03 MB / 0.7922 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004726/0.8154, allocations: 1.626 MB / 0.7937 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007827/0.8233, allocations: 2.335 MB / 0.796 GB, free: 2.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/0.8233, allocations: 4 kB / 0.796 GB, free: 2.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02467/0.848, allocations: 4.224 MB / 0.8002 GB, free: 14.51 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003482/0.8484, allocations: 477.8 kB / 0.8006 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.864e-05/0.8484, allocations: 12 kB / 0.8006 GB, free: 13.86 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003539/0.852, allocations: 0.959 MB / 0.8016 GB, free: 12.91 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002993/0.855, allocations: 0.503 MB / 0.802 GB, free: 12.4 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003459/0.8585, allocations: 2.001 MB / 0.804 GB, free: 10.36 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006429/0.8649, allocations: 0.5302 MB / 0.8045 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006254/0.8656, allocations: 103.9 kB / 0.8046 GB, free: 9.723 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.372e-05/0.8656, allocations: 4 kB / 0.8046 GB, free: 9.719 MB / 0.6231 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03856/0.9042, allocations: 3.934 MB / 0.8085 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.874e-05/0.9043, allocations: 12 kB / 0.8085 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006469/0.9107, allocations: 0.9592 MB / 0.8094 GB, free: 4.797 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005354/0.9161, allocations: 0.4992 MB / 0.8099 GB, free: 4.297 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006087/0.9222, allocations: 1.992 MB / 0.8118 GB, free: 2.254 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008062/0.9303, allocations: 470.5 kB / 0.8123 GB, free: 1.793 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004894/0.9308, allocations: 103.9 kB / 0.8124 GB, free: 1.691 MB / 0.6231 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * Number of states: 0 () * Number of discrete variables: 10 (realToInteger.y,N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum1.com.isOn,$PRE.heaPum1.com.isOn,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (186): * Single equations (assignments): 183 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (2,19)} Notification: Performance of prepare postOptimizeDAE: time 0.002694/0.9336, allocations: 0.7036 MB / 0.8131 GB, free: 0.9766 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001198/0.9348, allocations: 264.8 kB / 0.8133 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02213/0.9569, allocations: 2.583 MB / 0.8159 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.361e-05/0.957, allocations: 16 kB / 0.8159 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.007e-05/0.957, allocations: 4.25 kB / 0.8159 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01786/0.9749, allocations: 2.193 MB / 0.818 GB, free: 11.83 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02964/1.005, allocations: 7.581 MB / 0.8254 GB, free: 4.066 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.444e-05/1.005, allocations: 8 kB / 0.8254 GB, free: 4.059 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001979/1.007, allocations: 303.5 kB / 0.8257 GB, free: 3.762 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003494/1.01, allocations: 0.945 MB / 0.8266 GB, free: 2.82 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002191/1.01, allocations: 47.94 kB / 0.8267 GB, free: 2.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003411/1.014, allocations: 1.979 MB / 0.8286 GB, free: 0.7422 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.769e-06/1.014, allocations: 20 kB / 0.8286 GB, free: 0.7227 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2808/1.295, allocations: 3.723 MB / 0.8323 GB, free: 222.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002689/1.297, allocations: 0.6703 MB / 0.8329 GB, free: 222.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001038/1.298, allocations: 42.33 kB / 0.833 GB, free: 222.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004028/1.302, allocations: 300.7 kB / 0.8333 GB, free: 222.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002987/1.303, allocations: 112.9 kB / 0.8334 GB, free: 222.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002222/1.303, allocations: 76.11 kB / 0.8334 GB, free: 222.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003921/1.307, allocations: 1.759 MB / 0.8352 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of sort global known variables: time 4.11e-07/1.307, allocations: 0 / 0.8352 GB, free: 221.7 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.005389/1.312, allocations: 1.68 MB / 0.8368 GB, free: 221.6 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 33 * Number of states: 4 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U,heaPum1.con.vol.dynBal.U,heaPum1.eva.vol.dynBal.U) * Number of discrete variables: 6 ($whenCondition1,heaPum.com.isOn,heaPum1.com.isOn,N.T_start,N.count,realToInteger.y) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,19), (2,19)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0018/1.314, allocations: 0.8009 MB / 0.8376 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.01377/1.328, allocations: 3.79 MB / 0.8413 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.449e-05/1.328, allocations: 4.75 kB / 0.8413 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.004003/1.332, allocations: 1.108 MB / 0.8424 GB, free: 220 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01091/1.343, allocations: 1.443 MB / 0.8438 GB, free: 219.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0117/1.355, allocations: 6.257 MB / 0.8499 GB, free: 216.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001425/1.356, allocations: 1.719 MB / 0.8516 GB, free: 215.4 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.003733/1.36, allocations: 0.6868 MB / 0.8522 GB, free: 215.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007245/1.361, allocations: 248.3 kB / 0.8525 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of SimCode: time 1.282e-06/1.361, allocations: 0 / 0.8525 GB, free: 215.2 MB / 0.6387 GB Notification: Performance of Templates: time 0.09246/1.453, allocations: 70.5 MB / 0.9213 GB, free: 157.1 MB / 0.6387 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)