Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor") translateModel(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.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.0009526/0.0009524, allocations: 99.7 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.00106/0.00106, 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.339/1.339, allocations: 223.2 MB / 239.9 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9435/0.9435, allocations: 143.3 MB / 434.3 MB, free: 13.68 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000287/0.000287, allocations: 15.98 kB / 0.5158 GB, free: 11.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1426, allocations: 83.4 MB / 0.5973 GB, free: 7.824 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.33/0.4726, allocations: 109.4 MB / 0.7041 GB, free: 4.023 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03418/0.5068, allocations: 21.39 MB / 0.725 GB, free: 4.738 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004572/0.5114, allocations: 112.7 kB / 0.7251 GB, free: 4.691 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.00475/0.5162, allocations: 1.465 MB / 0.7265 GB, free: 3.863 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01404/0.5302, allocations: 4.192 MB / 0.7306 GB, free: 0.6523 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.009895/0.5402, allocations: 3.132 MB / 0.7337 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01012/0.5503, allocations: 5.107 MB / 0.7387 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003956/0.5543, allocations: 2.283 MB / 0.7409 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005886/0.5602, allocations: 2.437 MB / 0.7433 GB, free: 6.547 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00319/0.5634, allocations: 1.579 MB / 0.7448 GB, free: 4.961 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0006417/0.564, allocations: 132 kB / 0.745 GB, free: 4.832 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005575/0.5696, allocations: 1.74 MB / 0.7467 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009507/0.5706, allocations: 0.5719 MB / 0.7472 GB, free: 2.516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001379/0.572, allocations: 0.7382 MB / 0.7479 GB, free: 1.77 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.006382/0.5784, allocations: 4.884 MB / 0.7527 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.5784, allocations: 0 / 0.7527 GB, free: 12.88 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5784, allocations: 4 kB / 0.7527 GB, free: 12.87 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001245/0.5785, allocations: 0 / 0.7527 GB, free: 12.87 MB / 0.5762 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.006477/0.585, allocations: 3.379 MB / 0.756 GB, free: 9.395 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.5851, allocations: 8.031 kB / 0.756 GB, free: 9.387 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01102/0.5961, allocations: 1.455 MB / 0.7574 GB, free: 7.926 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004869/0.601, allocations: 2.737 MB / 0.7601 GB, free: 5.113 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000223/0.6012, allocations: 255.9 kB / 0.7604 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003754/0.6016, allocations: 243.8 kB / 0.7606 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007276/0.6089, allocations: 3.201 MB / 0.7637 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.459e-05/0.609, allocations: 0 / 0.7637 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002699/0.6092, allocations: 104 kB / 0.7638 GB, free: 1.125 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.468e-05/0.6093, allocations: 79.92 kB / 0.7639 GB, free: 1.047 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00915/0.6185, allocations: 2.878 MB / 0.7667 GB, free: 14.15 MB / 0.5919 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.01953/0.638, allocations: 13.56 MB / 0.7799 GB, free: 15.97 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004274/0.6423, allocations: 1.524 MB / 0.7814 GB, free: 14.44 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001663/0.644, allocations: 1.786 MB / 0.7832 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0036/0.6476, allocations: 1.236 MB / 0.7844 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=130): time 2.865e-06/0.6476, allocations: 0 / 0.7844 GB, free: 10.97 MB / 0.6075 GB Notification: Performance of matching and sorting (n=130): time 0.04044/0.6881, allocations: 5.98 MB / 0.7902 GB, free: 4.941 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002355/0.6883, allocations: 0.5766 MB / 0.7908 GB, free: 4.227 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003985/0.6923, allocations: 2.587 MB / 0.7933 GB, free: 1.621 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0002341/0.6926, allocations: 65.7 kB / 0.7934 GB, free: 1.551 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.001112/0.6937, allocations: 1.348 MB / 0.7947 GB, free: 192 kB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000476/0.6942, allocations: 461.4 kB / 0.7951 GB, free: 15.73 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001344/0.6943, allocations: 36 kB / 0.7952 GB, free: 15.7 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.6945, allocations: 369.9 kB / 0.7955 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003846/0.6984, allocations: 1.027 MB / 0.7965 GB, free: 14.3 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004112/0.7025, allocations: 1.596 MB / 0.7981 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003885/0.7064, allocations: 1.159 MB / 0.7992 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.157e-05/0.7064, allocations: 4 kB / 0.7992 GB, free: 11.3 MB / 0.6231 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.02262/0.729, allocations: 4.147 MB / 0.8033 GB, free: 7.125 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 0.002027/0.7311, allocations: 5.018 MB / 0.8082 GB, free: 1.684 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.045e-05/0.7311, allocations: 12 kB / 0.8082 GB, free: 1.672 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003594/0.7347, allocations: 0.9552 MB / 0.8091 GB, free: 0.7188 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002944/0.7377, allocations: 0.507 MB / 0.8096 GB, free: 216 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003414/0.7411, allocations: 1.987 MB / 0.8115 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005096/0.7463, allocations: 0.5322 MB / 0.8121 GB, free: 13.64 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003819/0.7467, allocations: 107.9 kB / 0.8122 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.7467, allocations: 4 kB / 0.8122 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02161/0.7683, allocations: 3.863 MB / 0.8159 GB, free: 9.66 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.075e-05/0.7684, allocations: 12 kB / 0.816 GB, free: 9.648 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003368/0.7718, allocations: 0.9563 MB / 0.8169 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002859/0.7746, allocations: 0.5069 MB / 0.8174 GB, free: 8.191 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003366/0.778, allocations: 1.997 MB / 0.8193 GB, free: 6.145 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004688/0.7827, allocations: 473.8 kB / 0.8198 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004221/0.7832, allocations: 103.9 kB / 0.8199 GB, free: 5.578 MB / 0.6387 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.com.isOn,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count,realToInteger.y) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of prepare postOptimizeDAE: time 0.001862/0.785, allocations: 0.7016 MB / 0.8206 GB, free: 4.867 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007769/0.7858, allocations: 276.7 kB / 0.8208 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01143/0.7973, allocations: 2.581 MB / 0.8234 GB, free: 1.996 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.488e-05/0.7973, allocations: 16.03 kB / 0.8234 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.236e-05/0.7974, allocations: 4 kB / 0.8234 GB, free: 1.977 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01018/0.8075, allocations: 2.189 MB / 0.8255 GB, free: 15.73 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02684/0.8344, allocations: 7.615 MB / 0.8329 GB, free: 7.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.802e-05/0.8345, allocations: 8.25 kB / 0.833 GB, free: 7.922 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001785/0.8363, allocations: 296.1 kB / 0.8332 GB, free: 7.633 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003194/0.8395, allocations: 0.9483 MB / 0.8342 GB, free: 6.691 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001653/0.8397, allocations: 43.95 kB / 0.8342 GB, free: 6.648 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00315/0.8428, allocations: 1.979 MB / 0.8361 GB, free: 4.621 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/0.8428, allocations: 15.89 kB / 0.8362 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01203/0.8549, allocations: 4.462 MB / 0.8405 GB, free: 15.68 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001658/0.8566, allocations: 0.704 MB / 0.8412 GB, free: 14.95 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00048/0.8571, allocations: 43.95 kB / 0.8412 GB, free: 14.91 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003219/0.8603, allocations: 297.1 kB / 0.8415 GB, free: 14.62 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002017/0.8605, allocations: 120.7 kB / 0.8416 GB, free: 14.5 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001492/0.8607, allocations: 75.92 kB / 0.8417 GB, free: 14.43 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003004/0.8637, allocations: 1.817 MB / 0.8435 GB, free: 12.61 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.21e-07/0.8637, allocations: 0 / 0.8435 GB, free: 12.61 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.004595/0.8683, allocations: 1.7 MB / 0.8451 GB, free: 10.91 MB / 0.67 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 19,2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.00159/0.8699, allocations: 0.8358 MB / 0.846 GB, free: 10.08 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.01296/0.8829, allocations: 3.759 MB / 0.8496 GB, free: 6.297 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.25e-05/0.8829, allocations: 4.438 kB / 0.8496 GB, free: 6.293 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.003802/0.8867, allocations: 1.107 MB / 0.8507 GB, free: 5.188 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006543/0.8933, allocations: 1.374 MB / 0.8521 GB, free: 3.84 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2447/1.138, allocations: 5.948 MB / 0.8579 GB, free: 200.1 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001016/1.139, allocations: 1.78 MB / 0.8596 GB, free: 199.4 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.003393/1.142, allocations: 0.6931 MB / 0.8603 GB, free: 199.3 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005924/1.143, allocations: 239.7 kB / 0.8605 GB, free: 199.3 MB / 0.67 GB Notification: Performance of SimCode: time 8.61e-07/1.143, allocations: 0 / 0.8605 GB, free: 199.3 MB / 0.67 GB Notification: Performance of Templates: time 0.1023/1.245, allocations: 68.88 MB / 0.9278 GB, free: 176.5 MB / 0.67 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.makefile Environment - environmentSimulation: (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: