Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 177.2 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5434/0.5434, allocations: 90.91 MB / 99.34 MB, free: 2.227 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.383/1.383, allocations: 221.5 MB / 343.2 MB, free: 1.543 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.0008777/0.0008777, allocations: 93.98 kB / 415.9 MB, free: 11.1 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.533e-05/1.536e-05, allocations: 0 / 494.5 MB, free: 52.37 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1492, allocations: 72.32 MB / 0.5535 GB, free: 12.25 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.583/5.732, allocations: 2.135 GB / 2.689 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/5.732, allocations: 96.12 kB / 2.689 GB, free: 109.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 3.156/8.888, allocations: 0.8772 GB / 3.566 GB, free: 62.84 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.325e-06/8.889, allocations: 0 / 3.566 GB, free: 62.84 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002178/8.889, allocations: 58.19 kB / 3.566 GB, free: 62.84 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.005207/8.894, allocations: 2.347 MB / 3.568 GB, free: 61.71 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/8.894, allocations: 7.562 kB / 3.568 GB, free: 61.71 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001655/8.896, allocations: 384.5 kB / 3.569 GB, free: 61.59 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003425/8.899, allocations: 2.05 MB / 3.571 GB, free: 61.21 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.19e-05/8.899, allocations: 41.69 kB / 3.571 GB, free: 61.21 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/8.899, allocations: 82.19 kB / 3.571 GB, free: 61.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001768/8.901, allocations: 1.118 MB / 3.572 GB, free: 61.2 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001982/8.903, allocations: 1.381 MB / 3.573 GB, free: 61.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.093e-05/8.903, allocations: 0 / 3.573 GB, free: 61.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/8.903, allocations: 3.719 kB / 3.573 GB, free: 61.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.54e-05/8.903, allocations: 45.28 kB / 3.573 GB, free: 61.04 MB / 0.6198 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.007157/8.91, allocations: 6.183 MB / 3.579 GB, free: 58.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001021/8.912, allocations: 0.8391 MB / 3.58 GB, free: 58.88 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006034/8.912, allocations: 0.5746 MB / 3.581 GB, free: 58.88 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005115/8.913, allocations: 0.6829 MB / 3.581 GB, free: 58.12 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.323e-05/8.913, allocations: 42.78 kB / 3.581 GB, free: 58.09 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 2.545e-06/8.913, allocations: 3.906 kB / 3.581 GB, free: 58.09 MB / 0.6198 GB Notification: Performance of matching and sorting (n=85): time 0.004645/8.917, allocations: 2.722 MB / 3.584 GB, free: 57.41 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.163e-05/8.917, allocations: 201.3 kB / 3.584 GB, free: 57.19 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001764/8.919, allocations: 1.489 MB / 3.586 GB, free: 57.03 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.022e-05/8.919, allocations: 34.89 kB / 3.586 GB, free: 57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005536/8.92, allocations: 0.8995 MB / 3.587 GB, free: 56.7 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001866/8.92, allocations: 278.2 kB / 3.587 GB, free: 56.52 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.392e-05/8.92, allocations: 0 / 3.587 GB, free: 56.52 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.963e-05/8.92, allocations: 347.4 kB / 3.587 GB, free: 56.21 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006352/8.921, allocations: 0.5632 MB / 3.588 GB, free: 56.21 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008164/8.922, allocations: 0.8115 MB / 3.589 GB, free: 55.96 MB / 0.6198 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/8.925, allocations: 2.141 MB / 3.591 GB, free: 55.66 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/8.925, allocations: 3.938 kB / 3.591 GB, free: 55.66 MB / 0.6198 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002115/8.927, allocations: 1.546 MB / 3.592 GB, free: 55.5 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003409/8.928, allocations: 1.644 MB / 3.594 GB, free: 53.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.054e-05/8.928, allocations: 4.75 kB / 3.594 GB, free: 53.8 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/8.928, allocations: 7.281 kB / 3.594 GB, free: 53.8 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006637/8.928, allocations: 180 kB / 3.594 GB, free: 53.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.279e-05/8.928, allocations: 9.281 kB / 3.594 GB, free: 53.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/8.93, allocations: 104.4 kB / 3.594 GB, free: 53.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001191/8.93, allocations: 55.77 kB / 3.594 GB, free: 53.79 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 8.105e-06/8.93, allocations: 4.906 kB / 3.594 GB, free: 53.79 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002012/8.932, allocations: 1.461 MB / 3.596 GB, free: 53.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/8.932, allocations: 6.656 kB / 3.596 GB, free: 53.77 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/8.932, allocations: 13.2 kB / 3.596 GB, free: 53.77 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006436/8.933, allocations: 176.5 kB / 3.596 GB, free: 53.77 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/8.933, allocations: 7.719 kB / 3.596 GB, free: 53.77 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001218/8.934, allocations: 99.33 kB / 3.596 GB, free: 53.76 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-05/8.934, allocations: 54.44 kB / 3.596 GB, free: 53.76 MB / 0.6198 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (106): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 6 * 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.0002778/8.934, allocations: 225.8 kB / 3.596 GB, free: 53.55 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000242/8.935, allocations: 180.3 kB / 3.596 GB, free: 53.46 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001961/8.937, allocations: 1.252 MB / 3.598 GB, free: 53.38 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/8.937, allocations: 7.781 kB / 3.598 GB, free: 53.38 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/8.937, allocations: 3.719 kB / 3.598 GB, free: 53.38 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001326/8.938, allocations: 1.363 MB / 3.599 GB, free: 52.93 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005048/8.943, allocations: 3.24 MB / 3.602 GB, free: 52.46 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/8.943, allocations: 3.469 kB / 3.602 GB, free: 52.46 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007096/8.944, allocations: 167 kB / 3.602 GB, free: 52.46 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.545e-05/8.944, allocations: 9.844 kB / 3.602 GB, free: 52.46 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.401e-05/8.944, allocations: 16.97 kB / 3.602 GB, free: 52.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/8.944, allocations: 10.19 kB / 3.602 GB, free: 52.46 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.426e-06/8.944, allocations: 9.656 kB / 3.602 GB, free: 52.46 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002779/8.947, allocations: 2.466 MB / 3.605 GB, free: 51.67 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007525/8.948, allocations: 433.8 kB / 3.605 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002097/8.948, allocations: 9.812 kB / 3.605 GB, free: 51.48 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009819/8.949, allocations: 96.19 kB / 3.605 GB, free: 51.47 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000188/8.949, allocations: 97.72 kB / 3.605 GB, free: 51.47 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.225e-05/8.949, allocations: 41.77 kB / 3.605 GB, free: 51.47 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.001536/8.951, allocations: 1.135 MB / 3.606 GB, free: 51.36 MB / 0.6198 GB Notification: Performance of sort global known variables: time 2.4e-07/8.951, allocations: 1.625 kB / 3.606 GB, free: 51.36 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.002741/8.953, allocations: 0.9116 MB / 3.607 GB, free: 51.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * 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.002943/8.956, allocations: 2.382 MB / 3.61 GB, free: 50.67 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002924/8.959, allocations: 2.956 MB / 3.613 GB, free: 49.9 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/8.959, allocations: 0 / 3.613 GB, free: 49.9 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.00097/8.96, allocations: 0.9634 MB / 3.613 GB, free: 49.71 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003887/8.964, allocations: 0.8274 MB / 3.614 GB, free: 49.7 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004745/8.969, allocations: 3.062 MB / 3.617 GB, free: 48.86 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009015/8.97, allocations: 1.565 MB / 3.619 GB, free: 48.13 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002265/8.972, allocations: 0.5999 MB / 3.619 GB, free: 48.11 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002119/8.972, allocations: 92.08 kB / 3.619 GB, free: 48.11 MB / 0.6198 GB Notification: Performance of SimCode: time 6.51e-07/8.972, allocations: 0 / 3.619 GB, free: 48.11 MB / 0.6198 GB Notification: Performance of Templates: time 0.06452/9.037, allocations: 45.33 MB / 3.664 GB, free: 45.2 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1)