Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.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.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001769/0.001769, allocations: 106.2 kB / 16.27 MB, free: 5.98 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.002064/0.002064, allocations: 192 kB / 17.2 MB, free: 5.609 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.347/1.347, allocations: 222.9 MB / 240.9 MB, free: 15.27 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7788/0.7788, allocations: 126.1 MB / 417.1 MB, free: 12.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001291/0.001291, allocations: 67.89 kB / 0.495 GB, free: 3.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3327/0.334, allocations: 78.7 MB / 0.5718 GB, free: 31.3 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5693/0.9034, allocations: 300.4 MB / 0.8651 GB, free: 21.08 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.06544/0.9689, allocations: 50.04 MB / 0.914 GB, free: 2.914 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01066/0.9796, allocations: 298.2 kB / 0.9143 GB, free: 2.621 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.01064/0.9903, allocations: 3.423 MB / 0.9176 GB, free: 15.17 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.02996/1.02, allocations: 9.036 MB / 0.9264 GB, free: 6.098 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.01892/1.039, allocations: 6.583 MB / 0.9329 GB, free: 15.55 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.0259/1.065, allocations: 18.48 MB / 0.9509 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01276/1.078, allocations: 5.829 MB / 0.9566 GB, free: 7.102 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01892/1.097, allocations: 7.353 MB / 0.9638 GB, free: 15.75 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008911/1.106, allocations: 5.071 MB / 0.9687 GB, free: 10.66 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.00265/1.109, allocations: 0.5664 MB / 0.9693 GB, free: 10.09 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01338/1.122, allocations: 4.379 MB / 0.9736 GB, free: 5.707 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.003722/1.126, allocations: 1.506 MB / 0.975 GB, free: 4.195 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.009702/1.135, allocations: 3.736 MB / 0.9787 GB, free: 452 kB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.02545/1.161, allocations: 10.31 MB / 0.9888 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 8.285e-06/1.161, allocations: 0 / 0.9888 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.864e-06/1.161, allocations: 0 / 0.9888 GB, free: 6.098 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0003947/1.161, allocations: 0 / 0.9888 GB, free: 6.098 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1035 * Number of variables: 1035 Notification: Performance of Generate backend data structure: time 0.0162/1.178, allocations: 7.478 MB / 0.9961 GB, free: 14.48 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.362e-05/1.178, allocations: 12.03 kB / 0.9961 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003004/1.181, allocations: 0.7842 MB / 0.9968 GB, free: 13.67 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01003/1.191, allocations: 5.049 MB / 1.002 GB, free: 8.547 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002911/1.191, allocations: 324.1 kB / 1.002 GB, free: 8.227 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009993/1.192, allocations: 428 kB / 1.002 GB, free: 7.809 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007622/1.2, allocations: 4.381 MB / 1.007 GB, free: 3.148 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.116e-05/1.2, allocations: 19.78 kB / 1.007 GB, free: 3.129 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003622/1.2, allocations: 183.9 kB / 1.007 GB, free: 2.949 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001037/1.2, allocations: 116 kB / 1.007 GB, free: 2.836 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005078/1.205, allocations: 2.961 MB / 1.01 GB, free: 15.87 MB / 0.7169 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.3098/1.515, allocations: 25.28 MB / 1.035 GB, free: 281.7 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003236/1.519, allocations: 2.772 MB / 1.037 GB, free: 279.8 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001481/1.52, allocations: 0.9913 MB / 1.038 GB, free: 279.4 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002067/1.522, allocations: 3.909 MB / 1.042 GB, free: 275 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/1.522, allocations: 61.91 kB / 1.042 GB, free: 274.9 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=217): time 4.168e-06/1.522, allocations: 0 / 1.042 GB, free: 274.9 MB / 0.7169 GB Notification: Performance of matching and sorting (n=217): time 0.01038/1.533, allocations: 4.069 MB / 1.046 GB, free: 273.5 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.908e-05/1.533, allocations: 78.06 kB / 1.046 GB, free: 273.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006094/1.539, allocations: 4.302 MB / 1.05 GB, free: 272 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0004071/1.539, allocations: 80.48 kB / 1.051 GB, free: 271.9 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.00172/1.541, allocations: 2.775 MB / 1.053 GB, free: 270.3 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006702/1.542, allocations: 0.7654 MB / 1.054 GB, free: 269.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006817/1.542, allocations: 0.5735 MB / 1.055 GB, free: 269.4 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.159e-05/1.542, allocations: 305.1 kB / 1.055 GB, free: 269.1 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/1.544, allocations: 0.8284 MB / 1.056 GB, free: 268.7 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/1.545, allocations: 1.814 MB / 1.057 GB, free: 267 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002993/1.548, allocations: 2.521 MB / 1.06 GB, free: 265.3 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.227e-05/1.549, allocations: 7.812 kB / 1.06 GB, free: 265.3 MB / 0.7169 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007017/1.556, allocations: 3.549 MB / 1.063 GB, free: 263.5 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.829e-05/1.556, allocations: 15.84 kB / 1.063 GB, free: 263.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.416e-05/1.556, allocations: 19.81 kB / 1.063 GB, free: 263.5 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002463/1.558, allocations: 0.5826 MB / 1.064 GB, free: 263.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001559/1.56, allocations: 0.5567 MB / 1.065 GB, free: 263.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001629/1.561, allocations: 2.693 MB / 1.067 GB, free: 260.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0036/1.565, allocations: 334.4 kB / 1.067 GB, free: 260.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002593/1.565, allocations: 138.8 kB / 1.068 GB, free: 260.4 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002667/1.568, allocations: 1.567 MB / 1.069 GB, free: 259.5 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001537/1.569, allocations: 1.801 MB / 1.071 GB, free: 257.9 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002537/1.572, allocations: 2.46 MB / 1.073 GB, free: 256.1 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.059e-05/1.572, allocations: 11.89 kB / 1.073 GB, free: 256.1 MB / 0.7169 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.005394/1.577, allocations: 3.314 MB / 1.077 GB, free: 254.4 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.578e-05/1.577, allocations: 15.75 kB / 1.077 GB, free: 254.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.076e-05/1.577, allocations: 19.66 kB / 1.077 GB, free: 254.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008643/1.578, allocations: 365.5 kB / 1.077 GB, free: 254.2 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001516/1.58, allocations: 0.5524 MB / 1.077 GB, free: 254.1 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006047/1.586, allocations: 8.467 MB / 1.086 GB, free: 246.3 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003214/1.589, allocations: 307 kB / 1.086 GB, free: 246.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000186/1.589, allocations: 134.5 kB / 1.086 GB, free: 246.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 97 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (323): * Single equations (assignments): 319 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,12), (1,9), (1,12), (1,9)} Notification: Performance of prepare postOptimizeDAE: time 0.0006027/1.59, allocations: 370.3 kB / 1.086 GB, free: 245.8 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008475/1.591, allocations: 0.504 MB / 1.087 GB, free: 245.5 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005127/1.596, allocations: 3.574 MB / 1.09 GB, free: 243.5 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.448e-05/1.596, allocations: 35.72 kB / 1.091 GB, free: 243.5 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/1.596, allocations: 0 / 1.091 GB, free: 243.5 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003079/1.599, allocations: 2.446 MB / 1.093 GB, free: 242.2 MB / 0.7169 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 postOpt removeSimpleEquations (simulation): time 0.01124/1.61, allocations: 8.252 MB / 1.101 GB, free: 234.1 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.448e-06/1.61, allocations: 4 kB / 1.101 GB, free: 234.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001138/1.612, allocations: 361.5 kB / 1.101 GB, free: 233.7 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005952/1.612, allocations: 305.4 kB / 1.102 GB, free: 233.4 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001075/1.612, allocations: 63.97 kB / 1.102 GB, free: 233.4 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001101/1.613, allocations: 2.494 MB / 1.104 GB, free: 230.8 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/1.613, allocations: 0.9844 kB / 1.104 GB, free: 230.8 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005595/1.619, allocations: 4.334 MB / 1.108 GB, free: 226.4 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001432/1.62, allocations: 0.8883 MB / 1.109 GB, free: 225.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005942/1.621, allocations: 47.98 kB / 1.109 GB, free: 225.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002141/1.623, allocations: 119.4 kB / 1.109 GB, free: 225.3 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000192/1.623, allocations: 149.8 kB / 1.109 GB, free: 225.1 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001715/1.624, allocations: 114.3 kB / 1.11 GB, free: 225 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003536/1.627, allocations: 2.844 MB / 1.112 GB, free: 222.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.563e-06/1.627, allocations: 96 / 1.112 GB, free: 222.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.007475/1.635, allocations: 3.242 MB / 1.116 GB, free: 219.1 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 10 (hea1.vol.dynBal.U,hea2.vol.dynBal.U,hea3.vol.dynBal.U,hea4.vol.dynBal.U,mix1.dynBal.U,hea5.vol.dynBal.U,hea6.vol.dynBal.U,hea7.vol.dynBal.U,hea8.vol.dynBal.U,mix2.dynBal.U) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (219): * Single equations (assignments): 181 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 34 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,9), (1,7), (1,9), (1,7)} Notification: Performance of Backend phase and start with SimCode phase: time 0.002285/1.637, allocations: 1.514 MB / 1.117 GB, free: 217.9 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.009649/1.647, allocations: 4.869 MB / 1.122 GB, free: 213 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.962e-06/1.647, allocations: 4 kB / 1.122 GB, free: 212.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001512/1.648, allocations: 1.229 MB / 1.123 GB, free: 211.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01013/1.658, allocations: 2.639 MB / 1.126 GB, free: 209.3 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01095/1.669, allocations: 9.154 MB / 1.135 GB, free: 200.2 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00175/1.671, allocations: 2.877 MB / 1.137 GB, free: 197.3 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.004178/1.675, allocations: 1.163 MB / 1.138 GB, free: 196.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007042/1.676, allocations: 411.2 kB / 1.139 GB, free: 195.7 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/1.676, allocations: 0 / 1.139 GB, free: 195.7 MB / 0.7169 GB Notification: Performance of Templates: time 0.1659/1.842, allocations: 108.2 MB / 1.245 GB, free: 88.71 MB / 0.7169 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)