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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",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.001099/0.001099, allocations: 96.81 kB / 15.69 MB, free: 480 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.00116/0.00116, allocations: 174.9 kB / 16.57 MB, free: 6.398 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.279/1.279, allocations: 223.2 MB / 240.5 MB, free: 5.461 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6414/0.6414, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 16.77 kB / 493 MB, free: 8.648 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.1547, allocations: 77.11 MB / 0.5567 GB, free: 11.73 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor): time 0.5646/0.7193, allocations: 109.4 MB / 0.6635 GB, free: 12.7 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.05238/0.7718, allocations: 21.34 MB / 0.6844 GB, free: 7.324 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01213/0.7841, allocations: 111.2 kB / 0.6845 GB, free: 7.215 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.01051/0.7947, allocations: 1.457 MB / 0.6859 GB, free: 5.75 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.03186/0.8267, allocations: 4.202 MB / 0.69 GB, free: 1.543 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01641/0.8431, allocations: 3.132 MB / 0.6931 GB, free: 14.47 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.02304/0.8662, allocations: 5.108 MB / 0.6981 GB, free: 9.355 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009071/0.8753, allocations: 2.288 MB / 0.7003 GB, free: 7.035 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01672/0.8922, allocations: 2.433 MB / 0.7027 GB, free: 4.594 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009589/0.9019, allocations: 1.575 MB / 0.7042 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.002572/0.9046, allocations: 128 kB / 0.7043 GB, free: 2.887 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01706/0.9217, allocations: 1.748 MB / 0.706 GB, free: 1.137 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.00406/0.9259, allocations: 0.5759 MB / 0.7066 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.005555/0.9316, allocations: 0.7344 MB / 0.7073 GB, free: 15.81 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.02194/0.9536, allocations: 4.57 MB / 0.7118 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 9.668e-06/0.9537, allocations: 0 / 0.7118 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 7.935e-06/0.9538, allocations: 3.938 kB / 0.7118 GB, free: 11.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 0.00039/0.9542, allocations: 0 / 0.7118 GB, free: 11.23 MB / 0.5294 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.02144/0.9756, allocations: 3.363 MB / 0.7151 GB, free: 7.766 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001232/0.9758, allocations: 12.03 kB / 0.7151 GB, free: 7.754 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002883/0.9787, allocations: 332.8 kB / 0.7154 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02165/1, allocations: 1.459 MB / 0.7168 GB, free: 5.953 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01668/1.017, allocations: 2.721 MB / 0.7195 GB, free: 3.156 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008884/1.018, allocations: 255.9 kB / 0.7197 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001949/1.02, allocations: 236 kB / 0.72 GB, free: 2.66 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02334/1.044, allocations: 3.209 MB / 0.7231 GB, free: 15.27 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001602/1.044, allocations: 3.906 kB / 0.7231 GB, free: 15.26 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001015/1.045, allocations: 108 kB / 0.7232 GB, free: 15.16 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001887/1.045, allocations: 67.94 kB / 0.7233 GB, free: 15.09 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0223/1.067, allocations: 2.885 MB / 0.7261 GB, free: 12.19 MB / 0.545 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.04919/1.117, allocations: 13.52 MB / 0.7393 GB, free: 14.04 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007009/1.124, allocations: 1.527 MB / 0.7408 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00387/1.128, allocations: 1.782 MB / 0.7425 GB, free: 10.34 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006995/1.135, allocations: 1.226 MB / 0.7437 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=130): time 1.778e-05/1.135, allocations: 0 / 0.7437 GB, free: 9.047 MB / 0.5606 GB Notification: Performance of matching and sorting (n=130): time 0.05043/1.185, allocations: 5.991 MB / 0.7496 GB, free: 3.008 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004659/1.186, allocations: 0.5766 MB / 0.7501 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01426/1.2, allocations: 2.591 MB / 0.7527 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.001241/1.201, allocations: 57.7 kB / 0.7527 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00356/1.205, allocations: 1.351 MB / 0.754 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.001666/1.207, allocations: 453.5 kB / 0.7545 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000776/1.208, allocations: 36 kB / 0.7545 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0006659/1.208, allocations: 377.9 kB / 0.7549 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008274/1.217, allocations: 1.019 MB / 0.7559 GB, free: 12.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.009897/1.227, allocations: 1.603 MB / 0.7574 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00832/1.235, allocations: 1.155 MB / 0.7585 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.594e-05/1.235, allocations: 4 kB / 0.7586 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of matching and sorting (n=227) (initialization): time 0.04247/1.278, allocations: 4.147 MB / 0.7626 GB, free: 5.203 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 0.005061/1.283, allocations: 5.014 MB / 0.7675 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.862e-05/1.283, allocations: 12 kB / 0.7675 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007181/1.29, allocations: 0.9607 MB / 0.7684 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006434/1.297, allocations: 0.5109 MB / 0.7689 GB, free: 14.28 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007829/1.305, allocations: 1.982 MB / 0.7709 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01103/1.316, allocations: 0.5294 MB / 0.7714 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001274/1.317, allocations: 107.9 kB / 0.7715 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 4.481e-05/1.317, allocations: 4 kB / 0.7715 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03764/1.355, allocations: 3.864 MB / 0.7753 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.008e-05/1.355, allocations: 12.44 kB / 0.7753 GB, free: 7.715 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005948/1.361, allocations: 0.961 MB / 0.7762 GB, free: 6.754 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004574/1.366, allocations: 0.5031 MB / 0.7767 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005727/1.371, allocations: 1.986 MB / 0.7787 GB, free: 4.215 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007827/1.379, allocations: 478.7 kB / 0.7791 GB, free: 3.746 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009932/1.38, allocations: 103.9 kB / 0.7792 GB, free: 3.645 MB / 0.5919 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.004253/1.385, allocations: 0.6998 MB / 0.7799 GB, free: 2.934 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002208/1.387, allocations: 272.7 kB / 0.7802 GB, free: 2.664 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01779/1.405, allocations: 2.579 MB / 0.7827 GB, free: 64 kB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.582e-05/1.405, allocations: 12 kB / 0.7827 GB, free: 52 kB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.247e-05/1.405, allocations: 7.984 kB / 0.7827 GB, free: 44 kB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01633/1.421, allocations: 2.185 MB / 0.7848 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04779/1.469, allocations: 7.615 MB / 0.7923 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001241/1.469, allocations: 8.656 kB / 0.7923 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003132/1.473, allocations: 295.5 kB / 0.7926 GB, free: 5.699 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005955/1.479, allocations: 0.9425 MB / 0.7935 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006579/1.479, allocations: 51.94 kB / 0.7935 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005717/1.485, allocations: 1.975 MB / 0.7955 GB, free: 2.68 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.028e-05/1.485, allocations: 12 kB / 0.7955 GB, free: 2.668 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02229/1.507, allocations: 4.458 MB / 0.7998 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005031/1.513, allocations: 0.6924 MB / 0.8005 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00248/1.515, allocations: 39.95 kB / 0.8005 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007366/1.523, allocations: 295.5 kB / 0.8008 GB, free: 12.7 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00079/1.523, allocations: 120.7 kB / 0.8009 GB, free: 12.58 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005507/1.524, allocations: 75.92 kB / 0.801 GB, free: 12.51 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.007703/1.532, allocations: 1.817 MB / 0.8028 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.273e-06/1.532, allocations: 0 / 0.8028 GB, free: 10.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.01388/1.546, allocations: 1.703 MB / 0.8044 GB, free: 8.98 MB / 0.6231 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.02516/1.571, allocations: 7.529 MB / 0.8118 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.02277/1.594, allocations: 3.764 MB / 0.8155 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.666e-05/1.594, allocations: 4.438 kB / 0.8155 GB, free: 13.43 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.007072/1.601, allocations: 1.106 MB / 0.8166 GB, free: 12.32 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01357/1.615, allocations: 1.367 MB / 0.8179 GB, free: 10.98 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6415/2.256, allocations: 15.66 MB / 0.8332 GB, free: 217.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00193/2.258, allocations: 1.772 MB / 0.8349 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.004292/2.263, allocations: 0.6853 MB / 0.8356 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002148/2.265, allocations: 1.159 MB / 0.8367 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of SimCode: time 1.092e-06/2.265, allocations: 0 / 0.8367 GB, free: 216.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.376/3.641, allocations: 91.56 MB / 0.9261 GB, free: 150.7 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000301/3.641, allocations: 275 kB / 0.9264 GB, free: 150.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.821/12.46, allocations: 0 / 0.9264 GB, free: 150.3 MB / 0.6387 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1) Environment - environmentSimulation: