Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009562/0.0009563, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.006436/0.006436, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.394/1.394, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.846/2.846, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0004264/0.0004263, allocations: 9.281 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3903/0.3907, allocations: 162.2 MB / 1.074 GB, free: 7.582 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.9438/1.335, allocations: 250.3 MB / 1.319 GB, free: 5.426 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01662/1.351, allocations: 9.628 MB / 1.328 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004083/1.355, allocations: 65.38 kB / 1.328 GB, free: 5.176 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.00307/1.358, allocations: 0.8115 MB / 1.329 GB, free: 5.16 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01113/1.37, allocations: 2.487 MB / 1.331 GB, free: 5.031 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.00899/1.379, allocations: 1.916 MB / 1.333 GB, free: 4.969 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01125/1.39, allocations: 5.438 MB / 1.338 GB, free: 4.949 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003326/1.393, allocations: 1.286 MB / 1.34 GB, free: 4.746 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006225/1.399, allocations: 1.671 MB / 1.341 GB, free: 4.723 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00481/1.404, allocations: 1.234 MB / 1.342 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008287/1.405, allocations: 63.25 kB / 1.343 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01013/1.415, allocations: 3.494 MB / 1.346 GB, free: 4.684 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001487/1.417, allocations: 479.4 kB / 1.346 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00252/1.419, allocations: 0.9108 MB / 1.347 GB, free: 20.35 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.008255/1.428, allocations: 3.681 MB / 1.351 GB, free: 19.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.588e-06/1.428, allocations: 0 / 1.351 GB, free: 19.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 2.384e-06/1.428, allocations: 0 / 1.351 GB, free: 19.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.864e-05/1.428, allocations: 0 / 1.351 GB, free: 19.91 MB / 1.014 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.004087/1.432, allocations: 2.13 MB / 1.353 GB, free: 18.67 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.396e-05/1.432, allocations: 9.219 kB / 1.353 GB, free: 18.67 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003976/1.436, allocations: 0.6552 MB / 1.354 GB, free: 18.54 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002942/1.439, allocations: 1.372 MB / 1.355 GB, free: 18.09 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000382/1.439, allocations: 161 kB / 1.355 GB, free: 18.08 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002062/1.439, allocations: 124.4 kB / 1.355 GB, free: 18.08 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00297/1.442, allocations: 1.435 MB / 1.357 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.171e-05/1.443, allocations: 3.281 kB / 1.357 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/1.443, allocations: 49.53 kB / 1.357 GB, free: 17.89 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-05/1.443, allocations: 42.22 kB / 1.357 GB, free: 17.88 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002606/1.445, allocations: 1.222 MB / 1.358 GB, free: 17.47 MB / 1.014 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.008135/1.453, allocations: 5.716 MB / 1.363 GB, free: 13.8 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001855/1.455, allocations: 1.064 MB / 1.365 GB, free: 13.21 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00102/1.456, allocations: 0.5415 MB / 1.365 GB, free: 12.95 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006063/1.457, allocations: 331.6 kB / 1.365 GB, free: 12.64 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001152/1.458, allocations: 0.5795 MB / 1.366 GB, free: 12.28 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 3.186e-06/1.458, allocations: 0 / 1.366 GB, free: 12.28 MB / 1.014 GB Notification: Performance of matching and sorting (n=92): time 0.008998/1.467, allocations: 3.589 MB / 1.369 GB, free: 10.18 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.461e-05/1.467, allocations: 97.45 kB / 1.37 GB, free: 10.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/1.469, allocations: 1.339 MB / 1.371 GB, free: 9.363 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001779/1.47, allocations: 45.84 kB / 1.371 GB, free: 9.32 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006609/1.47, allocations: 0.725 MB / 1.372 GB, free: 8.68 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/1.471, allocations: 318.1 kB / 1.372 GB, free: 8.414 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/1.471, allocations: 90.5 kB / 1.372 GB, free: 8.352 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001264/1.471, allocations: 345.1 kB / 1.372 GB, free: 8.02 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009701/1.472, allocations: 462.3 kB / 1.373 GB, free: 7.805 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001133/1.473, allocations: 0.6692 MB / 1.373 GB, free: 7.344 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01546/1.489, allocations: 3.618 MB / 1.377 GB, free: 5.496 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.559e-05/1.489, allocations: 2.406 kB / 1.377 GB, free: 5.496 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.004958/1.494, allocations: 1.543 MB / 1.378 GB, free: 4.738 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000248/1.494, allocations: 245.4 kB / 1.379 GB, free: 4.445 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.878e-05/1.494, allocations: 7.281 kB / 1.379 GB, free: 4.441 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008136/1.495, allocations: 232 kB / 1.379 GB, free: 4.312 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009901/1.496, allocations: 209.2 kB / 1.379 GB, free: 4.273 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004667/1.5, allocations: 4.283 MB / 1.383 GB, free: 332 kB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002043/1.502, allocations: 145.4 kB / 1.383 GB, free: 264 kB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001838/1.503, allocations: 41.69 kB / 1.383 GB, free: 256 kB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.011e-05/1.503, allocations: 2.906 kB / 1.383 GB, free: 256 kB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003357/1.506, allocations: 1.369 MB / 1.385 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/1.506, allocations: 5.844 kB / 1.385 GB, free: 15.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005252/1.507, allocations: 201.8 kB / 1.385 GB, free: 15.48 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008883/1.508, allocations: 202.7 kB / 1.385 GB, free: 15.45 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005335/1.513, allocations: 5.323 MB / 1.39 GB, free: 10.45 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/1.515, allocations: 134.5 kB / 1.391 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.515, allocations: 40.92 kB / 1.391 GB, free: 10.38 MB / 1.029 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(1,8), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.001149/1.516, allocations: 0.5096 MB / 1.391 GB, free: 9.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004866/1.517, allocations: 162.4 kB / 1.391 GB, free: 9.906 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002991/1.52, allocations: 1.306 MB / 1.393 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/1.52, allocations: 6.688 kB / 1.393 GB, free: 9.195 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.532e-06/1.52, allocations: 11.28 kB / 1.393 GB, free: 9.188 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002292/1.522, allocations: 1.168 MB / 1.394 GB, free: 8.535 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006526/1.528, allocations: 3.085 MB / 1.397 GB, free: 6.488 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.009e-05/1.529, allocations: 7.234 kB / 1.397 GB, free: 6.484 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009719/1.529, allocations: 189.2 kB / 1.397 GB, free: 6.449 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000176/1.53, allocations: 52.19 kB / 1.397 GB, free: 6.422 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.038e-05/1.53, allocations: 27.95 kB / 1.397 GB, free: 6.406 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004375/1.53, allocations: 0.588 MB / 1.398 GB, free: 5.844 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.352e-06/1.53, allocations: 13.03 kB / 1.398 GB, free: 5.84 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004022/1.534, allocations: 2.011 MB / 1.399 GB, free: 4.68 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009466/1.535, allocations: 348.4 kB / 1.4 GB, free: 4.391 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005073/1.536, allocations: 24.16 kB / 1.4 GB, free: 4.379 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001693/1.537, allocations: 115.4 kB / 1.4 GB, free: 4.328 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001501/1.538, allocations: 63.59 kB / 1.4 GB, free: 4.293 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.333e-05/1.538, allocations: 40.84 kB / 1.4 GB, free: 4.277 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.001921/1.54, allocations: 0.9142 MB / 1.401 GB, free: 3.785 MB / 1.029 GB Notification: Performance of sort global known variables: time 3.11e-07/1.54, allocations: 3.938 kB / 1.401 GB, free: 3.781 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003384/1.543, allocations: 0.6961 MB / 1.402 GB, free: 3.711 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (senTem1.T,con1.I.y,heaDyn.vol.dynBal.medium.Xi[1],heaDyn.vol.dynBal.medium.T,senTem2.T,con2.I.y) * Number of discrete variables: 6 ($whenCondition1,TSet.a,TSet.b,TSet.last,TSet.nextEvent,TSet.nextEventScaled) * Number of discrete states: 6 (TSet.nextEvent,TSet.last,TSet.nextEventScaled,TSet.b,TSet.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,4)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008817/1.544, allocations: 301.7 kB / 1.402 GB, free: 3.543 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005066/1.549, allocations: 2.551 MB / 1.404 GB, free: 1.988 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.008e-05/1.549, allocations: 5.844 kB / 1.404 GB, free: 1.984 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001256/1.55, allocations: 0.6272 MB / 1.405 GB, free: 1.68 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005939/1.556, allocations: 0.8276 MB / 1.406 GB, free: 1.25 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008407/1.565, allocations: 3.922 MB / 1.41 GB, free: 13.26 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001357/1.566, allocations: 1.344 MB / 1.411 GB, free: 11.89 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00203/1.568, allocations: 344.9 kB / 1.411 GB, free: 11.54 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000464/1.569, allocations: 117.9 kB / 1.411 GB, free: 11.43 MB / 1.045 GB Notification: Performance of SimCode: time 1.252e-06/1.569, allocations: 0 / 1.411 GB, free: 11.43 MB / 1.045 GB Notification: Performance of Templates: time 0.05737/1.626, allocations: 31.08 MB / 1.442 GB, free: 12.76 MB / 1.076 GB make -j1 -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)