Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") translateModel(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001137/0.001137, 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.001275/0.001275, 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 3.2.3+maint.om/package.mo): time 1.524/1.524, allocations: 205.4 MB / 222.1 MB, free: 5.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.587/1.587, allocations: 251.9 MB / 0.51 GB, free: 4.867 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005646/0.0005647, allocations: 16 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5709/0.5715, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static): time 0.05753/0.6291, allocations: 58.53 MB / 0.7851 GB, free: 0.7305 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01997/0.6491, allocations: 12.41 MB / 0.7972 GB, free: 4.305 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002764/0.6519, allocations: 55.62 kB / 0.7973 GB, free: 4.25 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.002728/0.6546, allocations: 0.7928 MB / 0.7981 GB, free: 3.453 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.007252/0.6619, allocations: 2.173 MB / 0.8002 GB, free: 1.277 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.005797/0.6677, allocations: 1.912 MB / 0.802 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.005354/0.6731, allocations: 2.604 MB / 0.8046 GB, free: 12.79 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001874/0.675, allocations: 1.145 MB / 0.8057 GB, free: 11.61 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002579/0.6776, allocations: 1.249 MB / 0.8069 GB, free: 10.35 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001329/0.6789, allocations: 0.8127 MB / 0.8077 GB, free: 9.535 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001873/0.6791, allocations: 71.98 kB / 0.8078 GB, free: 9.465 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003635/0.6827, allocations: 1.264 MB / 0.809 GB, free: 8.199 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0005293/0.6833, allocations: 294.8 kB / 0.8093 GB, free: 7.91 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0006326/0.6839, allocations: 396.8 kB / 0.8097 GB, free: 7.516 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003978/0.6879, allocations: 2.463 MB / 0.8121 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.6879, allocations: 0 / 0.8121 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of FrontEnd: time 3.156e-06/0.688, allocations: 0 / 0.8121 GB, free: 5.047 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.052e-05/0.688, allocations: 0 / 0.8121 GB, free: 5.047 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.005276/0.6933, allocations: 1.955 MB / 0.814 GB, free: 3.023 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 6.126e-05/0.6934, allocations: 8.031 kB / 0.814 GB, free: 3.016 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005112/0.6985, allocations: 0.6848 MB / 0.8147 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002995/0.7015, allocations: 1.421 MB / 0.8161 GB, free: 0.8516 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001293/0.7017, allocations: 124 kB / 0.8162 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001802/0.7018, allocations: 124 kB / 0.8163 GB, free: 0.6016 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003692/0.7055, allocations: 1.611 MB / 0.8179 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.7056, allocations: 3.938 kB / 0.8179 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.7057, allocations: 48 kB / 0.8179 GB, free: 14.84 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.996e-05/0.7058, allocations: 39.98 kB / 0.818 GB, free: 14.8 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004396/0.7102, allocations: 1.46 MB / 0.8194 GB, free: 13.34 MB / 0.6387 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.009976/0.7202, allocations: 7.218 MB / 0.8264 GB, free: 5.742 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002176/0.7224, allocations: 0.8226 MB / 0.8272 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/0.7237, allocations: 1.27 MB / 0.8285 GB, free: 3.363 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.469e-05/0.7237, allocations: 47.78 kB / 0.8285 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=68): time 3.537e-06/0.7237, allocations: 0 / 0.8285 GB, free: 3.309 MB / 0.6387 GB Notification: Performance of matching and sorting (n=68): time 0.009446/0.7332, allocations: 2.21 MB / 0.8307 GB, free: 1.074 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.239e-05/0.7333, allocations: 111.4 kB / 0.8308 GB, free: 0.9414 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002175/0.7355, allocations: 1.409 MB / 0.8322 GB, free: 15.52 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0001356/0.7356, allocations: 41.7 kB / 0.8322 GB, free: 15.47 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005801/0.7362, allocations: 0.6841 MB / 0.8329 GB, free: 14.78 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002258/0.7364, allocations: 240.5 kB / 0.8331 GB, free: 14.54 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.726e-05/0.7365, allocations: 16 kB / 0.8331 GB, free: 14.53 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.7366, allocations: 341.9 kB / 0.8334 GB, free: 14.19 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00176/0.7384, allocations: 0.4899 MB / 0.8339 GB, free: 13.7 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001953/0.7404, allocations: 0.7705 MB / 0.8347 GB, free: 12.81 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001806/0.7422, allocations: 0.5496 MB / 0.8352 GB, free: 12.27 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.385e-06/0.7422, allocations: 4 kB / 0.8352 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of matching and sorting (n=108) (initialization): time 0.004764/0.747, allocations: 1.547 MB / 0.8367 GB, free: 10.7 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009331/0.7479, allocations: 2.492 MB / 0.8392 GB, free: 8.059 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.7479, allocations: 4 kB / 0.8392 GB, free: 8.055 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001571/0.7495, allocations: 442.4 kB / 0.8396 GB, free: 7.621 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001388/0.7509, allocations: 263.5 kB / 0.8398 GB, free: 7.363 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001571/0.7525, allocations: 1.071 MB / 0.8409 GB, free: 6.266 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0025/0.755, allocations: 277 kB / 0.8411 GB, free: 5.996 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001505/0.7552, allocations: 51.95 kB / 0.8412 GB, free: 5.945 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.622e-05/0.7552, allocations: 5.875 kB / 0.8412 GB, free: 5.941 MB / 0.6544 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004535/0.7598, allocations: 1.394 MB / 0.8426 GB, free: 4.543 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.701e-05/0.7598, allocations: 11.98 kB / 0.8426 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001639/0.7614, allocations: 441.1 kB / 0.843 GB, free: 4.098 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/0.7629, allocations: 255.6 kB / 0.8432 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001915/0.7648, allocations: 1.068 MB / 0.8443 GB, free: 2.754 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002392/0.7672, allocations: 254.8 kB / 0.8445 GB, free: 2.504 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001746/0.7674, allocations: 51.95 kB / 0.8446 GB, free: 2.453 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 2 ($PRE.heaPum.com.isOn,heaPum.com.isOn) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of prepare postOptimizeDAE: time 0.00122/0.7687, allocations: 455.7 kB / 0.845 GB, free: 2 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006029/0.7693, allocations: 146.2 kB / 0.8452 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004451/0.7737, allocations: 1.317 MB / 0.8464 GB, free: 0.5234 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.7738, allocations: 7.938 kB / 0.8464 GB, free: 0.5156 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.869e-06/0.7738, allocations: 4 kB / 0.8464 GB, free: 0.5117 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004857/0.7787, allocations: 1.127 MB / 0.8475 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0111/0.7898, allocations: 3.445 MB / 0.8509 GB, free: 11.7 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-05/0.7899, allocations: 7.938 kB / 0.8509 GB, free: 11.69 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001243/0.7911, allocations: 164 kB / 0.8511 GB, free: 11.53 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002026/0.7932, allocations: 427.8 kB / 0.8515 GB, free: 11.11 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/0.7933, allocations: 27.97 kB / 0.8515 GB, free: 11.08 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001945/0.7952, allocations: 1.068 MB / 0.8526 GB, free: 9.988 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.088e-05/0.7953, allocations: 4 kB / 0.8526 GB, free: 9.984 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005637/0.8009, allocations: 1.629 MB / 0.8541 GB, free: 8.164 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001335/0.8023, allocations: 394.9 kB / 0.8545 GB, free: 7.758 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005478/0.8028, allocations: 19.98 kB / 0.8545 GB, free: 7.738 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002521/0.8054, allocations: 155.8 kB / 0.8547 GB, free: 7.586 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.8055, allocations: 56.27 kB / 0.8547 GB, free: 7.531 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001076/0.8057, allocations: 39.95 kB / 0.8548 GB, free: 7.492 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001869/0.8075, allocations: 0.9886 MB / 0.8558 GB, free: 6.504 MB / 0.67 GB Notification: Performance of sort global known variables: time 2.11e-07/0.8075, allocations: 0 / 0.8558 GB, free: 6.504 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.00411/0.8117, allocations: 0.9357 MB / 0.8567 GB, free: 5.566 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 1 (heaPum.com.isOn) * Number of discrete states: 1 (heaPum.com.isOn) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.002024/0.8137, allocations: 0.5983 MB / 0.8572 GB, free: 4.969 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.008875/0.8226, allocations: 1.838 MB / 0.859 GB, free: 3.133 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 1.395e-05/0.8226, allocations: 0 / 0.859 GB, free: 3.133 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002512/0.8252, allocations: 0.5335 MB / 0.8596 GB, free: 2.602 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005834/0.831, allocations: 0.7759 MB / 0.8603 GB, free: 1.836 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01173/0.8428, allocations: 3 MB / 0.8633 GB, free: 14.76 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001481/0.8443, allocations: 1.234 MB / 0.8645 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.002932/0.8473, allocations: 339.7 kB / 0.8648 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005712/0.8479, allocations: 123.3 kB / 0.8649 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of SimCode: time 1.643e-06/0.8479, allocations: 0 / 0.8649 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of Templates: time 0.06852/0.9165, allocations: 36.55 MB / 0.9006 GB, free: 8.977 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_Static.pipe 2>&1) Environment - environmentSimulation: