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.001202/0.001202, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00132/0.00132, allocations: 195.1 kB / 16.53 MB, free: 6.664 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.404/1.404, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.097/3.097, allocations: 472.6 MB / 0.7451 GB, free: 4.664 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00138/0.001381, allocations: 62.91 kB / 0.912 GB, free: 33.43 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3184/0.3198, allocations: 159.9 MB / 1.068 GB, free: 10.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.8868/1.207, allocations: 255.8 MB / 1.318 GB, free: 5.168 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.01746/1.224, allocations: 9.592 MB / 1.327 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003892/1.228, allocations: 77.53 kB / 1.327 GB, free: 4.91 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003323/1.232, allocations: 0.9659 MB / 1.328 GB, free: 4.895 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009082/1.241, allocations: 2.654 MB / 1.331 GB, free: 4.789 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007443/1.248, allocations: 2.125 MB / 1.333 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.00733/1.255, allocations: 4.149 MB / 1.337 GB, free: 4.645 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002892/1.258, allocations: 1.577 MB / 1.339 GB, free: 4.438 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00521/1.264, allocations: 1.965 MB / 1.341 GB, free: 4.242 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004189/1.268, allocations: 1.301 MB / 1.342 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0008407/1.269, allocations: 177.1 kB / 1.342 GB, free: 4 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01123/1.28, allocations: 3.141 MB / 1.345 GB, free: 3.969 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.002016/1.282, allocations: 0.595 MB / 1.346 GB, free: 3.891 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00299/1.285, allocations: 1.026 MB / 1.347 GB, free: 3.441 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.008996/1.294, allocations: 3.637 MB / 1.35 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 7.865e-06/1.294, allocations: 3.938 kB / 1.35 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.904e-06/1.294, allocations: 0 / 1.35 GB, free: 2.309 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 5.35e-05/1.294, allocations: 4 kB / 1.35 GB, free: 2.305 MB / 0.9981 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.004558/1.299, allocations: 2.478 MB / 1.353 GB, free: 16.71 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.565e-05/1.299, allocations: 6.844 kB / 1.353 GB, free: 16.71 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003848/1.303, allocations: 0.6298 MB / 1.353 GB, free: 16.56 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002613/1.305, allocations: 1.366 MB / 1.355 GB, free: 15.82 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003611/1.306, allocations: 151.6 kB / 1.355 GB, free: 15.77 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001873/1.306, allocations: 125.1 kB / 1.355 GB, free: 15.73 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002525/1.308, allocations: 1.426 MB / 1.356 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.69e-05/1.308, allocations: 3.375 kB / 1.356 GB, free: 15.1 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001176/1.309, allocations: 46.19 kB / 1.356 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-05/1.309, allocations: 42.69 kB / 1.356 GB, free: 15.06 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002497/1.311, allocations: 1.199 MB / 1.357 GB, free: 14.64 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.008526/1.32, allocations: 5.735 MB / 1.363 GB, free: 10.97 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002089/1.322, allocations: 1.046 MB / 1.364 GB, free: 10.43 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009958/1.323, allocations: 0.536 MB / 1.365 GB, free: 10.24 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006845/1.324, allocations: 312.6 kB / 1.365 GB, free: 9.957 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001159/1.325, allocations: 0.575 MB / 1.366 GB, free: 9.711 MB / 1.014 GB Notification: Performance of pre-optimization done (n=85): time 3.086e-06/1.325, allocations: 0 / 1.366 GB, free: 9.711 MB / 1.014 GB Notification: Performance of matching and sorting (n=92): time 0.008788/1.333, allocations: 3.527 MB / 1.369 GB, free: 7.961 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001029/1.334, allocations: 95.28 kB / 1.369 GB, free: 7.859 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001808/1.335, allocations: 1.34 MB / 1.37 GB, free: 7.352 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000109/1.336, allocations: 44.61 kB / 1.37 GB, free: 7.309 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006555/1.336, allocations: 0.7374 MB / 1.371 GB, free: 6.73 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003391/1.337, allocations: 313.3 kB / 1.371 GB, free: 6.488 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003126/1.337, allocations: 193.8 kB / 1.372 GB, free: 6.402 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0002139/1.337, allocations: 343.3 kB / 1.372 GB, free: 6.082 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/1.338, allocations: 461.3 kB / 1.372 GB, free: 5.918 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001153/1.339, allocations: 0.6561 MB / 1.373 GB, free: 5.547 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01358/1.353, allocations: 3.347 MB / 1.376 GB, free: 3.805 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.735e-05/1.353, allocations: 0 / 1.376 GB, free: 3.805 MB / 1.014 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003988/1.357, allocations: 1.53 MB / 1.378 GB, free: 3.035 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 5.178e-05/1.357, allocations: 40.44 kB / 1.378 GB, free: 3 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.357, allocations: 2.562 kB / 1.378 GB, free: 3 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007615/1.358, allocations: 226.6 kB / 1.378 GB, free: 2.879 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009614/1.359, allocations: 203.2 kB / 1.378 GB, free: 2.836 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005087/1.364, allocations: 4.605 MB / 1.383 GB, free: 14.58 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001701/1.366, allocations: 73.34 kB / 1.383 GB, free: 14.55 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/1.366, allocations: 42.11 kB / 1.383 GB, free: 14.54 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 system: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00178/1.368, allocations: 0.7731 MB / 1.384 GB, free: 14.09 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001232/1.369, allocations: 0.6512 MB / 1.384 GB, free: 13.64 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01369/1.383, allocations: 3.299 MB / 1.387 GB, free: 11.83 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.616e-06/1.383, allocations: 1 kB / 1.387 GB, free: 11.83 MB / 1.029 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.00369/1.386, allocations: 1.496 MB / 1.389 GB, free: 11.09 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/1.386, allocations: 44.72 kB / 1.389 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.184e-05/1.386, allocations: 3.688 kB / 1.389 GB, free: 11.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005506/1.387, allocations: 198.5 kB / 1.389 GB, free: 10.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009728/1.388, allocations: 205.6 kB / 1.389 GB, free: 10.89 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005592/1.394, allocations: 5.775 MB / 1.395 GB, free: 5.461 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001703/1.395, allocations: 78.11 kB / 1.395 GB, free: 5.426 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002008/1.395, allocations: 45.36 kB / 1.395 GB, free: 5.41 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_lambda0 system: $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.0004868/1.396, allocations: 277.5 kB / 1.395 GB, free: 5.16 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004911/1.396, allocations: 162.9 kB / 1.396 GB, free: 5.078 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003071/1.4, allocations: 1.304 MB / 1.397 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.345e-06/1.4, allocations: 8.281 kB / 1.397 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/1.4, allocations: 0 / 1.397 GB, free: 4.348 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002277/1.402, allocations: 1.157 MB / 1.398 GB, free: 3.688 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00628/1.408, allocations: 3.061 MB / 1.401 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-05/1.408, allocations: 5.219 kB / 1.401 GB, free: 1.641 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009653/1.409, allocations: 184.1 kB / 1.401 GB, free: 1.605 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001616/1.409, allocations: 49.08 kB / 1.401 GB, free: 1.582 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.972e-05/1.409, allocations: 36.23 kB / 1.401 GB, free: 1.559 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000431/1.41, allocations: 0.582 MB / 1.402 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.162e-06/1.41, allocations: 5 kB / 1.402 GB, free: 1.004 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003968/1.414, allocations: 1.993 MB / 1.404 GB, free: 15.77 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009165/1.415, allocations: 347 kB / 1.404 GB, free: 15.41 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004434/1.415, allocations: 28 kB / 1.404 GB, free: 15.38 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00134/1.417, allocations: 66.19 kB / 1.404 GB, free: 15.32 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001416/1.417, allocations: 65.58 kB / 1.404 GB, free: 15.26 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.532e-05/1.417, allocations: 35.98 kB / 1.404 GB, free: 15.23 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001715/1.419, allocations: 0.9177 MB / 1.405 GB, free: 14.31 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.1e-07/1.419, allocations: 4 kB / 1.405 GB, free: 14.31 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.002754/1.421, allocations: 0.6738 MB / 1.406 GB, free: 13.64 MB / 1.045 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.0007671/1.422, allocations: 295.6 kB / 1.406 GB, free: 13.37 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005572/1.428, allocations: 2.629 MB / 1.409 GB, free: 10.7 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.158e-05/1.428, allocations: 6.625 kB / 1.409 GB, free: 10.69 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/1.429, allocations: 0.6067 MB / 1.409 GB, free: 10.1 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004631/1.434, allocations: 0.8414 MB / 1.41 GB, free: 9.273 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007642/1.441, allocations: 3.241 MB / 1.413 GB, free: 5.977 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001307/1.443, allocations: 1.344 MB / 1.415 GB, free: 4.605 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.00214/1.445, allocations: 352.9 kB / 1.415 GB, free: 4.254 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000459/1.445, allocations: 111.4 kB / 1.415 GB, free: 4.145 MB / 1.045 GB Notification: Performance of SimCode: time 1.482e-06/1.445, allocations: 0 / 1.415 GB, free: 4.145 MB / 1.045 GB Notification: Performance of Templates: time 0.05957/1.505, allocations: 32.51 MB / 1.447 GB, free: 4.121 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)