Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: translateModel(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") translateModel(IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009714/0.0009714, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5295/0.5295, allocations: 90.91 MB / 99.34 MB, free: 2.219 MB / 74.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: 221.5 MB / 343.2 MB, free: 1.547 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009554/0.0009553, allocations: 99.27 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.53e-05/1.532e-05, allocations: 3.062 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1354/0.1355, allocations: 72.31 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.054/1.189, allocations: 353.3 MB / 0.8985 GB, free: 127 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002098/1.19, allocations: 89.69 kB / 0.8986 GB, free: 127 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.942/7.131, allocations: 1.527 GB / 2.426 GB, free: 68.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.054e-06/7.131, allocations: 4.406 kB / 2.426 GB, free: 68.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 0.0001654/7.132, allocations: 49.95 kB / 2.426 GB, free: 68.98 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 260 * Number of variables: 260 Notification: Performance of Generate backend data structure: time 0.003619/7.135, allocations: 1.866 MB / 2.428 GB, free: 68.32 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/7.135, allocations: 8.844 kB / 2.428 GB, free: 68.32 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003138/7.138, allocations: 0.61 MB / 2.428 GB, free: 68.21 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003536/7.142, allocations: 1.43 MB / 2.43 GB, free: 67.88 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.638e-05/7.142, allocations: 34.12 kB / 2.43 GB, free: 67.88 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001508/7.142, allocations: 71.91 kB / 2.43 GB, free: 67.88 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001495/7.144, allocations: 0.8287 MB / 2.431 GB, free: 67.88 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001755/7.146, allocations: 1.065 MB / 2.432 GB, free: 67.66 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.629e-05/7.146, allocations: 6.188 kB / 2.432 GB, free: 67.66 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.857e-05/7.146, allocations: 6.719 kB / 2.432 GB, free: 67.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.651e-05/7.146, allocations: 26.16 kB / 2.432 GB, free: 67.66 MB / 0.6355 GB Warning: The model contains alias variables with conflicting start and/or 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.008021/7.154, allocations: 6.45 MB / 2.438 GB, free: 63.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001392/7.155, allocations: 0.8978 MB / 2.439 GB, free: 63.87 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006489/7.156, allocations: 490.8 kB / 2.439 GB, free: 63.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00136/7.157, allocations: 2.263 MB / 2.442 GB, free: 61.33 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000824/7.158, allocations: 0.6397 MB / 2.442 GB, free: 61.18 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=97): time 4.088e-06/7.158, allocations: 2.562 kB / 2.442 GB, free: 61.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=97): time 0.003606/7.162, allocations: 1.402 MB / 2.444 GB, free: 61.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/7.162, allocations: 146.7 kB / 2.444 GB, free: 60.88 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001415/7.163, allocations: 0.8935 MB / 2.445 GB, free: 60.73 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001112/7.163, allocations: 33.33 kB / 2.445 GB, free: 60.7 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005112/7.164, allocations: 0.7059 MB / 2.445 GB, free: 60.51 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.00025/7.164, allocations: 316 kB / 2.446 GB, free: 60.35 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.849e-05/7.164, allocations: 2.719 kB / 2.446 GB, free: 60.35 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.32e-05/7.164, allocations: 343.5 kB / 2.446 GB, free: 60.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005842/7.165, allocations: 408.7 kB / 2.446 GB, free: 60.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007691/7.166, allocations: 0.6762 MB / 2.447 GB, free: 59.74 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001993/7.168, allocations: 0.6695 MB / 2.448 GB, free: 59.73 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.306e-06/7.168, allocations: 5.406 kB / 2.448 GB, free: 59.73 MB / 0.6355 GB Notification: Performance of matching and sorting (n=132) (initialization): time 0.003394/7.171, allocations: 1.564 MB / 2.449 GB, free: 59.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000409/7.171, allocations: 2.229 MB / 2.451 GB, free: 57.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/7.171, allocations: 9.531 kB / 2.451 GB, free: 57.31 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.012e-05/7.171, allocations: 11.19 kB / 2.451 GB, free: 57.31 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001166/7.173, allocations: 301.1 kB / 2.452 GB, free: 57.31 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.662e-05/7.173, allocations: 12.81 kB / 2.452 GB, free: 57.31 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00177/7.174, allocations: 213.8 kB / 2.452 GB, free: 57.28 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/7.175, allocations: 65.05 kB / 2.452 GB, free: 57.28 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 9.528e-06/7.175, allocations: 3.219 kB / 2.452 GB, free: 57.28 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002881/7.177, allocations: 1.429 MB / 2.453 GB, free: 57.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/7.177, allocations: 3.719 kB / 2.453 GB, free: 57.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/7.177, allocations: 18.02 kB / 2.453 GB, free: 57.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001107/7.179, allocations: 288.7 kB / 2.454 GB, free: 57.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/7.179, allocations: 18.3 kB / 2.454 GB, free: 57.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001655/7.18, allocations: 208.1 kB / 2.454 GB, free: 57.21 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000108/7.18, allocations: 71.53 kB / 2.454 GB, free: 57.21 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 24 * Number of states: 0 () * Number of discrete variables: 21 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,$PRE.TSetHeat.nextEvent,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,$PRE.TSetCool.nextEvent,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,$PRE.TSetCoolHeat.nextEvent,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 114 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003062/7.181, allocations: 230.8 kB / 2.454 GB, free: 57.01 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000287/7.181, allocations: 157.1 kB / 2.454 GB, free: 56.93 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004121/7.185, allocations: 1.995 MB / 2.456 GB, free: 56.81 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.346e-05/7.185, allocations: 17.92 kB / 2.456 GB, free: 56.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.545e-06/7.185, allocations: 4.734 kB / 2.456 GB, free: 56.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.251e-05/7.185, allocations: 7.734 kB / 2.456 GB, free: 56.8 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006137/7.191, allocations: 3.196 MB / 2.459 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/7.191, allocations: 0 / 2.459 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001118/7.193, allocations: 229.7 kB / 2.46 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.218e-05/7.193, allocations: 12.08 kB / 2.46 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.407e-05/7.193, allocations: 32.09 kB / 2.46 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.857e-06/7.193, allocations: 6.25 kB / 2.46 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.398e-06/7.193, allocations: 1.75 kB / 2.46 GB, free: 56.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004335/7.197, allocations: 2.676 MB / 2.462 GB, free: 55.99 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009569/7.198, allocations: 394.4 kB / 2.463 GB, free: 55.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004595/7.198, allocations: 14.66 kB / 2.463 GB, free: 55.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001597/7.2, allocations: 166.1 kB / 2.463 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001473/7.2, allocations: 71 kB / 2.463 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/7.2, allocations: 53.44 kB / 2.463 GB, free: 55.79 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001678/7.202, allocations: 0.6758 MB / 2.464 GB, free: 55.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.81e-07/7.202, allocations: 2.438 kB / 2.464 GB, free: 55.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.004502/7.207, allocations: 0.8835 MB / 2.464 GB, free: 55.56 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 9 (heaHigPow.outCon.T,heaHigPowOut.T,cooLimPowOut.T,cooLimPow.outCon.T,heaCooUnl.outCon.T,heaCooUnlOut.T,heaHigPowIn.T,cooLimPowIn.T,heaCooUnlIn.T) * Number of discrete variables: 18 ($whenCondition1,$whenCondition2,$whenCondition3,TSetHeat.a,TSetHeat.b,TSetHeat.last,TSetHeat.nextEvent,TSetHeat.nextEventScaled,TSetCool.a,TSetCool.b,TSetCool.last,TSetCool.nextEvent,TSetCool.nextEventScaled,TSetCoolHeat.a,TSetCoolHeat.b,TSetCoolHeat.last,TSetCoolHeat.nextEvent,TSetCoolHeat.nextEventScaled) * Number of discrete states: 18 (TSetCoolHeat.nextEvent,TSetCoolHeat.last,TSetCoolHeat.nextEventScaled,TSetCoolHeat.b,TSetCoolHeat.a,$whenCondition3,TSetCool.nextEvent,TSetCool.last,TSetCool.nextEventScaled,TSetCool.b,TSetCool.a,$whenCondition2,TSetHeat.nextEvent,TSetHeat.last,TSetHeat.nextEventScaled,TSetHeat.b,TSetHeat.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 19 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00286/7.209, allocations: 0.9766 MB / 2.465 GB, free: 55.32 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.003037/7.213, allocations: 2.216 MB / 2.468 GB, free: 54.92 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.102e-06/7.213, allocations: 0 / 2.468 GB, free: 54.92 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.001021/7.214, allocations: 0.8728 MB / 2.468 GB, free: 54.73 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003061/7.217, allocations: 0.5173 MB / 2.469 GB, free: 54.71 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004858/7.221, allocations: 2.618 MB / 2.472 GB, free: 54.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009035/7.222, allocations: 1.316 MB / 2.473 GB, free: 53.33 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.002334/7.225, allocations: 480.2 kB / 2.473 GB, free: 53.31 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003489/7.225, allocations: 108.6 kB / 2.473 GB, free: 53.3 MB / 0.6355 GB Notification: Performance of SimCode: time 9.82e-07/7.225, allocations: 0 / 2.473 GB, free: 53.3 MB / 0.6355 GB Notification: Performance of Templates: time 0.04909/7.274, allocations: 31.18 MB / 2.504 GB, free: 51.61 MB / 0.6355 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.Validation.PrescribedOutlet_dynamic.pipe 2>&1)