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.001364/0.001364, allocations: 92.2 kB / 20.19 MB, free: 4.355 MB / 18.57 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.001559/0.001559, allocations: 169 kB / 23.49 MB, free: 1.059 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 0.9667/0.9667, allocations: 177.1 MB / 203.8 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] 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.00166/0.00166, allocations: 234.4 kB / 260.5 MB, free: 12.89 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 0.7638/0.7638, allocations: 138.4 MB / 455.4 MB, free: 1.535 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.212e-06/1.212e-06, allocations: 0 / 0.5551 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.614e-05/1.735e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.3949/0.3949, allocations: 190.9 MB / 0.7415 GB, free: 14.04 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.007207/0.4021, allocations: 5.313 MB / 0.7467 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006951/0.4028, allocations: 63.38 kB / 0.7467 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001352/0.4042, allocations: 0.8116 MB / 0.7475 GB, free: 7.832 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004558/0.4088, allocations: 2.795 MB / 0.7503 GB, free: 5.023 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002031/0.4108, allocations: 1.076 MB / 0.7513 GB, free: 3.945 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.002973/0.4138, allocations: 2.769 MB / 0.754 GB, free: 1.164 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001262/0.415, allocations: 0.799 MB / 0.7548 GB, free: 368 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002327/0.4173, allocations: 1.469 MB / 0.7562 GB, free: 14.89 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001309/0.4187, allocations: 0.9427 MB / 0.7572 GB, free: 13.94 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.0001704/0.4188, allocations: 88 kB / 0.7572 GB, free: 13.86 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002826/0.4217, allocations: 1.511 MB / 0.7587 GB, free: 12.34 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0004448/0.4221, allocations: 498.4 kB / 0.7592 GB, free: 11.85 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0005483/0.4226, allocations: 454.8 kB / 0.7596 GB, free: 11.41 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002117/0.4248, allocations: 1.88 MB / 0.7615 GB, free: 9.52 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 3.596e-06/0.4248, allocations: 0 / 0.7615 GB, free: 9.52 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.292e-06/0.4248, allocations: 0 / 0.7615 GB, free: 9.52 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.208e-05/0.4248, allocations: 0 / 0.7615 GB, free: 9.52 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.002666/0.4274, allocations: 1.98 MB / 0.7634 GB, free: 7.492 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.358e-05/0.4275, allocations: 8.75 kB / 0.7634 GB, free: 7.484 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.4299, allocations: 0.8375 MB / 0.7642 GB, free: 6.645 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.4311, allocations: 0.9103 MB / 0.7651 GB, free: 5.695 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.459e-05/0.4312, allocations: 73.98 kB / 0.7652 GB, free: 5.625 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001384/0.4313, allocations: 95.89 kB / 0.7653 GB, free: 5.531 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001718/0.433, allocations: 1.11 MB / 0.7664 GB, free: 4.375 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.097e-05/0.433, allocations: 0 / 0.7664 GB, free: 4.375 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.595e-05/0.4331, allocations: 35.98 kB / 0.7664 GB, free: 4.34 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.395e-05/0.4332, allocations: 49.98 kB / 0.7664 GB, free: 4.293 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001228/0.4344, allocations: 0.7142 MB / 0.7671 GB, free: 3.574 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.004063/0.4385, allocations: 3.669 MB / 0.7707 GB, free: 15.81 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001192/0.4397, allocations: 0.7284 MB / 0.7714 GB, free: 15.08 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004617/0.4401, allocations: 318.5 kB / 0.7717 GB, free: 14.76 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004585/0.4406, allocations: 189.5 kB / 0.7719 GB, free: 14.58 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006051/0.4412, allocations: 450.5 kB / 0.7723 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=95): time 3.095e-06/0.4412, allocations: 0 / 0.7723 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of matching and sorting (n=95): time 0.001952/0.4431, allocations: 1.085 MB / 0.7734 GB, free: 13.03 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.255e-05/0.4432, allocations: 64.34 kB / 0.7735 GB, free: 12.96 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007062/0.4439, allocations: 0.9134 MB / 0.7744 GB, free: 12.02 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.981e-05/0.444, allocations: 49.7 kB / 0.7744 GB, free: 11.97 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003486/0.4443, allocations: 0.6293 MB / 0.775 GB, free: 11.33 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002154/0.4446, allocations: 349.1 kB / 0.7753 GB, free: 10.99 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000232/0.4448, allocations: 204.1 kB / 0.7755 GB, free: 10.78 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.4449, allocations: 0.516 MB / 0.776 GB, free: 10.26 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003891/0.4453, allocations: 209.9 kB / 0.7762 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000612/0.4459, allocations: 0.7024 MB / 0.7769 GB, free: 9.203 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008384/0.4468, allocations: 0.654 MB / 0.7776 GB, free: 8.473 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.769e-06/0.4468, allocations: 4 kB / 0.7776 GB, free: 8.469 MB / 0.5886 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001245/0.448, allocations: 0.8557 MB / 0.7784 GB, free: 7.602 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.219e-05/0.448, allocations: 8.562 kB / 0.7784 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.448, allocations: 7.938 kB / 0.7784 GB, free: 7.586 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.029e-05/0.4481, allocations: 12 kB / 0.7784 GB, free: 7.574 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/0.4488, allocations: 279.5 kB / 0.7787 GB, free: 7.301 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-05/0.4488, allocations: 11.98 kB / 0.7787 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005238/0.4494, allocations: 148.2 kB / 0.7789 GB, free: 7.145 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.679e-05/0.4495, allocations: 47.97 kB / 0.7789 GB, free: 7.098 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.0002787/0.4497, allocations: 226.3 kB / 0.7791 GB, free: 6.867 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001785/0.4499, allocations: 155.2 kB / 0.7793 GB, free: 6.715 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001335/0.4512, allocations: 0.902 MB / 0.7801 GB, free: 5.809 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.504e-06/0.4512, allocations: 8 kB / 0.7802 GB, free: 5.801 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.4513, allocations: 4 kB / 0.7802 GB, free: 5.797 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.4513, allocations: 3.984 kB / 0.7802 GB, free: 5.793 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002545/0.4538, allocations: 2.046 MB / 0.7822 GB, free: 3.645 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.609e-06/0.4538, allocations: 4 kB / 0.7822 GB, free: 3.641 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006866/0.4545, allocations: 243.7 kB / 0.7824 GB, free: 3.402 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.476e-06/0.4545, allocations: 8 kB / 0.7824 GB, free: 3.395 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.335e-05/0.4546, allocations: 31.97 kB / 0.7824 GB, free: 3.363 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.005e-05/0.4546, allocations: 11.94 kB / 0.7824 GB, free: 3.352 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.04e-06/0.4546, allocations: 7.938 kB / 0.7825 GB, free: 3.344 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001742/0.4563, allocations: 1.389 MB / 0.7838 GB, free: 1.871 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000276/0.4566, allocations: 234.8 kB / 0.784 GB, free: 1.641 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001077/0.4567, allocations: 20 kB / 0.7841 GB, free: 1.621 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004756/0.4572, allocations: 107.8 kB / 0.7842 GB, free: 1.516 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001198/0.4573, allocations: 72.81 kB / 0.7842 GB, free: 1.445 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.4574, allocations: 39.97 kB / 0.7843 GB, free: 1.406 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 0.00044/0.4578, allocations: 0.5772 MB / 0.7848 GB, free: 0.8203 MB / 0.5886 GB Notification: Performance of sort global known variables: time 2.7e-07/0.4578, allocations: 4 kB / 0.7848 GB, free: 0.8164 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0007271/0.4585, allocations: 371.4 kB / 0.7852 GB, free: 464 kB / 0.5886 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.001113/0.4596, allocations: 0.4921 MB / 0.7857 GB, free: 160 kB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.001024/0.4607, allocations: 0.6668 MB / 0.7863 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.758e-06/0.4607, allocations: 256 / 0.7863 GB, free: 15.48 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0005283/0.4612, allocations: 383 kB / 0.7867 GB, free: 15.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001339/0.4625, allocations: 0.5358 MB / 0.7872 GB, free: 14.61 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003052/0.4656, allocations: 2.402 MB / 0.7896 GB, free: 12.11 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.4658, allocations: 273.6 kB / 0.7898 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0006615/0.4664, allocations: 288.4 kB / 0.7901 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002973/0.4667, allocations: 112.4 kB / 0.7902 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of SimCode: time 8.01e-07/0.4667, allocations: 0 / 0.7902 GB, free: 11.42 MB / 0.6042 GB Notification: Performance of Templates: time 0.02348/0.4902, allocations: 21.33 MB / 0.811 GB, free: 6.547 MB / 0.6198 GB " [Timeout remaining time 660] 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: 4.684692069888115]