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.001203/0.001204, allocations: 112 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.001149/0.001149, allocations: 194.7 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.208/1.208, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6441/0.6441, allocations: 115.3 MB / 407.2 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001144/0.001144, allocations: 67.75 kB / 0.5584 GB, free: 32.15 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1109/0.112, allocations: 76.18 MB / 0.6328 GB, free: 4.383 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.4963/0.6084, allocations: 300.4 MB / 0.9261 GB, free: 12.3 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.05892/0.6673, allocations: 50.03 MB / 0.975 GB, free: 10.15 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008162/0.6755, allocations: 298.2 kB / 0.9752 GB, free: 9.855 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.007583/0.6831, allocations: 3.423 MB / 0.9786 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.02034/0.7035, allocations: 9.04 MB / 0.9874 GB, free: 13.33 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.01362/0.7171, allocations: 6.647 MB / 0.9939 GB, free: 6.719 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.02117/0.7383, allocations: 18.49 MB / 1.012 GB, free: 4.172 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007329/0.7457, allocations: 5.834 MB / 1.018 GB, free: 14.25 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01329/0.759, allocations: 7.559 MB / 1.025 GB, free: 6.691 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 0.007288/0.7663, allocations: 5.087 MB / 1.03 GB, free: 1.582 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 0.001501/0.7678, allocations: 0.5664 MB / 1.031 GB, free: 1.016 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009585/0.7774, allocations: 4.379 MB / 1.035 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.001727/0.7791, allocations: 1.502 MB / 1.036 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.004203/0.7833, allocations: 3.748 MB / 1.04 GB, free: 7.355 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.338/1.121, allocations: 10.42 MB / 1.05 GB, free: 64.21 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/1.121, allocations: 0.7812 kB / 1.05 GB, free: 64.21 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.813e-06/1.121, allocations: 0 / 1.05 GB, free: 64.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 0.0003262/1.122, allocations: 0 / 1.05 GB, free: 64.21 MB / 0.7794 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.01149/1.133, allocations: 7.477 MB / 1.057 GB, free: 61.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/1.133, allocations: 9.438 kB / 1.057 GB, free: 61.18 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002048/1.135, allocations: 0.7864 MB / 1.058 GB, free: 60.81 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007683/1.143, allocations: 5.357 MB / 1.063 GB, free: 59.74 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000213/1.143, allocations: 321.9 kB / 1.064 GB, free: 59.73 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005114/1.144, allocations: 434 kB / 1.064 GB, free: 59.73 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006081/1.15, allocations: 4.384 MB / 1.068 GB, free: 58.93 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.836e-05/1.15, allocations: 12.12 kB / 1.068 GB, free: 58.93 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003323/1.15, allocations: 179.3 kB / 1.069 GB, free: 58.93 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.301e-05/1.15, allocations: 118.7 kB / 1.069 GB, free: 58.93 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004174/1.155, allocations: 2.958 MB / 1.072 GB, free: 58.89 MB / 0.7794 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.01734/1.172, allocations: 25.12 MB / 1.096 GB, free: 43.05 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002297/1.174, allocations: 2.754 MB / 1.099 GB, free: 41.88 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001154/1.175, allocations: 0.9926 MB / 1.1 GB, free: 41.86 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00182/1.177, allocations: 3.908 MB / 1.104 GB, free: 37.45 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.864e-05/1.177, allocations: 61.86 kB / 1.104 GB, free: 37.41 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=217): time 4.158e-06/1.177, allocations: 0 / 1.104 GB, free: 37.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=217): time 0.008522/1.186, allocations: 4.076 MB / 1.108 GB, free: 36.54 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/1.186, allocations: 82.78 kB / 1.108 GB, free: 36.47 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/1.19, allocations: 4.303 MB / 1.112 GB, free: 36.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001623/1.19, allocations: 80.38 kB / 1.112 GB, free: 36.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001346/1.192, allocations: 2.775 MB / 1.115 GB, free: 35.22 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004534/1.192, allocations: 0.7618 MB / 1.115 GB, free: 34.73 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005923/1.193, allocations: 0.5755 MB / 1.116 GB, free: 34.68 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 2.902e-05/1.193, allocations: 304.1 kB / 1.116 GB, free: 34.38 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001112/1.194, allocations: 0.8195 MB / 1.117 GB, free: 34.35 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00152/1.195, allocations: 1.82 MB / 1.119 GB, free: 33.19 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002685/1.198, allocations: 2.513 MB / 1.121 GB, free: 32.31 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.072e-05/1.198, allocations: 6.688 kB / 1.121 GB, free: 32.31 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.005936/1.204, allocations: 3.553 MB / 1.125 GB, free: 31.82 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.205e-05/1.204, allocations: 14.06 kB / 1.125 GB, free: 31.82 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.034e-05/1.204, allocations: 25.81 kB / 1.125 GB, free: 31.82 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002314/1.206, allocations: 0.5752 MB / 1.125 GB, free: 31.76 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001456/1.208, allocations: 0.5541 MB / 1.126 GB, free: 31.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001323/1.209, allocations: 2.695 MB / 1.129 GB, free: 29.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002654/1.212, allocations: 319.7 kB / 1.129 GB, free: 29.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001787/1.212, allocations: 134.3 kB / 1.129 GB, free: 29.52 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002109/1.214, allocations: 1.574 MB / 1.131 GB, free: 29.43 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001459/1.216, allocations: 1.793 MB / 1.132 GB, free: 28.27 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002496/1.218, allocations: 2.462 MB / 1.135 GB, free: 27.39 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.678e-06/1.218, allocations: 5.469 kB / 1.135 GB, free: 27.39 MB / 0.7794 GB Notification: Performance of matching and sorting (n=365) (initialization_lambda0): time 0.004583/1.223, allocations: 3.317 MB / 1.138 GB, free: 26.93 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/1.223, allocations: 13.69 kB / 1.138 GB, free: 26.93 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/1.223, allocations: 21.31 kB / 1.138 GB, free: 26.93 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007708/1.224, allocations: 370.3 kB / 1.138 GB, free: 26.89 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001396/1.225, allocations: 0.5492 MB / 1.139 GB, free: 26.89 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0054/1.23, allocations: 8.458 MB / 1.147 GB, free: 20.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002713/1.233, allocations: 297 kB / 1.147 GB, free: 20.47 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/1.233, allocations: 133.8 kB / 1.148 GB, free: 20.47 MB / 0.7794 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.000527/1.234, allocations: 375.3 kB / 1.148 GB, free: 20.27 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006673/1.234, allocations: 0.5029 MB / 1.148 GB, free: 20.01 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004849/1.239, allocations: 3.554 MB / 1.152 GB, free: 19.63 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002998/1.242, allocations: 2.429 MB / 1.154 GB, free: 19.38 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.925e-06/1.242, allocations: 3.625 kB / 1.154 GB, free: 19.38 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.243, allocations: 0.8853 MB / 1.155 GB, free: 18.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005006/1.244, allocations: 48.72 kB / 1.155 GB, free: 18.99 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002138/1.246, allocations: 117.5 kB / 1.155 GB, free: 18.98 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002097/1.246, allocations: 187.6 kB / 1.155 GB, free: 18.98 MB / 0.7794 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004261/1.251, allocations: 2.824 MB / 1.158 GB, free: 18.7 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004465/1.255, allocations: 4.088 MB / 1.162 GB, free: 18.05 MB / 0.7794 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001125/1.256, allocations: 1.055 MB / 1.163 GB, free: 18.04 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.003007/1.259, allocations: 2.842 MB / 1.166 GB, free: 17.86 MB / 0.7794 GB Notification: Performance of Backend: time 3.91e-07/1.259, allocations: 2.188 kB / 1.166 GB, free: 17.86 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.007745/1.267, allocations: 5.213 MB / 1.171 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of SimCode: time 0.01479/1.282, allocations: 11.46 MB / 1.182 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of Templates: time 0.15/1.432, allocations: 109.5 MB / 1.289 GB, free: 11.66 MB / 0.8887 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)