Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001858/0.001858, allocations: 81.5 kB / 19.44 MB, free: 344 kB / 13.93 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002073/0.002073, allocations: 173.2 kB / 22.76 MB, free: 1.664 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.531/1.531, allocations: 177.1 MB / 203.1 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.003345/0.003345, allocations: 242.5 kB / 259.8 MB, free: 12.86 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.155/1.155, allocations: 138.5 MB / 454.7 MB, free: 1.484 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.342e-06/1.342e-06, allocations: 0 / 0.5544 GB, free: 0.8281 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.656e-05/2.79e-05, allocations: 2.312 kB / 0.5544 GB, free: 0.8242 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4881/0.4882, allocations: 190.8 MB / 0.7407 GB, free: 14.07 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01174/0.4999, allocations: 5.311 MB / 0.7459 GB, free: 8.742 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001754/0.5017, allocations: 63.44 kB / 0.7459 GB, free: 8.68 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.002448/0.5041, allocations: 0.8116 MB / 0.7467 GB, free: 7.863 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.008584/0.5127, allocations: 2.791 MB / 0.7494 GB, free: 5.059 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.003391/0.5161, allocations: 1.076 MB / 0.7505 GB, free: 3.98 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.004731/0.5208, allocations: 2.772 MB / 0.7532 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001724/0.5225, allocations: 0.7918 MB / 0.754 GB, free: 408 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003126/0.5257, allocations: 1.473 MB / 0.7554 GB, free: 14.92 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001689/0.5274, allocations: 0.9388 MB / 0.7563 GB, free: 13.98 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0002033/0.5276, allocations: 88 kB / 0.7564 GB, free: 13.89 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003968/0.5315, allocations: 1.511 MB / 0.7579 GB, free: 12.38 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0007102/0.5322, allocations: 0.4906 MB / 0.7584 GB, free: 11.89 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0007989/0.533, allocations: 454.8 kB / 0.7588 GB, free: 11.44 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.004802/0.5378, allocations: 2.255 MB / 0.761 GB, free: 9.18 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.5378, allocations: 0 / 0.761 GB, free: 9.18 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.603e-06/0.5378, allocations: 0 / 0.761 GB, free: 9.18 MB / 0.573 GB Notification: Performance of Transformations before backend: time 2.927e-05/0.5379, allocations: 0 / 0.761 GB, free: 9.18 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.005407/0.5433, allocations: 2.038 MB / 0.763 GB, free: 7.094 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.002e-05/0.5433, allocations: 8.75 kB / 0.763 GB, free: 7.086 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005256/0.5486, allocations: 0.853 MB / 0.7638 GB, free: 6.23 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002168/0.5507, allocations: 0.9026 MB / 0.7647 GB, free: 5.289 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.239e-05/0.5508, allocations: 66 kB / 0.7648 GB, free: 5.227 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002317/0.5511, allocations: 103.8 kB / 0.7649 GB, free: 5.125 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003418/0.5545, allocations: 1.312 MB / 0.7662 GB, free: 3.77 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.802e-05/0.5545, allocations: 3.938 kB / 0.7662 GB, free: 3.766 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001259/0.5546, allocations: 32 kB / 0.7662 GB, free: 3.734 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.754e-05/0.5547, allocations: 49.98 kB / 0.7662 GB, free: 3.688 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004349/0.5591, allocations: 1.304 MB / 0.7675 GB, free: 2.379 MB / 0.573 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.008707/0.5678, allocations: 4.089 MB / 0.7715 GB, free: 14.2 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003586/0.5714, allocations: 1.087 MB / 0.7726 GB, free: 13.11 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001751/0.5731, allocations: 0.5624 MB / 0.7731 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009937/0.5741, allocations: 188.8 kB / 0.7733 GB, free: 12.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002178/0.5763, allocations: 0.7019 MB / 0.774 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=95): time 3.206e-06/0.5763, allocations: 4 kB / 0.774 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=95): time 0.006411/0.5827, allocations: 1.792 MB / 0.7757 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.387e-05/0.5828, allocations: 64.34 kB / 0.7758 GB, free: 9.762 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.5843, allocations: 1.077 MB / 0.7769 GB, free: 8.664 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 0.0001178/0.5845, allocations: 49.7 kB / 0.7769 GB, free: 8.609 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000685/0.5851, allocations: 0.6644 MB / 0.7775 GB, free: 7.938 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004073/0.5856, allocations: 361.1 kB / 0.7779 GB, free: 7.582 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004384/0.586, allocations: 212.2 kB / 0.7781 GB, free: 7.367 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000335/0.5863, allocations: 0.5355 MB / 0.7786 GB, free: 6.824 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001649/0.588, allocations: 477.7 kB / 0.7791 GB, free: 6.355 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002113/0.5901, allocations: 0.98 MB / 0.78 GB, free: 5.234 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003528/0.5936, allocations: 1.134 MB / 0.7811 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.861e-06/0.5936, allocations: 0 / 0.7811 GB, free: 4.023 MB / 0.5886 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004253/0.5979, allocations: 1.355 MB / 0.7825 GB, free: 2.656 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.13e-05/0.5979, allocations: 4 kB / 0.7825 GB, free: 2.652 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.703e-05/0.5979, allocations: 11.94 kB / 0.7825 GB, free: 2.641 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.099e-05/0.5979, allocations: 11.98 kB / 0.7825 GB, free: 2.629 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001652/0.5996, allocations: 283.7 kB / 0.7828 GB, free: 2.355 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.16e-05/0.5996, allocations: 11.94 kB / 0.7828 GB, free: 2.344 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/0.6009, allocations: 151.4 kB / 0.7829 GB, free: 2.195 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001322/0.601, allocations: 47.97 kB / 0.783 GB, free: 2.148 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (121): * Single equations (assignments): 121 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005747/0.6016, allocations: 282.3 kB / 0.7832 GB, free: 1.863 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003196/0.6019, allocations: 159.2 kB / 0.7834 GB, free: 1.707 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004305/0.6062, allocations: 1.372 MB / 0.7847 GB, free: 336 kB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.6063, allocations: 8 kB / 0.7847 GB, free: 328 kB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.6063, allocations: 0 / 0.7847 GB, free: 328 kB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.378e-05/0.6063, allocations: 7.969 kB / 0.7847 GB, free: 320 kB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006943/0.6132, allocations: 2.747 MB / 0.7874 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.857e-06/0.6132, allocations: 4 kB / 0.7874 GB, free: 13.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001688/0.6149, allocations: 236.1 kB / 0.7876 GB, free: 13.23 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.419e-05/0.6149, allocations: 11.98 kB / 0.7877 GB, free: 13.21 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001159/0.615, allocations: 35.97 kB / 0.7877 GB, free: 13.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-05/0.6151, allocations: 15.94 kB / 0.7877 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.6151, allocations: 7.938 kB / 0.7877 GB, free: 13.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006387/0.6214, allocations: 2.212 MB / 0.7899 GB, free: 10.86 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008004/0.6222, allocations: 226.8 kB / 0.7901 GB, free: 10.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001992/0.6224, allocations: 27.98 kB / 0.7901 GB, free: 10.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001156/0.6236, allocations: 99.84 kB / 0.7902 GB, free: 10.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001845/0.6238, allocations: 80.81 kB / 0.7903 GB, free: 10.43 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001089/0.6239, allocations: 40.53 kB / 0.7903 GB, free: 10.39 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001076/0.625, allocations: 0.6593 MB / 0.791 GB, free: 9.727 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.11e-07/0.625, allocations: 0 / 0.791 GB, free: 9.727 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001192/0.6262, allocations: 375.4 kB / 0.7913 GB, free: 9.359 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,heaCooUnl.Xi) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (101): * Single equations (assignments): 95 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003431/0.6296, allocations: 0.5425 MB / 0.7919 GB, free: 9.047 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004076/0.6337, allocations: 1.201 MB / 0.793 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.241e-06/0.6337, allocations: 0 / 0.793 GB, free: 7.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001911/0.6356, allocations: 0.6369 MB / 0.7937 GB, free: 7.199 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002627/0.6382, allocations: 0.5431 MB / 0.7942 GB, free: 6.691 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006137/0.6444, allocations: 2.659 MB / 0.7968 GB, free: 3.93 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007424/0.6451, allocations: 0.5872 MB / 0.7974 GB, free: 3.309 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001271/0.6464, allocations: 292.3 kB / 0.7976 GB, free: 3.02 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004556/0.6468, allocations: 108.5 kB / 0.7977 GB, free: 2.914 MB / 0.6042 GB Notification: Performance of SimCode: time 1.954e-06/0.6468, allocations: 3.938 kB / 0.7977 GB, free: 2.91 MB / 0.6042 GB Notification: Performance of Templates: time 0.04128/0.6881, allocations: 21.28 MB / 0.8185 GB, free: 14.09 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 7.206982005969621]