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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 178.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4785/0.4785, allocations: 90.81 MB / 104.5 MB, free: 9.797 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.3 MB / 348.3 MB, free: 468 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009839/0.000984, allocations: 100.7 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 4.043e-05/4.045e-05, allocations: 4 kB / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4273/0.4273, allocations: 72.31 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.137/1.565, allocations: 387.6 MB / 0.9387 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003662/1.565, allocations: 95.53 kB / 0.9388 GB, free: 162.9 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.657/3.222, allocations: 0.5606 GB / 1.499 GB, free: 84.98 MB / 0.6042 GB Notification: Performance of FrontEnd: time 9.41e-07/3.222, allocations: 6.156 kB / 1.499 GB, free: 84.98 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002115/3.223, allocations: 40.7 kB / 1.499 GB, free: 84.97 MB / 0.6042 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.004469/3.227, allocations: 1.898 MB / 1.501 GB, free: 83.98 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.745e-05/3.227, allocations: 13.11 kB / 1.501 GB, free: 83.97 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004078/3.231, allocations: 0.6152 MB / 1.502 GB, free: 83.88 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003304/3.235, allocations: 1.802 MB / 1.504 GB, free: 83.5 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001064/3.235, allocations: 134.2 kB / 1.504 GB, free: 83.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/3.235, allocations: 117.7 kB / 1.504 GB, free: 83.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002116/3.237, allocations: 1.446 MB / 1.505 GB, free: 83.21 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.826e-05/3.237, allocations: 3.094 kB / 1.505 GB, free: 83.21 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001273/3.237, allocations: 57.94 kB / 1.505 GB, free: 83.21 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.678e-05/3.237, allocations: 48.2 kB / 1.505 GB, free: 83.2 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001632/3.239, allocations: 1.095 MB / 1.506 GB, free: 83.19 MB / 0.6042 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.008247/3.247, allocations: 6.76 MB / 1.513 GB, free: 80.29 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008012/3.248, allocations: 0.5348 MB / 1.514 GB, free: 80.26 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004524/3.248, allocations: 341.5 kB / 1.514 GB, free: 80.25 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009728/3.249, allocations: 1.272 MB / 1.515 GB, free: 78.85 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006842/3.25, allocations: 0.5226 MB / 1.516 GB, free: 78.67 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=65): time 2.484e-06/3.25, allocations: 1.875 kB / 1.516 GB, free: 78.67 MB / 0.6042 GB Notification: Performance of matching and sorting (n=65): time 0.001529/3.252, allocations: 0.8425 MB / 1.517 GB, free: 78.54 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/3.252, allocations: 483.7 kB / 1.517 GB, free: 77.98 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001398/3.253, allocations: 1.241 MB / 1.518 GB, free: 77.82 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-05/3.253, allocations: 43.45 kB / 1.518 GB, free: 77.79 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004482/3.254, allocations: 0.719 MB / 1.519 GB, free: 77.52 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/3.254, allocations: 230.9 kB / 1.519 GB, free: 77.36 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.522e-05/3.254, allocations: 15.75 kB / 1.519 GB, free: 77.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.766e-05/3.254, allocations: 344.8 kB / 1.52 GB, free: 77.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000521/3.255, allocations: 323.3 kB / 1.52 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006502/3.255, allocations: 0.6294 MB / 1.52 GB, free: 76.39 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005612/3.256, allocations: 419 kB / 1.521 GB, free: 76.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/3.256, allocations: 2.812 kB / 1.521 GB, free: 76.21 MB / 0.6042 GB Notification: Performance of matching and sorting (n=109) (initialization): time 0.002985/3.259, allocations: 1.254 MB / 1.522 GB, free: 75.72 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004667/3.259, allocations: 2.527 MB / 1.525 GB, free: 73.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/3.259, allocations: 10.22 kB / 1.525 GB, free: 73.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001057/3.26, allocations: 329.6 kB / 1.525 GB, free: 73.03 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00125/3.262, allocations: 263.5 kB / 1.525 GB, free: 73.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007166/3.262, allocations: 0.8468 MB / 1.526 GB, free: 72.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002256/3.265, allocations: 287.3 kB / 1.526 GB, free: 72.27 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001039/3.265, allocations: 55.94 kB / 1.526 GB, free: 72.26 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.847e-06/3.265, allocations: 6.344 kB / 1.526 GB, free: 72.26 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002738/3.267, allocations: 1.109 MB / 1.527 GB, free: 71.86 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/3.268, allocations: 7.219 kB / 1.527 GB, free: 71.86 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008584/3.268, allocations: 335.4 kB / 1.528 GB, free: 71.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/3.27, allocations: 265.7 kB / 1.528 GB, free: 71.78 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006492/3.27, allocations: 0.8476 MB / 1.529 GB, free: 71.11 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002074/3.272, allocations: 246.5 kB / 1.529 GB, free: 71.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001048/3.272, allocations: 59.73 kB / 1.529 GB, free: 71.04 MB / 0.6042 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 ($whenCondition1,$PRE.heaPum.com.isOn,heaPum.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 (90): * Single equations (assignments): 88 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.0002952/3.273, allocations: 163 kB / 1.529 GB, free: 70.89 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000222/3.273, allocations: 154.9 kB / 1.529 GB, free: 70.81 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002351/3.275, allocations: 0.9417 MB / 1.53 GB, free: 70.42 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/3.275, allocations: 10.12 kB / 1.53 GB, free: 70.42 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/3.275, allocations: 0 / 1.53 GB, free: 70.42 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001784/3.277, allocations: 0.817 MB / 1.531 GB, free: 70 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004607/3.282, allocations: 3.275 MB / 1.534 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.093e-06/3.282, allocations: 3.938 kB / 1.534 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000874/3.283, allocations: 165 kB / 1.534 GB, free: 68.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009048/3.284, allocations: 329.5 kB / 1.535 GB, free: 67.97 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.073e-05/3.284, allocations: 26.39 kB / 1.535 GB, free: 67.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006474/3.284, allocations: 0.8437 MB / 1.536 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.518e-06/3.284, allocations: 6 kB / 1.536 GB, free: 67.29 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002896/3.287, allocations: 1.818 MB / 1.537 GB, free: 66.05 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008227/3.288, allocations: 387 kB / 1.538 GB, free: 65.78 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002135/3.288, allocations: 26.2 kB / 1.538 GB, free: 65.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001491/3.29, allocations: 154.4 kB / 1.538 GB, free: 65.75 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001266/3.29, allocations: 70.03 kB / 1.538 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.665e-05/3.29, allocations: 39.34 kB / 1.538 GB, free: 65.73 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001468/3.291, allocations: 0.9841 MB / 1.539 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/3.291, allocations: 0 / 1.539 GB, free: 65.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002622/3.294, allocations: 0.998 MB / 1.54 GB, free: 65.07 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 4 ($whenCondition1,heaPum.com.isOn,N.T_start,N.count) * Number of discrete states: 2 (N.count,heaPum.com.isOn) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 44 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.001526/3.296, allocations: 0.874 MB / 1.541 GB, free: 64.82 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002319/3.298, allocations: 1.485 MB / 1.542 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.29e-06/3.298, allocations: 3.859 kB / 1.542 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006679/3.299, allocations: 416.2 kB / 1.543 GB, free: 63.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003375/3.302, allocations: 0.7848 MB / 1.543 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005124/3.307, allocations: 2.099 MB / 1.545 GB, free: 62.86 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008211/3.308, allocations: 1.245 MB / 1.547 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.002636/3.311, allocations: 459.1 kB / 1.547 GB, free: 62.01 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000318/3.311, allocations: 112.3 kB / 1.547 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of SimCode: time 1.262e-06/3.311, allocations: 3.625 kB / 1.547 GB, free: 61.99 MB / 0.6042 GB Notification: Performance of Templates: time 0.0589/3.37, allocations: 42.77 MB / 1.589 GB, free: 23.95 MB / 0.6042 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)