Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.607/2.607, allocations: 287.3 MB / 302.3 MB, free: 8.301 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.001509/0.001509, allocations: 179 kB / 370.8 MB, free: 10.86 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.12/2.12, allocations: 205.4 MB / 0.6295 GB, free: 10.61 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001161/0.001161, allocations: 81.91 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005061/0.0005062, allocations: 12.05 kB / 0.8657 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2457/0.2463, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.355/1.601, allocations: 423.8 MB / 1.392 GB, free: 6.367 MB / 0.9167 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003211/1.602, allocations: 98.88 kB / 1.392 GB, free: 6.316 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 5.566/7.168, allocations: 1.046 GB / 2.438 GB, free: 53 MB / 0.948 GB Notification: Performance of FrontEnd: time 2.976e-06/7.168, allocations: 0 / 2.438 GB, free: 53 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0004859/7.168, allocations: 83.92 kB / 2.438 GB, free: 52.91 MB / 0.948 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 583 * Number of variables: 583 Notification: Performance of Generate backend data structure: time 0.01447/7.183, allocations: 3.71 MB / 2.442 GB, free: 49.1 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/7.183, allocations: 12.03 kB / 2.442 GB, free: 49.09 MB / 0.948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001511/7.184, allocations: 336.8 kB / 2.442 GB, free: 48.75 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01651/7.201, allocations: 1.21 MB / 2.443 GB, free: 47.54 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01057/7.211, allocations: 3.319 MB / 2.447 GB, free: 44.15 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003096/7.212, allocations: 259.9 kB / 2.447 GB, free: 43.88 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007602/7.212, allocations: 236 kB / 2.447 GB, free: 43.65 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01307/7.226, allocations: 3.165 MB / 2.45 GB, free: 40.28 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001006/7.226, allocations: 7.938 kB / 2.45 GB, free: 40.27 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000509/7.226, allocations: 99.98 kB / 2.45 GB, free: 40.18 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.421e-05/7.226, allocations: 71.94 kB / 2.45 GB, free: 40.11 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01683/7.243, allocations: 2.807 MB / 2.453 GB, free: 37.28 MB / 0.948 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.032/7.275, allocations: 13.35 MB / 2.466 GB, free: 23.38 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00738/7.283, allocations: 1.529 MB / 2.468 GB, free: 21.81 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002252/7.285, allocations: 1.777 MB / 2.469 GB, free: 19.64 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.006402/7.291, allocations: 1.203 MB / 2.471 GB, free: 18.34 MB / 0.948 GB Notification: Performance of pre-optimization done (n=118): time 4.98e-06/7.291, allocations: 0 / 2.471 GB, free: 18.34 MB / 0.948 GB Notification: Performance of matching and sorting (n=122): time 0.06629/7.358, allocations: 13.32 MB / 2.484 GB, free: 4.797 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002569/7.358, allocations: 0.9358 MB / 2.484 GB, free: 3.641 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006556/7.365, allocations: 2.431 MB / 2.487 GB, free: 1.199 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0006068/7.365, allocations: 57.7 kB / 2.487 GB, free: 1.137 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001747/7.367, allocations: 1.361 MB / 2.488 GB, free: 15.75 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008717/7.368, allocations: 433.9 kB / 2.489 GB, free: 15.32 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002939/7.368, allocations: 28 kB / 2.489 GB, free: 15.3 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 0.0002003/7.368, allocations: 369.9 kB / 2.489 GB, free: 14.93 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007151/7.376, allocations: 0.9251 MB / 2.49 GB, free: 14 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008257/7.384, allocations: 1.568 MB / 2.491 GB, free: 12.18 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007507/7.391, allocations: 1.068 MB / 2.492 GB, free: 11.11 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.748e-05/7.392, allocations: 7.938 kB / 2.493 GB, free: 11.1 MB / 0.9636 GB Notification: Performance of matching and sorting (n=207) (initialization): time 0.01872/7.41, allocations: 2.98 MB / 2.495 GB, free: 8.098 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 0.002226/7.413, allocations: 5.257 MB / 2.501 GB, free: 2.453 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.002e-05/7.413, allocations: 15.94 kB / 2.501 GB, free: 2.438 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005245/7.418, allocations: 0.9296 MB / 2.501 GB, free: 1.516 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005124/7.423, allocations: 455.2 kB / 2.502 GB, free: 1.07 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005279/7.428, allocations: 2.183 MB / 2.504 GB, free: 14.84 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009397/7.438, allocations: 415.1 kB / 2.504 GB, free: 14.43 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006486/7.438, allocations: 110.9 kB / 2.505 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/7.439, allocations: 4 kB / 2.505 GB, free: 14.32 MB / 0.9792 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01693/7.455, allocations: 2.649 MB / 2.507 GB, free: 11.66 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.597e-05/7.456, allocations: 16.92 kB / 2.507 GB, free: 11.64 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00495/7.461, allocations: 0.9242 MB / 2.508 GB, free: 10.72 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005049/7.466, allocations: 439.2 kB / 2.508 GB, free: 10.29 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005331/7.471, allocations: 2.186 MB / 2.511 GB, free: 8.055 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008402/7.479, allocations: 355.2 kB / 2.511 GB, free: 7.707 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006629/7.48, allocations: 103.9 kB / 2.511 GB, free: 7.605 MB / 0.9792 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (152): * Single equations (assignments): 149 * 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 {4 23,4 25} Notification: Performance of prepare postOptimizeDAE: time 0.002777/7.483, allocations: 0.7003 MB / 2.512 GB, free: 6.895 MB / 0.9792 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001223/7.484, allocations: 284.6 kB / 2.512 GB, free: 6.613 MB / 0.9792 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01777/7.502, allocations: 2.359 MB / 2.514 GB, free: 4.242 MB / 0.9792 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.02e-05/7.502, allocations: 19.94 kB / 2.514 GB, free: 4.223 MB / 0.9792 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.692e-05/7.502, allocations: 8 kB / 2.514 GB, free: 4.215 MB / 0.9792 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01626/7.518, allocations: 2.119 MB / 2.516 GB, free: 2.039 MB / 0.9792 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.8184/8.337, allocations: 6.759 MB / 2.523 GB, free: 131 MB / 0.9792 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.223e-05/8.337, allocations: 5.656 kB / 2.523 GB, free: 131 MB / 0.9792 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003655/8.341, allocations: 281.9 kB / 2.523 GB, free: 131 MB / 0.9792 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004927/8.346, allocations: 0.7828 MB / 2.524 GB, free: 131 MB / 0.9792 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004339/8.346, allocations: 53.73 kB / 2.524 GB, free: 131 MB / 0.9792 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004748/8.351, allocations: 1.966 MB / 2.526 GB, free: 130 MB / 0.9792 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.835e-05/8.351, allocations: 9.562 kB / 2.526 GB, free: 130 MB / 0.9792 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0243/8.375, allocations: 4.119 MB / 2.53 GB, free: 128.7 MB / 0.9792 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003051/8.378, allocations: 0.6496 MB / 2.531 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001485/8.38, allocations: 40.23 kB / 2.531 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00747/8.387, allocations: 280 kB / 2.531 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005756/8.388, allocations: 115.3 kB / 2.531 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003824/8.388, allocations: 74.98 kB / 2.531 GB, free: 128.6 MB / 0.9792 GB Notification: Performance of sorting global known variables: time 0.00707/8.395, allocations: 1.903 MB / 2.533 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of sort global known variables: time 5.81e-07/8.395, allocations: 0 / 2.533 GB, free: 128.5 MB / 0.9792 GB Notification: Performance of remove unused functions: time 0.01112/8.407, allocations: 1.655 MB / 2.535 GB, free: 128.5 MB / 0.9792 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 27 * Number of states: 2 (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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 74 * 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 17,4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.02931/8.436, allocations: 7.529 MB / 2.542 GB, free: 125.2 MB / 0.9792 GB Notification: Performance of simCode: created initialization part: time 0.02259/8.459, allocations: 3.55 MB / 2.545 GB, free: 125.1 MB / 0.9792 GB Notification: Performance of simCode: created event and clocks part: time 2.229e-05/8.459, allocations: 4.438 kB / 2.545 GB, free: 125.1 MB / 0.9792 GB Notification: Performance of simCode: created simulation system equations: time 0.006798/8.465, allocations: 1.046 MB / 2.546 GB, free: 125.1 MB / 0.9792 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01353/8.479, allocations: 1.513 MB / 2.548 GB, free: 125 MB / 0.9792 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08247/8.562, allocations: 27.59 MB / 2.575 GB, free: 109.3 MB / 0.9792 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002027/8.564, allocations: 1.773 MB / 2.577 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of simCode: alias equations: time 0.007337/8.571, allocations: 0.6614 MB / 2.577 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003439/8.575, allocations: 1.169 MB / 2.578 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of SimCode: time 1.252e-06/8.575, allocations: 0 / 2.578 GB, free: 108.5 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2709/8.846, allocations: 104.4 MB / 2.68 GB, free: 103.4 MB / 0.9792 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002979/8.846, allocations: 268.5 kB / 2.681 GB, free: 103.1 MB / 0.9792 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/16.65, allocations: 0 / 2.681 GB, free: 103.1 MB / 0.9792 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic_fmu --startTime=0 --stopTime=1000 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Validation_ReciprocatingWaterToWater_Dynamic.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Dynamic.pipe 2>&1)