Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor,fileNamePrefix="Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.65/1.65, allocations: 285.4 MB / 298 MB, free: 5.957 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001553/0.001553, allocations: 188.8 kB / 366.4 MB, free: 2.07 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.915/1.915, allocations: 205.1 MB / 0.6248 GB, free: 7.719 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009915/0.0009915, allocations: 90.39 kB / 0.738 GB, free: 40.26 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 5.591e-05/5.613e-05, allocations: 4 kB / 0.8584 GB, free: 12.98 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8599/0.8599, allocations: 115.3 MB / 0.971 GB, free: 77.99 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.24/2.1, allocations: 424.2 MB / 1.385 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002657/2.1, allocations: 94.38 kB / 1.385 GB, free: 135.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.145/6.245, allocations: 1.042 GB / 2.427 GB, free: 107 MB / 0.9636 GB Notification: Performance of FrontEnd: time 3.487e-06/6.245, allocations: 1.344 kB / 2.427 GB, free: 107 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 0.0005929/6.246, allocations: 80.44 kB / 2.427 GB, free: 107 MB / 0.9636 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.01294/6.258, allocations: 3.202 MB / 2.43 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 7.451e-05/6.259, allocations: 9 kB / 2.43 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001195/6.26, allocations: 321.4 kB / 2.431 GB, free: 105.7 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01786/6.278, allocations: 1.311 MB / 2.432 GB, free: 105.5 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01405/6.292, allocations: 3.308 MB / 2.435 GB, free: 105.1 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004951/6.292, allocations: 256.6 kB / 2.435 GB, free: 105 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00107/6.293, allocations: 237.1 kB / 2.436 GB, free: 105 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01052/6.304, allocations: 2.828 MB / 2.438 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001134/6.304, allocations: 6.562 kB / 2.438 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006508/6.305, allocations: 102.2 kB / 2.438 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001662/6.305, allocations: 73.55 kB / 2.438 GB, free: 104.5 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007918/6.313, allocations: 2.167 MB / 2.441 GB, free: 104.5 MB / 0.9636 GB Warning: The model contains alias variables with conflicting start and/or 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.02998/6.343, allocations: 13.35 MB / 2.454 GB, free: 98.82 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/6.346, allocations: 1.232 MB / 2.455 GB, free: 98.59 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001702/6.348, allocations: 0.6626 MB / 2.455 GB, free: 98.58 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002257/6.35, allocations: 1.779 MB / 2.457 GB, free: 96.61 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00185/6.352, allocations: 1.001 MB / 2.458 GB, free: 96.32 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=122): time 6.162e-06/6.352, allocations: 3.844 kB / 2.458 GB, free: 96.32 MB / 0.9636 GB Notification: Performance of matching and sorting (n=122): time 0.005544/6.357, allocations: 1.705 MB / 2.46 GB, free: 96.1 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002599/6.358, allocations: 0.9326 MB / 2.461 GB, free: 94.97 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004447/6.362, allocations: 2.253 MB / 2.463 GB, free: 94.73 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 0.0006277/6.363, allocations: 68.14 kB / 2.463 GB, free: 94.7 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 0.00135/6.364, allocations: 1.353 MB / 2.464 GB, free: 94.21 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006504/6.365, allocations: 428.5 kB / 2.465 GB, free: 93.95 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000136/6.365, allocations: 34 kB / 2.465 GB, free: 93.95 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0001221/6.365, allocations: 369.1 kB / 2.465 GB, free: 93.65 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001291/6.366, allocations: 0.6573 MB / 2.466 GB, free: 93.64 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001495/6.368, allocations: 1.266 MB / 2.467 GB, free: 92.99 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001212/6.369, allocations: 0.7891 MB / 2.468 GB, free: 92.93 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/6.369, allocations: 3.656 kB / 2.468 GB, free: 92.93 MB / 0.9636 GB Notification: Performance of matching and sorting (n=211) (initialization): time 0.0122/6.381, allocations: 2.897 MB / 2.471 GB, free: 92.68 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.001172/6.383, allocations: 5.028 MB / 2.476 GB, free: 87.41 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.386e-05/6.383, allocations: 16.92 kB / 2.476 GB, free: 87.41 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002648/6.385, allocations: 0.817 MB / 2.476 GB, free: 87.39 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002943/6.388, allocations: 0.4885 MB / 2.477 GB, free: 87.39 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001758/6.39, allocations: 1.811 MB / 2.479 GB, free: 86.33 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005472/6.396, allocations: 0.531 MB / 2.479 GB, free: 86.21 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003589/6.396, allocations: 109.3 kB / 2.479 GB, free: 86.21 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/6.396, allocations: 3.969 kB / 2.479 GB, free: 86.21 MB / 0.9636 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01123/6.407, allocations: 2.622 MB / 2.482 GB, free: 86.13 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.708e-05/6.407, allocations: 15.19 kB / 2.482 GB, free: 86.13 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002284/6.41, allocations: 0.8223 MB / 2.483 GB, free: 86.11 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002681/6.412, allocations: 483.2 kB / 2.483 GB, free: 86.11 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00177/6.414, allocations: 1.799 MB / 2.485 GB, free: 85.05 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00604/6.42, allocations: 459.9 kB / 2.485 GB, free: 84.96 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004952/6.421, allocations: 104.9 kB / 2.485 GB, free: 84.96 MB / 0.9636 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,heaPum.stage,$PRE.heaPum1.com.isOn,heaPum1.com.isOn,$PRE.N.T_start,N.T_start,$PRE.N.count,N.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (170): * Single equations (assignments): 167 * 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.0006052/6.421, allocations: 230.7 kB / 2.486 GB, free: 84.84 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009645/6.422, allocations: 272 kB / 2.486 GB, free: 84.71 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01142/6.434, allocations: 2.308 MB / 2.488 GB, free: 84.59 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.225e-05/6.434, allocations: 14.81 kB / 2.488 GB, free: 84.59 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.216e-05/6.434, allocations: 3.844 kB / 2.488 GB, free: 84.59 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01036/6.444, allocations: 2.076 MB / 2.49 GB, free: 84.3 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01785/6.462, allocations: 7.017 MB / 2.497 GB, free: 82.29 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.527e-05/6.462, allocations: 8.344 kB / 2.497 GB, free: 82.29 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001865/6.464, allocations: 291.1 kB / 2.497 GB, free: 82.29 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002329/6.466, allocations: 0.8084 MB / 2.498 GB, free: 82.27 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002442/6.467, allocations: 48.53 kB / 2.498 GB, free: 82.27 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001636/6.468, allocations: 1.801 MB / 2.5 GB, free: 81.22 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/6.468, allocations: 11.09 kB / 2.5 GB, free: 81.22 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005267/6.474, allocations: 3.406 MB / 2.503 GB, free: 79.73 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002388/6.476, allocations: 0.6659 MB / 2.504 GB, free: 79.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009132/6.477, allocations: 38.2 kB / 2.504 GB, free: 79.48 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00385/6.481, allocations: 296.9 kB / 2.504 GB, free: 79.47 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002182/6.481, allocations: 118.9 kB / 2.504 GB, free: 79.46 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001863/6.481, allocations: 70.59 kB / 2.504 GB, free: 79.46 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 0.003051/6.484, allocations: 1.746 MB / 2.506 GB, free: 79.3 MB / 0.9636 GB Notification: Performance of sort global known variables: time 2.8e-07/6.484, allocations: 3.844 kB / 2.506 GB, free: 79.3 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.007427/6.492, allocations: 1.854 MB / 2.508 GB, free: 79.03 MB / 0.9636 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * 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,heaPum.stage,heaPum1.com.isOn,N.T_start,N.count) * Number of discrete states: 3 (N.count,heaPum1.com.isOn,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 78 * 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.008079/6.5, allocations: 6.933 MB / 2.515 GB, free: 75.29 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.005375/6.505, allocations: 2.796 MB / 2.517 GB, free: 75.11 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 1.989e-05/6.505, allocations: 4.25 kB / 2.517 GB, free: 75.1 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 0.001462/6.507, allocations: 0.8016 MB / 2.518 GB, free: 75.08 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007476/6.514, allocations: 1.412 MB / 2.52 GB, free: 75.05 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01214/6.526, allocations: 4.479 MB / 2.524 GB, free: 73.72 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001229/6.528, allocations: 1.772 MB / 2.526 GB, free: 72.98 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 0.004595/6.532, allocations: 0.8628 MB / 2.527 GB, free: 72.95 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00143/6.534, allocations: 1.1 MB / 2.528 GB, free: 72.95 MB / 0.9636 GB Notification: Performance of SimCode: time 9.22e-07/6.534, allocations: 0 / 2.528 GB, free: 72.95 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1536/6.687, allocations: 106.4 MB / 2.632 GB, free: 62.4 MB / 0.9636 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001591/6.688, allocations: 242.1 kB / 2.632 GB, free: 62.07 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.964/12.65, allocations: 0 / 2.632 GB, free: 62.07 MB / 0.9636 GB (rm -f Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Fluid_HeatPumps_Validation_ScrollWaterToWater_ScalingFactor.fmu > Buildings_maint.8.0.x_Buildings.Fluid.HeatPumps.Validation.ScrollWaterToWater_ScalingFactor.pipe 2>&1)