Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u") translateModel(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001088/0.001088, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.000991/0.000991, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.703/1.703, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.756/1.756, allocations: 292.5 MB / 0.5497 GB, free: 14.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0007165/0.0007166, allocations: 15.75 kB / 0.6735 GB, free: 26.28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2956/0.2963, allocations: 116.3 MB / 0.7871 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.HeaterCooler_u): time 0.8123/1.109, allocations: 250.9 MB / 1.032 GB, free: 3.469 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.06878/1.178, allocations: 42.59 MB / 1.074 GB, free: 10.98 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.01224/1.19, allocations: 238.2 kB / 1.074 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.01349/1.203, allocations: 2.977 MB / 1.077 GB, free: 7.75 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.03446/1.238, allocations: 8.975 MB / 1.086 GB, free: 14.76 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.02334/1.261, allocations: 6.008 MB / 1.091 GB, free: 8.828 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.02553/1.287, allocations: 10.75 MB / 1.102 GB, free: 14.06 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009478/1.296, allocations: 4.32 MB / 1.106 GB, free: 9.684 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01688/1.313, allocations: 5.399 MB / 1.111 GB, free: 4.266 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009415/1.323, allocations: 3.208 MB / 1.115 GB, free: 1.043 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 0.003022/1.326, allocations: 228 kB / 1.115 GB, free: 0.8203 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01523/1.341, allocations: 2.797 MB / 1.118 GB, free: 14.02 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.003183/1.344, allocations: 1.031 MB / 1.119 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.004355/1.349, allocations: 1.369 MB / 1.12 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.01516/1.364, allocations: 7.302 MB / 1.127 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/1.364, allocations: 0 / 1.127 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of FrontEnd: time 3.637e-06/1.364, allocations: 0 / 1.127 GB, free: 4.285 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 0.0003816/1.364, allocations: 0 / 1.127 GB, free: 4.285 MB / 0.8262 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.01383/1.378, allocations: 6.226 MB / 1.133 GB, free: 13.93 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/1.378, allocations: 12.03 kB / 1.133 GB, free: 13.91 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003923/1.382, allocations: 0.7842 MB / 1.134 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0125/1.395, allocations: 4.644 MB / 1.138 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004171/1.395, allocations: 320.1 kB / 1.139 GB, free: 8.09 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001414/1.397, allocations: 439.9 kB / 1.139 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008647/1.405, allocations: 4.319 MB / 1.143 GB, free: 3.059 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001025/1.405, allocations: 27.72 kB / 1.143 GB, free: 3.031 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004117/1.406, allocations: 172 kB / 1.144 GB, free: 2.863 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001372/1.406, allocations: 120 kB / 1.144 GB, free: 2.746 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005563/1.411, allocations: 2.941 MB / 1.147 GB, free: 15.8 MB / 0.8575 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.03093/1.442, allocations: 25.17 MB / 1.171 GB, free: 4.59 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00315/1.446, allocations: 2.76 MB / 1.174 GB, free: 1.613 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002995/1.449, allocations: 3.912 MB / 1.178 GB, free: 12.84 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.054e-05/1.449, allocations: 68.55 kB / 1.178 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=217): time 3.948e-06/1.449, allocations: 3.938 kB / 1.178 GB, free: 12.76 MB / 0.8887 GB Notification: Performance of matching and sorting (n=217): time 0.01047/1.459, allocations: 4.068 MB / 1.182 GB, free: 8.594 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.875e-05/1.459, allocations: 73.41 kB / 1.182 GB, free: 8.512 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008008/1.467, allocations: 4.367 MB / 1.186 GB, free: 4.164 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0007476/1.468, allocations: 81.7 kB / 1.186 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.002458/1.471, allocations: 2.78 MB / 1.189 GB, free: 1.277 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.001191/1.472, allocations: 0.7547 MB / 1.19 GB, free: 0.5117 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001355/1.472, allocations: 60 kB / 1.19 GB, free: 464 kB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001958/1.472, allocations: 415.8 kB / 1.19 GB, free: 44 kB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001396/1.474, allocations: 0.7865 MB / 1.191 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002092/1.476, allocations: 1.798 MB / 1.193 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001632/1.477, allocations: 1.069 MB / 1.194 GB, free: 11.93 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.315e-05/1.477, allocations: 11.94 kB / 1.194 GB, free: 11.92 MB / 0.9044 GB Notification: Performance of matching and sorting (n=365) (initialization): time 0.007732/1.485, allocations: 3.493 MB / 1.197 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.003933/1.489, allocations: 10.3 MB / 1.207 GB, free: 13.28 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.412e-05/1.489, allocations: 20 kB / 1.207 GB, free: 13.26 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002535/1.492, allocations: 0.568 MB / 1.208 GB, free: 12.68 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002131/1.494, allocations: 0.55 MB / 1.208 GB, free: 12.13 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002161/1.496, allocations: 2.7 MB / 1.211 GB, free: 9.332 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006157/1.502, allocations: 0.6295 MB / 1.211 GB, free: 8.699 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000476/1.503, allocations: 140 kB / 1.212 GB, free: 8.562 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 1.621e-05/1.503, allocations: 4 kB / 1.212 GB, free: 8.559 MB / 0.92 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005059/1.508, allocations: 2.802 MB / 1.214 GB, free: 5.703 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.059e-05/1.508, allocations: 20 kB / 1.214 GB, free: 5.684 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009158/1.509, allocations: 363.2 kB / 1.215 GB, free: 5.316 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001686/1.51, allocations: 0.5577 MB / 1.215 GB, free: 4.758 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009034/1.519, allocations: 7.79 MB / 1.223 GB, free: 12.38 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006695/1.526, allocations: 0.5935 MB / 1.223 GB, free: 11.79 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006688/1.527, allocations: 128 kB / 1.224 GB, free: 11.66 MB / 0.9356 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 12,1 9,1 12,1 9} Notification: Performance of prepare postOptimizeDAE: time 0.003272/1.53, allocations: 1.001 MB / 1.224 GB, free: 10.65 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002081/1.532, allocations: 0.5017 MB / 1.225 GB, free: 10.14 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008523/1.541, allocations: 3.58 MB / 1.228 GB, free: 6.496 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.65e-05/1.541, allocations: 31.98 kB / 1.229 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.324e-05/1.541, allocations: 3.984 kB / 1.229 GB, free: 6.461 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004433/1.545, allocations: 2.435 MB / 1.231 GB, free: 3.973 MB / 0.9356 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.01953/1.565, allocations: 8.279 MB / 1.239 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.761e-05/1.565, allocations: 4 kB / 1.239 GB, free: 11.41 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001399/1.566, allocations: 367.5 kB / 1.239 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007417/1.567, allocations: 307.1 kB / 1.24 GB, free: 10.73 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002235/1.567, allocations: 67.95 kB / 1.24 GB, free: 10.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001888/1.569, allocations: 2.498 MB / 1.242 GB, free: 8.066 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.781e-06/1.569, allocations: 7.922 kB / 1.242 GB, free: 8.059 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008543/1.578, allocations: 4.416 MB / 1.246 GB, free: 3.535 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003989/1.582, allocations: 1.025 MB / 1.247 GB, free: 2.484 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001764/1.584, allocations: 47.94 kB / 1.247 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004944/1.589, allocations: 423.1 kB / 1.248 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000286/1.589, allocations: 153.8 kB / 1.248 GB, free: 1.871 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003629/1.589, allocations: 111.9 kB / 1.248 GB, free: 1.762 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.007659/1.597, allocations: 2.905 MB / 1.251 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of sort global known variables: time 7.92e-07/1.597, allocations: 0 / 1.251 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.01711/1.614, allocations: 3.324 MB / 1.254 GB, free: 11.55 MB / 0.9669 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 (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 9,1 7,1 9,1 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004486/1.619, allocations: 1.538 MB / 1.256 GB, free: 10.01 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.01075/1.63, allocations: 4.39 MB / 1.26 GB, free: 5.559 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/1.63, allocations: 4.875 kB / 1.26 GB, free: 5.555 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.002653/1.632, allocations: 1.23 MB / 1.261 GB, free: 4.324 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01472/1.647, allocations: 2.636 MB / 1.264 GB, free: 1.719 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02223/1.669, allocations: 10.99 MB / 1.275 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004272/1.674, allocations: 2.978 MB / 1.277 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.005869/1.68, allocations: 1.168 MB / 1.279 GB, free: 2.52 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001364/1.681, allocations: 419.2 kB / 1.279 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of SimCode: time 9.62e-07/1.681, allocations: 0 / 1.279 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of Templates: time 0.5975/2.278, allocations: 104.1 MB / 1.381 GB, free: 298.2 MB / 0.9825 GB make -j1 -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.sim & ./Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Interfaces.Examples.HeaterCooler_u.pipe 2>&1) Environment - environmentSimulation: