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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00147/0.00147, allocations: 117.7 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001498/0.001498, allocations: 194.1 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.329/1.329, allocations: 225.6 MB / 248.5 MB, free: 3.637 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002317/0.002317, allocations: 281.2 kB / 303.6 MB, free: 3.777 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9889/0.9889, allocations: 180.9 MB / 0.5268 GB, free: 2.688 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(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 0.002671/0.002671, allocations: 103.8 kB / 0.7259 GB, free: 8.801 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4716/0.4742, allocations: 94.16 MB / 0.8179 GB, free: 7.43 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2202/0.6945, allocations: 194.5 MB / 1.008 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of NFInst.instExpressions: time 0.009406/0.7039, allocations: 5.161 MB / 1.013 GB, free: 8.781 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000972/0.7049, allocations: 47.69 kB / 1.013 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.001833/0.7067, allocations: 0.8314 MB / 1.014 GB, free: 7.898 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.005792/0.7125, allocations: 2.692 MB / 1.016 GB, free: 5.195 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.00265/0.7151, allocations: 1.117 MB / 1.017 GB, free: 4.086 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003698/0.7188, allocations: 2.688 MB / 1.02 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.7201, allocations: 0.8157 MB / 1.021 GB, free: 0.5586 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002121/0.7222, allocations: 1.14 MB / 1.022 GB, free: 15.41 MB / 0.7638 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001508/0.7237, allocations: 1.062 MB / 1.023 GB, free: 14.35 MB / 0.7638 GB Notification: Performance of NFPackage.collectConstants: time 0.0001645/0.7239, allocations: 84 kB / 1.023 GB, free: 14.27 MB / 0.7638 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003578/0.7275, allocations: 1.909 MB / 1.025 GB, free: 12.35 MB / 0.7638 GB Notification: Performance of NFScalarize.scalarize: time 0.0005/0.728, allocations: 462.4 kB / 1.025 GB, free: 11.9 MB / 0.7638 GB Notification: Performance of NFVerifyModel.verify: time 0.0007688/0.7287, allocations: 0.6604 MB / 1.026 GB, free: 11.23 MB / 0.7638 GB Notification: Performance of NFConvertDAE.convert: time 0.003619/0.7324, allocations: 2.218 MB / 1.028 GB, free: 9.008 MB / 0.7638 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.7324, allocations: 0 / 1.028 GB, free: 9.008 MB / 0.7638 GB Notification: Performance of FrontEnd: time 1.653e-06/0.7324, allocations: 0 / 1.028 GB, free: 9.008 MB / 0.7638 GB Notification: Performance of Transformations before backend: time 2.343e-05/0.7324, allocations: 4 kB / 1.028 GB, free: 9.004 MB / 0.7638 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.005335/0.7377, allocations: 2.006 MB / 1.03 GB, free: 6.938 MB / 0.7638 GB Notification: Performance of prepare preOptimizeDAE: time 3.914e-05/0.7378, allocations: 12.03 kB / 1.03 GB, free: 6.926 MB / 0.7638 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005606/0.7434, allocations: 0.9002 MB / 1.031 GB, free: 6.023 MB / 0.7638 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001858/0.7452, allocations: 0.9811 MB / 1.032 GB, free: 4.988 MB / 0.7638 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.221e-05/0.7453, allocations: 66 kB / 1.032 GB, free: 4.922 MB / 0.7638 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001979/0.7455, allocations: 103.9 kB / 1.032 GB, free: 4.82 MB / 0.7638 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0039/0.7494, allocations: 1.575 MB / 1.034 GB, free: 3.215 MB / 0.7638 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.314e-05/0.7494, allocations: 4 kB / 1.034 GB, free: 3.211 MB / 0.7638 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001174/0.7495, allocations: 39.97 kB / 1.034 GB, free: 3.172 MB / 0.7638 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.304e-05/0.7496, allocations: 53.97 kB / 1.034 GB, free: 3.117 MB / 0.7638 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005467/0.7551, allocations: 1.85 MB / 1.036 GB, free: 1.27 MB / 0.7638 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.007895/0.763, allocations: 4.735 MB / 1.04 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004508/0.7675, allocations: 1.513 MB / 1.042 GB, free: 10.77 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002313/0.7698, allocations: 0.8128 MB / 1.043 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001355/0.7711, allocations: 0.9491 MB / 1.043 GB, free: 8.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002554/0.7737, allocations: 0.9105 MB / 1.044 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=95): time 2.855e-06/0.7737, allocations: 0 / 1.044 GB, free: 7.898 MB / 0.7794 GB Notification: Performance of matching and sorting (n=95): time 0.00789/0.7816, allocations: 2.459 MB / 1.047 GB, free: 5.43 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.253e-05/0.7816, allocations: 64.34 kB / 1.047 GB, free: 5.355 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001488/0.7831, allocations: 1.197 MB / 1.048 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.7832, allocations: 45.7 kB / 1.048 GB, free: 4.098 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004755/0.7837, allocations: 0.5571 MB / 1.049 GB, free: 3.535 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003217/0.784, allocations: 337.1 kB / 1.049 GB, free: 3.203 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003573/0.7844, allocations: 190.6 kB / 1.049 GB, free: 3.012 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.7846, allocations: 341.9 kB / 1.049 GB, free: 2.672 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002246/0.7868, allocations: 0.6967 MB / 1.05 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002545/0.7893, allocations: 0.9074 MB / 1.051 GB, free: 1 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004568/0.7939, allocations: 1.558 MB / 1.052 GB, free: 15.39 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.362e-06/0.7939, allocations: 7.938 kB / 1.052 GB, free: 15.38 MB / 0.795 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005181/0.7991, allocations: 1.781 MB / 1.054 GB, free: 13.59 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.192e-05/0.7991, allocations: 8 kB / 1.054 GB, free: 13.58 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.999e-06/0.7991, allocations: 4 kB / 1.054 GB, free: 13.58 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.581e-05/0.7992, allocations: 11.98 kB / 1.054 GB, free: 13.57 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001741/0.8009, allocations: 339.6 kB / 1.055 GB, free: 13.23 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.778e-05/0.8009, allocations: 15.94 kB / 1.055 GB, free: 13.22 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001492/0.8024, allocations: 239 kB / 1.055 GB, free: 12.98 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001123/0.8025, allocations: 47.97 kB / 1.055 GB, free: 12.94 MB / 0.795 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.0005511/0.8031, allocations: 335.7 kB / 1.055 GB, free: 12.6 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002199/0.8033, allocations: 143.1 kB / 1.055 GB, free: 12.46 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005216/0.8085, allocations: 1.799 MB / 1.057 GB, free: 10.65 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/0.8085, allocations: 15.98 kB / 1.057 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.8085, allocations: 0 / 1.057 GB, free: 10.63 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.257e-05/0.8085, allocations: 7.969 kB / 1.057 GB, free: 10.62 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007532/0.8161, allocations: 3.344 MB / 1.06 GB, free: 7.18 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.8161, allocations: 4 kB / 1.06 GB, free: 7.176 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001656/0.8177, allocations: 283.8 kB / 1.061 GB, free: 6.898 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.748e-06/0.8177, allocations: 8 kB / 1.061 GB, free: 6.891 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.66e-05/0.8178, allocations: 35.97 kB / 1.061 GB, free: 6.855 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.41e-05/0.8179, allocations: 11.92 kB / 1.061 GB, free: 6.844 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.961e-06/0.8179, allocations: 8 kB / 1.061 GB, free: 6.836 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007551/0.8254, allocations: 2.852 MB / 1.063 GB, free: 3.922 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005619/0.826, allocations: 323.9 kB / 1.064 GB, free: 3.586 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001736/0.8261, allocations: 24 kB / 1.064 GB, free: 3.562 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001391/0.8275, allocations: 159.9 kB / 1.064 GB, free: 3.406 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001467/0.8277, allocations: 68.45 kB / 1.064 GB, free: 3.34 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.607e-05/0.8278, allocations: 47.91 kB / 1.064 GB, free: 3.293 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.001023/0.8288, allocations: 0.8275 MB / 1.065 GB, free: 2.461 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.01e-07/0.8288, allocations: 0 / 1.065 GB, free: 2.461 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.000974/0.8298, allocations: 347.6 kB / 1.065 GB, free: 2.121 MB / 0.795 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 (95): * Single equations (assignments): 89 * 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.00173/0.8315, allocations: 0.5356 MB / 1.066 GB, free: 1.758 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004838/0.8363, allocations: 1.587 MB / 1.067 GB, free: 176 kB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 3.737e-06/0.8364, allocations: 0 / 1.067 GB, free: 176 kB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002402/0.8388, allocations: 0.8165 MB / 1.068 GB, free: 15.36 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002537/0.8413, allocations: 0.6204 MB / 1.069 GB, free: 14.75 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005992/0.8473, allocations: 3.071 MB / 1.072 GB, free: 11.59 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008133/0.8481, allocations: 1.181 MB / 1.073 GB, free: 10.38 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006103/0.8487, allocations: 135.3 kB / 1.073 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of SimCode: time 6.91e-07/0.8487, allocations: 0 / 1.073 GB, free: 10.25 MB / 0.8106 GB Notification: Performance of Templates: time 0.03074/0.8794, allocations: 21.81 MB / 1.094 GB, free: 4.586 MB / 0.8263 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=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 11.374506264925003] Failed to read output from testmodel.py, exit status != 0: 0.8875143670011312 0.899639748 0.16456742999999996 Calling exit ...