Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.000994/0.0009941, allocations: 99.05 kB / 16.02 MB, free: 80 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.001142/0.001142, allocations: 181.4 kB / 16.92 MB, free: 6.777 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.374/1.374, allocations: 223.3 MB / 241 MB, free: 5.148 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6926/0.6926, allocations: 115.5 MB / 407.6 MB, free: 2.598 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 8.75 kB / 495.9 MB, free: 6.301 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1412/0.1416, allocations: 77.54 MB / 0.56 GB, free: 8.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.5283/0.6699, allocations: 250.2 MB / 0.8043 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01499/0.6849, allocations: 9.621 MB / 0.8137 GB, free: 2.609 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002332/0.6873, allocations: 67.56 kB / 0.8137 GB, free: 2.543 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.002556/0.6898, allocations: 0.8082 MB / 0.8145 GB, free: 1.73 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.007584/0.6974, allocations: 2.49 MB / 0.817 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.007119/0.7046, allocations: 1.922 MB / 0.8188 GB, free: 13.33 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007567/0.7122, allocations: 5.43 MB / 0.8241 GB, free: 7.883 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002539/0.7147, allocations: 1.283 MB / 0.8254 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00412/0.7189, allocations: 1.673 MB / 0.827 GB, free: 4.891 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002678/0.7216, allocations: 1.229 MB / 0.8282 GB, free: 3.66 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003568/0.722, allocations: 68 kB / 0.8283 GB, free: 3.594 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006048/0.728, allocations: 3.488 MB / 0.8317 GB, free: 100 kB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.3277/1.056, allocations: 478.4 kB / 0.8322 GB, free: 38.59 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.002797/1.059, allocations: 0.9024 MB / 0.833 GB, free: 38.55 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.008252/1.067, allocations: 3.678 MB / 0.8366 GB, free: 38.47 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/1.067, allocations: 0.5312 kB / 0.8366 GB, free: 38.47 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.834e-06/1.067, allocations: 2.906 kB / 0.8366 GB, free: 38.47 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 9.161e-05/1.067, allocations: 7.969 kB / 0.8366 GB, free: 38.47 MB / 0.6387 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.005183/1.072, allocations: 2.128 MB / 0.8387 GB, free: 37.35 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.885e-05/1.072, allocations: 8.75 kB / 0.8387 GB, free: 37.35 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004194/1.076, allocations: 0.6557 MB / 0.8394 GB, free: 37.24 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002735/1.079, allocations: 1.367 MB / 0.8407 GB, free: 36.8 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004218/1.08, allocations: 156.5 kB / 0.8409 GB, free: 36.79 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002593/1.08, allocations: 128 kB / 0.841 GB, free: 36.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003027/1.083, allocations: 1.445 MB / 0.8424 GB, free: 36.59 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/1.083, allocations: 0.9688 kB / 0.8424 GB, free: 36.59 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001244/1.083, allocations: 47.28 kB / 0.8424 GB, free: 36.59 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.496e-05/1.083, allocations: 43.47 kB / 0.8425 GB, free: 36.59 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002711/1.086, allocations: 1.222 MB / 0.8437 GB, free: 36.55 MB / 0.6387 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.007892/1.094, allocations: 5.711 MB / 0.8492 GB, free: 34.16 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001965/1.096, allocations: 1.053 MB / 0.8503 GB, free: 33.94 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001068/1.097, allocations: 0.5456 MB / 0.8508 GB, free: 33.92 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005787/1.097, allocations: 326.2 kB / 0.8511 GB, free: 33.64 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001241/1.099, allocations: 0.578 MB / 0.8517 GB, free: 33.55 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=85): time 3.416e-06/1.099, allocations: 0 / 0.8517 GB, free: 33.55 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92): time 0.008994/1.108, allocations: 3.596 MB / 0.8552 GB, free: 32.62 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.551e-05/1.108, allocations: 91.77 kB / 0.8553 GB, free: 32.52 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002069/1.11, allocations: 1.343 MB / 0.8566 GB, free: 32.35 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.000111/1.11, allocations: 47.08 kB / 0.8566 GB, free: 32.32 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005402/1.11, allocations: 0.7219 MB / 0.8573 GB, free: 32.09 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002689/1.111, allocations: 321 kB / 0.8576 GB, free: 31.89 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001419/1.111, allocations: 90.36 kB / 0.8577 GB, free: 31.87 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 6.578e-05/1.111, allocations: 341 kB / 0.8581 GB, free: 31.57 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001058/1.112, allocations: 464.1 kB / 0.8585 GB, free: 31.56 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001118/1.113, allocations: 0.6666 MB / 0.8592 GB, free: 31.35 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/1.127, allocations: 3.621 MB / 0.8627 GB, free: 30.87 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.03e-06/1.127, allocations: 6.016 kB / 0.8627 GB, free: 30.87 MB / 0.6387 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003146/1.13, allocations: 1.549 MB / 0.8642 GB, free: 30.66 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 9.478e-05/1.13, allocations: 242.9 kB / 0.8644 GB, free: 30.39 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.045e-05/1.13, allocations: 5.812 kB / 0.8644 GB, free: 30.39 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006684/1.131, allocations: 228.5 kB / 0.8647 GB, free: 30.36 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008817/1.132, allocations: 203.8 kB / 0.8649 GB, free: 30.36 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003161/1.135, allocations: 4.294 MB / 0.8691 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/1.137, allocations: 142.8 kB / 0.8692 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-05/1.137, allocations: 42.59 kB / 0.8692 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 7.093e-06/1.137, allocations: 2.375 kB / 0.8692 GB, free: 27.22 MB / 0.6387 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002842/1.14, allocations: 1.375 MB / 0.8706 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.076e-05/1.14, allocations: 6.188 kB / 0.8706 GB, free: 27.12 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004633/1.14, allocations: 196 kB / 0.8708 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009049/1.141, allocations: 203.1 kB / 0.871 GB, free: 27.09 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003827/1.145, allocations: 5.314 MB / 0.8762 GB, free: 23.08 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/1.147, allocations: 139.3 kB / 0.8763 GB, free: 23.06 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001153/1.147, allocations: 42.45 kB / 0.8763 GB, free: 23.06 MB / 0.6387 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.001061/1.148, allocations: 0.5066 MB / 0.8768 GB, free: 22.84 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003569/1.148, allocations: 159.7 kB / 0.877 GB, free: 22.75 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002732/1.151, allocations: 1.312 MB / 0.8783 GB, free: 22.61 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.977e-06/1.151, allocations: 13.3 kB / 0.8783 GB, free: 22.61 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/1.151, allocations: 4 kB / 0.8783 GB, free: 22.61 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002065/1.153, allocations: 1.171 MB / 0.8794 GB, free: 22.37 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005328/1.158, allocations: 3.084 MB / 0.8824 GB, free: 21.78 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/1.158, allocations: 2.625 kB / 0.8824 GB, free: 21.78 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009326/1.159, allocations: 190.1 kB / 0.8826 GB, free: 21.77 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001294/1.16, allocations: 56.84 kB / 0.8827 GB, free: 21.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.887e-05/1.16, allocations: 28.59 kB / 0.8827 GB, free: 21.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002577/1.16, allocations: 0.5853 MB / 0.8833 GB, free: 21.24 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/1.16, allocations: 5.781 kB / 0.8833 GB, free: 21.24 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00347/1.163, allocations: 2.019 MB / 0.8852 GB, free: 20.78 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007663/1.164, allocations: 348.4 kB / 0.8856 GB, free: 20.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002117/1.164, allocations: 23.59 kB / 0.8856 GB, free: 20.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001186/1.166, allocations: 117.8 kB / 0.8857 GB, free: 20.59 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001109/1.166, allocations: 68.19 kB / 0.8858 GB, free: 20.58 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.927e-05/1.166, allocations: 39.62 kB / 0.8858 GB, free: 20.57 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001161/1.167, allocations: 0.9171 MB / 0.8867 GB, free: 20.46 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.4e-07/1.167, allocations: 0 / 0.8867 GB, free: 20.46 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.002251/1.169, allocations: 0.6999 MB / 0.8874 GB, free: 20.45 MB / 0.6387 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.0005749/1.17, allocations: 300.3 kB / 0.8877 GB, free: 20.32 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.003927/1.174, allocations: 2.56 MB / 0.8902 GB, free: 19.58 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.48e-06/1.174, allocations: 192 / 0.8902 GB, free: 19.58 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.175, allocations: 0.6209 MB / 0.8908 GB, free: 19.51 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004894/1.18, allocations: 0.8226 MB / 0.8916 GB, free: 19.46 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006081/1.186, allocations: 3.926 MB / 0.8954 GB, free: 17.47 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006835/1.187, allocations: 1.34 MB / 0.8967 GB, free: 16.74 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001664/1.188, allocations: 350.6 kB / 0.8971 GB, free: 16.64 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003173/1.189, allocations: 112.6 kB / 0.8972 GB, free: 16.64 MB / 0.6387 GB Notification: Performance of SimCode: time 6.91e-07/1.189, allocations: 0 / 0.8972 GB, free: 16.64 MB / 0.6387 GB Notification: Performance of Templates: time 0.0445/1.233, allocations: 31.09 MB / 0.9275 GB, free: 11.03 MB / 0.6544 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1)