Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package BuildSysPro with version 3.4.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo) Running command: translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0/package.mo): time 0.7815/0.7815, allocations: 128.7 MB / 144.5 MB, free: 1.402 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001997/0.001997, allocations: 189.9 kB / 174.2 MB, free: 5.949 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.442/1.442, allocations: 205.1 MB / 408.9 MB, free: 9.734 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000957/0.000957, allocations: 109.7 kB / 485.1 MB, free: 13.58 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001068/0.001068, allocations: 57.3 kB / 0.558 GB, free: 97.5 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1216/0.1227, allocations: 75.47 MB / 0.6317 GB, free: 33.04 MB / 442.7 MB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.5364/0.6592, allocations: 303.3 MB / 0.9278 GB, free: 4.176 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.06464/0.7238, allocations: 49.52 MB / 0.9762 GB, free: 2.523 MB / 0.6511 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.009496/0.7334, allocations: 286.2 kB / 0.9765 GB, free: 2.242 MB / 0.6511 GB Notification: Performance of NFTyping.typeComponents: time 0.009401/0.7429, allocations: 2.79 MB / 0.9792 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.02575/0.7686, allocations: 8.36 MB / 0.9874 GB, free: 7.047 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.01513/0.7838, allocations: 5.477 MB / 0.9927 GB, free: 1.59 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.3683/1.152, allocations: 24.68 MB / 1.017 GB, free: 32.82 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01073/1.163, allocations: 4.76 MB / 1.021 GB, free: 32.24 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0155/1.178, allocations: 6.357 MB / 1.028 GB, free: 32.2 MB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.01181/1.19, allocations: 5.098 MB / 1.033 GB, free: 31.25 MB / 0.6667 GB Notification: Performance of NFPackage.collectConstants: time 0.002296/1.193, allocations: 303 kB / 1.033 GB, free: 31.25 MB / 0.6667 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01239/1.205, allocations: 3.875 MB / 1.037 GB, free: 31.25 MB / 0.6667 GB Notification: Performance of NFScalarize.scalarize: time 0.002691/1.208, allocations: 1.215 MB / 1.038 GB, free: 30.98 MB / 0.6667 GB Notification: Performance of NFVerifyModel.verify: time 0.008994/1.217, allocations: 3.406 MB / 1.041 GB, free: 29.96 MB / 0.6667 GB Notification: Performance of NFConvertDAE.convert: time 0.01791/1.235, allocations: 10.41 MB / 1.051 GB, free: 28.79 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 7.875e-06/1.235, allocations: 0 / 1.051 GB, free: 28.79 MB / 0.6667 GB Notification: Performance of FrontEnd: time 2.544e-06/1.235, allocations: 3.938 kB / 1.051 GB, free: 28.79 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 0.0004172/1.235, allocations: 3.375 kB / 1.051 GB, free: 28.79 MB / 0.6667 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.01991/1.255, allocations: 7.392 MB / 1.059 GB, free: 25.4 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/1.255, allocations: 9.656 kB / 1.059 GB, free: 25.4 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003719/1.259, allocations: 0.7766 MB / 1.059 GB, free: 25.03 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01319/1.272, allocations: 5.138 MB / 1.064 GB, free: 23.95 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003373/1.273, allocations: 320.1 kB / 1.065 GB, free: 23.94 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00142/1.274, allocations: 432.9 kB / 1.065 GB, free: 23.93 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01455/1.289, allocations: 4.81 MB / 1.07 GB, free: 23.12 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001389/1.289, allocations: 15.69 kB / 1.07 GB, free: 23.12 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006047/1.289, allocations: 171.4 kB / 1.07 GB, free: 23.12 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001076/1.289, allocations: 115.2 kB / 1.07 GB, free: 23.12 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009901/1.299, allocations: 3.449 MB / 1.073 GB, free: 22.63 MB / 0.6667 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.02638/1.326, allocations: 24.98 MB / 1.098 GB, free: 3.578 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005594/1.331, allocations: 3.205 MB / 1.101 GB, free: 0.9258 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/1.333, allocations: 0.9766 MB / 1.102 GB, free: 328 kB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002782/1.335, allocations: 3.915 MB / 1.106 GB, free: 11.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/1.335, allocations: 59 kB / 1.106 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=214): time 3.897e-06/1.335, allocations: 4 kB / 1.106 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of matching and sorting (n=214): time 0.03282/1.368, allocations: 6.181 MB / 1.112 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.883e-05/1.368, allocations: 80.22 kB / 1.112 GB, free: 6.137 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006246/1.375, allocations: 4.157 MB / 1.116 GB, free: 3.102 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0004911/1.375, allocations: 75.64 kB / 1.116 GB, free: 3.055 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00181/1.377, allocations: 2.817 MB / 1.119 GB, free: 1.543 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009082/1.378, allocations: 0.7558 MB / 1.12 GB, free: 0.8984 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007833/1.379, allocations: 0.574 MB / 1.12 GB, free: 0.5352 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.075e-05/1.379, allocations: 308.3 kB / 1.12 GB, free: 240 kB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001919/1.381, allocations: 0.9516 MB / 1.121 GB, free: 15.6 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002653/1.383, allocations: 1.962 MB / 1.123 GB, free: 13.61 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004331/1.388, allocations: 2.746 MB / 1.126 GB, free: 11.47 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.224e-05/1.388, allocations: 8 kB / 1.126 GB, free: 11.46 MB / 0.698 GB Notification: Performance of matching and sorting (n=364) (initialization): time 0.02408/1.412, allocations: 5.071 MB / 1.131 GB, free: 7.414 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.959e-05/1.412, allocations: 12 kB / 1.131 GB, free: 7.402 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.517e-05/1.412, allocations: 27.94 kB / 1.131 GB, free: 7.375 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002476/1.414, allocations: 0.7125 MB / 1.132 GB, free: 6.805 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002246/1.417, allocations: 0.5563 MB / 1.132 GB, free: 6.305 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03652/1.453, allocations: 12.64 MB / 1.145 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005782/1.459, allocations: 0.6685 MB / 1.145 GB, free: 10.61 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005108/1.46, allocations: 151.5 kB / 1.145 GB, free: 10.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003465/1.463, allocations: 1.555 MB / 1.147 GB, free: 9.07 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002035/1.465, allocations: 1.806 MB / 1.149 GB, free: 6.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003357/1.468, allocations: 2.46 MB / 1.151 GB, free: 4.137 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.137e-05/1.468, allocations: 8 kB / 1.151 GB, free: 4.129 MB / 0.7136 GB Notification: Performance of matching and sorting (n=364) (initialization_lambda0): time 0.006977/1.475, allocations: 3.305 MB / 1.154 GB, free: 0.9062 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.135e-05/1.476, allocations: 12.97 kB / 1.154 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.333e-05/1.476, allocations: 24 kB / 1.154 GB, free: 0.8711 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009591/1.477, allocations: 372.9 kB / 1.155 GB, free: 0.5 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001837/1.478, allocations: 0.5514 MB / 1.155 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007969/1.486, allocations: 7.691 MB / 1.163 GB, free: 7.789 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00521/1.492, allocations: 0.5885 MB / 1.163 GB, free: 7.199 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003775/1.492, allocations: 136 kB / 1.163 GB, free: 7.066 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 99 * 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 (322): * Single equations (assignments): 318 * 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.0007104/1.493, allocations: 354.5 kB / 1.164 GB, free: 6.75 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001447/1.494, allocations: 0.5017 MB / 1.164 GB, free: 6.242 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01707/1.511, allocations: 4.767 MB / 1.169 GB, free: 1.453 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.505e-05/1.511, allocations: 39.97 kB / 1.169 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/1.511, allocations: 0 / 1.169 GB, free: 1.414 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01539/1.527, allocations: 3.637 MB / 1.172 GB, free: 13.74 MB / 0.7448 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.02938/1.556, allocations: 9.625 MB / 1.182 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.601e-05/1.556, allocations: 0 / 1.182 GB, free: 3.938 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.558, allocations: 359.1 kB / 1.182 GB, free: 3.605 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001886/1.56, allocations: 0.6209 MB / 1.183 GB, free: 2.977 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002932/1.56, allocations: 67.95 kB / 1.183 GB, free: 2.91 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02442/1.584, allocations: 10.14 MB / 1.193 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.584, allocations: 0 / 1.193 GB, free: 8.262 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.141/1.726, allocations: 37.77 MB / 1.23 GB, free: 1.734 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002167/1.728, allocations: 0.8494 MB / 1.231 GB, free: 0.8594 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000639/1.728, allocations: 40 kB / 1.231 GB, free: 0.8203 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003154/1.732, allocations: 459 kB / 1.231 GB, free: 380 kB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004695/1.732, allocations: 171.8 kB / 1.231 GB, free: 212 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000195/1.732, allocations: 91.94 kB / 1.231 GB, free: 120 kB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.004142/1.736, allocations: 2.745 MB / 1.234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of sort global known variables: time 1.41e-07/1.736, allocations: 0 / 1.234 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.03112/1.768, allocations: 5.429 MB / 1.239 GB, free: 7.961 MB / 0.8073 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (216): * Single equations (assignments): 178 * 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.003687/1.771, allocations: 1.431 MB / 1.241 GB, free: 6.664 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01087/1.782, allocations: 5.265 MB / 1.246 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.332e-06/1.782, allocations: 0 / 1.246 GB, free: 1.445 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.003636/1.786, allocations: 1.895 MB / 1.248 GB, free: 15.54 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01505/1.801, allocations: 2.673 MB / 1.25 GB, free: 12.91 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02226/1.823, allocations: 13.36 MB / 1.263 GB, free: 15.49 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003689/1.827, allocations: 2.979 MB / 1.266 GB, free: 12.48 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.005467/1.832, allocations: 1.161 MB / 1.267 GB, free: 11.34 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001318/1.834, allocations: 414.9 kB / 1.268 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of SimCode: time 8.22e-07/1.834, allocations: 2.25 kB / 1.268 GB, free: 10.93 MB / 0.8386 GB Notification: Performance of Templates: time 0.4377/2.271, allocations: 139.5 MB / 1.404 GB, free: 337.9 MB / 0.8542 GB make -j1 -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.makefile (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildSysPro_BuildSysPro.IBPSA.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1)