Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.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: translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") translateModel(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001204/0.001204, allocations: 110.7 kB / 17.09 MB, free: 5.984 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.001223/0.001223, allocations: 193.6 kB / 18.02 MB, free: 5.07 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.294/1.294, allocations: 222.9 MB / 241.7 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6996/0.6996, allocations: 115.3 MB / 407.2 MB, free: 6.145 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001155/0.001155, allocations: 69.45 kB / 0.5583 GB, free: 32.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.121/0.1222, allocations: 76.19 MB / 0.6327 GB, free: 4.402 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed): time 0.06103/0.1833, allocations: 69.94 MB / 0.701 GB, free: 14.21 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01847/0.2018, allocations: 14.49 MB / 0.7152 GB, free: 15.68 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00214/0.2039, allocations: 67.62 kB / 0.7153 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00216/0.2062, allocations: 0.9277 MB / 0.7162 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005812/0.212, allocations: 2.563 MB / 0.7187 GB, free: 12.11 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004336/0.2163, allocations: 1.991 MB / 0.7206 GB, free: 10.13 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005304/0.2216, allocations: 4.724 MB / 0.7252 GB, free: 5.395 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001956/0.2236, allocations: 1.63 MB / 0.7268 GB, free: 3.73 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003407/0.227, allocations: 1.835 MB / 0.7286 GB, free: 1.895 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00169/0.2287, allocations: 1.28 MB / 0.7299 GB, free: 0.6094 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002994/0.2291, allocations: 200 kB / 0.7301 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003829/0.2329, allocations: 1.985 MB / 0.732 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0004402/0.2334, allocations: 474.5 kB / 0.7324 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001058/0.2344, allocations: 1.031 MB / 0.7335 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004594/0.239, allocations: 3.545 MB / 0.7369 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.239, allocations: 4 kB / 0.7369 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.593e-06/0.2391, allocations: 0 / 0.7369 GB, free: 9.367 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.501e-05/0.2391, allocations: 0 / 0.7369 GB, free: 9.367 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: 296 * Number of variables: 296 Notification: Performance of Generate backend data structure: time 0.004107/0.2432, allocations: 2.355 MB / 0.7392 GB, free: 6.938 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2432, allocations: 12.02 kB / 0.7392 GB, free: 6.926 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005047/0.2483, allocations: 0.6465 MB / 0.7399 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002501/0.2508, allocations: 1.592 MB / 0.7414 GB, free: 4.629 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000118/0.2509, allocations: 128 kB / 0.7415 GB, free: 4.496 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002064/0.2512, allocations: 124 kB / 0.7417 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/0.255, allocations: 1.628 MB / 0.7433 GB, free: 2.656 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.005e-05/0.255, allocations: 11.84 kB / 0.7433 GB, free: 2.645 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001454/0.2552, allocations: 52 kB / 0.7433 GB, free: 2.594 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.9e-05/0.2552, allocations: 32 kB / 0.7433 GB, free: 2.562 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004542/0.2597, allocations: 1.445 MB / 0.7448 GB, free: 1.109 MB / 0.5762 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.2725/0.5323, allocations: 6.936 MB / 0.7515 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002239/0.5345, allocations: 0.7486 MB / 0.7523 GB, free: 104.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001619/0.5362, allocations: 496.3 kB / 0.7527 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009526/0.5371, allocations: 1.265 MB / 0.754 GB, free: 103 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001864/0.539, allocations: 0.6413 MB / 0.7546 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=69): time 4.298e-06/0.539, allocations: 1.781 kB / 0.7546 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=69): time 0.01012/0.5491, allocations: 2.051 MB / 0.7566 GB, free: 102.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.399e-05/0.5492, allocations: 327.8 kB / 0.7569 GB, free: 101.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001893/0.5511, allocations: 1.4 MB / 0.7583 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001091/0.5512, allocations: 47.11 kB / 0.7583 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004568/0.5517, allocations: 0.6979 MB / 0.759 GB, free: 100.7 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001769/0.5519, allocations: 244.1 kB / 0.7592 GB, free: 100.5 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003764/0.5523, allocations: 245.5 kB / 0.7595 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 6.119e-05/0.5523, allocations: 341.7 kB / 0.7598 GB, free: 100.1 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001841/0.5542, allocations: 0.5128 MB / 0.7603 GB, free: 99.89 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001977/0.5562, allocations: 0.808 MB / 0.7611 GB, free: 99.39 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003631/0.5598, allocations: 1.154 MB / 0.7622 GB, free: 98.79 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.5598, allocations: 3.844 kB / 0.7622 GB, free: 98.79 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.006089/0.5659, allocations: 1.638 MB / 0.7638 GB, free: 98.2 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 4.08e-05/0.566, allocations: 33.92 kB / 0.7638 GB, free: 98.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.566, allocations: 6.281 kB / 0.7639 GB, free: 98.17 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.5674, allocations: 365.1 kB / 0.7642 GB, free: 98.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.5689, allocations: 268.6 kB / 0.7645 GB, free: 98.08 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009847/0.5699, allocations: 0.8895 MB / 0.7653 GB, free: 97.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002207/0.5721, allocations: 236.3 kB / 0.7656 GB, free: 97.32 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.5722, allocations: 57.67 kB / 0.7656 GB, free: 97.31 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002246/0.5745, allocations: 0.7989 MB / 0.7664 GB, free: 96.95 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001907/0.5764, allocations: 0.8007 MB / 0.7672 GB, free: 96.34 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003311/0.5797, allocations: 1.155 MB / 0.7683 GB, free: 95.59 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.129e-06/0.5797, allocations: 1.25 kB / 0.7683 GB, free: 95.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=117) (initialization_lambda0): time 0.00603/0.5858, allocations: 1.622 MB / 0.7699 GB, free: 94.73 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/0.5858, allocations: 44.25 kB / 0.7699 GB, free: 94.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.5858, allocations: 6.094 kB / 0.7699 GB, free: 94.7 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001127/0.587, allocations: 354.4 kB / 0.7703 GB, free: 94.55 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001371/0.5883, allocations: 268.2 kB / 0.7705 GB, free: 94.46 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009691/0.5893, allocations: 0.8903 MB / 0.7714 GB, free: 93.74 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002275/0.5916, allocations: 203.9 kB / 0.7716 GB, free: 93.64 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000101/0.5917, allocations: 62.05 kB / 0.7716 GB, free: 93.61 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 7 (N.count,$PRE.N.count,N.T_start,$PRE.N.T_start,heaPum.com.isOn,$PRE.heaPum.com.isOn,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (98): * Single equations (assignments): 96 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0003449/0.5921, allocations: 247.1 kB / 0.7719 GB, free: 93.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002711/0.5924, allocations: 145.6 kB / 0.772 GB, free: 93.31 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003675/0.596, allocations: 1.226 MB / 0.7732 GB, free: 92.62 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003046/0.5991, allocations: 1.032 MB / 0.7742 GB, free: 92 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.61e-06/0.5991, allocations: 3.938 kB / 0.7742 GB, free: 92 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006073/0.5997, allocations: 350.1 kB / 0.7746 GB, free: 91.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.6, allocations: 15.91 kB / 0.7746 GB, free: 91.69 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001497/0.6015, allocations: 119 kB / 0.7747 GB, free: 91.63 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001116/0.6016, allocations: 51.98 kB / 0.7747 GB, free: 91.61 MB / 0.5762 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.005058/0.6067, allocations: 1.643 MB / 0.7763 GB, free: 90.59 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00483/0.6115, allocations: 2.059 MB / 0.7784 GB, free: 89.29 MB / 0.5762 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001425/0.613, allocations: 478 kB / 0.7788 GB, free: 89.05 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001314/0.6143, allocations: 0.9761 MB / 0.7798 GB, free: 88.52 MB / 0.5762 GB Notification: Performance of Backend: time 6.11e-07/0.6143, allocations: 1.203 kB / 0.7798 GB, free: 88.52 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006826/0.6211, allocations: 2.283 MB / 0.782 GB, free: 86.96 MB / 0.5762 GB Notification: Performance of SimCode: time 0.005054/0.6262, allocations: 3.505 MB / 0.7854 GB, free: 83.46 MB / 0.5762 GB Notification: Performance of Templates: time 0.05404/0.6803, allocations: 47.45 MB / 0.8318 GB, free: 36.41 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.ReciprocatingWaterToWater_VariableSpeed.pipe 2>&1)