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.001585/0.001585, allocations: 78.64 kB / 19.76 MB, free: 2.035 MB / 14.72 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.001793/0.001793, allocations: 159.3 kB / 23.01 MB, free: 4.941 MB / 14.72 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.371/1.371, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.002443/0.002443, allocations: 238.2 kB / 260 MB, free: 424 kB / 238.1 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.8875/0.8875, allocations: 138.5 MB / 455 MB, free: 15.07 MB / 430.1 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: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002913/0.002913, allocations: 111.8 kB / 0.6474 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4283/0.4312, allocations: 95.34 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.1994/0.6306, allocations: 171.4 MB / 0.9079 GB, free: 6.887 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.008945/0.6395, allocations: 5.007 MB / 0.9127 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009384/0.6405, allocations: 63.38 kB / 0.9128 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001756/0.6422, allocations: 0.8003 MB / 0.9136 GB, free: 1.004 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006099/0.6483, allocations: 2.727 MB / 0.9163 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002495/0.6508, allocations: 1.041 MB / 0.9173 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003496/0.6543, allocations: 2.742 MB / 0.9199 GB, free: 10.48 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001186/0.6555, allocations: 0.7501 MB / 0.9207 GB, free: 9.715 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002072/0.6576, allocations: 1.172 MB / 0.9218 GB, free: 8.539 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001482/0.6591, allocations: 1.023 MB / 0.9228 GB, free: 7.512 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001565/0.6592, allocations: 88 kB / 0.9229 GB, free: 7.426 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003045/0.6623, allocations: 1.496 MB / 0.9244 GB, free: 5.926 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005082/0.6628, allocations: 470.4 kB / 0.9248 GB, free: 5.465 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006626/0.6634, allocations: 0.5479 MB / 0.9253 GB, free: 4.914 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.003156/0.6666, allocations: 2.18 MB / 0.9275 GB, free: 2.727 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.171e-06/0.6666, allocations: 4 kB / 0.9275 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6666, allocations: 0 / 0.9275 GB, free: 2.723 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.556e-05/0.6666, allocations: 0 / 0.9275 GB, free: 2.723 MB / 0.7481 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.005125/0.6717, allocations: 1.958 MB / 0.9294 GB, free: 0.7227 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.116e-05/0.6718, allocations: 13.34 kB / 0.9294 GB, free: 0.7109 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005632/0.6774, allocations: 0.9041 MB / 0.9303 GB, free: 15.8 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001816/0.6792, allocations: 0.8725 MB / 0.9311 GB, free: 14.89 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.081e-05/0.6793, allocations: 77.92 kB / 0.9312 GB, free: 14.82 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001804/0.6795, allocations: 95.94 kB / 0.9313 GB, free: 14.72 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003919/0.6834, allocations: 1.587 MB / 0.9329 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.232e-05/0.6834, allocations: 0 / 0.9329 GB, free: 13.1 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001099/0.6835, allocations: 39.98 kB / 0.9329 GB, free: 13.06 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.6836, allocations: 45.98 kB / 0.9329 GB, free: 13.02 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005395/0.689, allocations: 1.858 MB / 0.9348 GB, free: 11.16 MB / 0.7637 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.007313/0.6963, allocations: 3.803 MB / 0.9385 GB, free: 7.262 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004558/0.7009, allocations: 1.527 MB / 0.94 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002429/0.7033, allocations: 0.8208 MB / 0.9408 GB, free: 4.91 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009093/0.7042, allocations: 188.8 kB / 0.9409 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00266/0.7069, allocations: 0.9305 MB / 0.9418 GB, free: 3.785 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=95): time 3.717e-06/0.7069, allocations: 0 / 0.9418 GB, free: 3.785 MB / 0.7637 GB Notification: Performance of matching and sorting (n=95): time 0.008185/0.7151, allocations: 2.471 MB / 0.9443 GB, free: 1.312 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.338e-05/0.7151, allocations: 60.41 kB / 0.9443 GB, free: 1.242 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001365/0.7165, allocations: 1.047 MB / 0.9453 GB, free: 180 kB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001541/0.7166, allocations: 41.7 kB / 0.9454 GB, free: 132 kB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005335/0.7172, allocations: 0.5718 MB / 0.9459 GB, free: 15.55 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.000334/0.7175, allocations: 341 kB / 0.9463 GB, free: 15.21 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003455/0.7179, allocations: 190.6 kB / 0.9464 GB, free: 15.02 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001732/0.718, allocations: 341.9 kB / 0.9468 GB, free: 14.68 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002331/0.7204, allocations: 0.7084 MB / 0.9475 GB, free: 13.97 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002671/0.723, allocations: 1.145 MB / 0.9486 GB, free: 12.7 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004781/0.7278, allocations: 1.569 MB / 0.9501 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.7278, allocations: 0 / 0.9501 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.00545/0.7333, allocations: 1.788 MB / 0.9519 GB, free: 9.281 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.121e-05/0.7333, allocations: 8.094 kB / 0.9519 GB, free: 9.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.253e-05/0.7333, allocations: 7.938 kB / 0.9519 GB, free: 9.266 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.578e-05/0.7333, allocations: 15.92 kB / 0.9519 GB, free: 9.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001914/0.7352, allocations: 343.9 kB / 0.9522 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.749e-05/0.7353, allocations: 15.94 kB / 0.9522 GB, free: 8.898 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001588/0.7368, allocations: 215.2 kB / 0.9524 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001167/0.737, allocations: 47.97 kB / 0.9525 GB, free: 8.641 MB / 0.7794 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.0006516/0.7376, allocations: 331.6 kB / 0.9528 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002262/0.7378, allocations: 131.1 kB / 0.9529 GB, free: 8.18 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005558/0.7434, allocations: 1.849 MB / 0.9547 GB, free: 6.324 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.888e-06/0.7434, allocations: 11.94 kB / 0.9547 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.471e-06/0.7434, allocations: 0 / 0.9547 GB, free: 6.312 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.108e-05/0.7434, allocations: 3.984 kB / 0.9547 GB, free: 6.309 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007747/0.7512, allocations: 3.134 MB / 0.9578 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-05/0.7512, allocations: 4 kB / 0.9578 GB, free: 3.078 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001791/0.753, allocations: 300 kB / 0.9581 GB, free: 2.785 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.24e-05/0.753, allocations: 15.94 kB / 0.9581 GB, free: 2.77 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001003/0.7531, allocations: 31.97 kB / 0.9581 GB, free: 2.738 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.275e-05/0.7531, allocations: 11.94 kB / 0.9582 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.688e-06/0.7531, allocations: 4 kB / 0.9582 GB, free: 2.723 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008102/0.7612, allocations: 2.901 MB / 0.961 GB, free: 15.76 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000593/0.7618, allocations: 242.9 kB / 0.9612 GB, free: 15.52 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001676/0.762, allocations: 24.12 kB / 0.9612 GB, free: 15.5 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001432/0.7634, allocations: 163.7 kB / 0.9614 GB, free: 15.34 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002088/0.7636, allocations: 72.81 kB / 0.9615 GB, free: 15.26 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001047/0.7637, allocations: 43.97 kB / 0.9615 GB, free: 15.22 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0009414/0.7646, allocations: 0.7258 MB / 0.9622 GB, free: 14.48 MB / 0.795 GB Notification: Performance of sort global known variables: time 9.1e-08/0.7646, allocations: 4 kB / 0.9622 GB, free: 14.48 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.001051/0.7657, allocations: 359.5 kB / 0.9626 GB, free: 14.13 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 (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.001876/0.7676, allocations: 0.5424 MB / 0.9631 GB, free: 13.77 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.005179/0.7728, allocations: 1.617 MB / 0.9647 GB, free: 12.15 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/0.7728, allocations: 3.938 kB / 0.9647 GB, free: 12.15 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002582/0.7753, allocations: 0.8302 MB / 0.9655 GB, free: 11.32 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.7776, allocations: 487 kB / 0.966 GB, free: 10.85 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006538/0.7842, allocations: 3.038 MB / 0.9689 GB, free: 7.73 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006907/0.7849, allocations: 0.6028 MB / 0.9695 GB, free: 7.086 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001278/0.7861, allocations: 340.3 kB / 0.9698 GB, free: 6.75 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004286/0.7866, allocations: 108.4 kB / 0.9699 GB, free: 6.645 MB / 0.795 GB Notification: Performance of SimCode: time 8.21e-07/0.7866, allocations: 0 / 0.9699 GB, free: 6.645 MB / 0.795 GB Notification: Performance of Templates: time 0.03586/0.8224, allocations: 21.13 MB / 0.9906 GB, free: 1.984 MB / 0.8106 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.961444714921527] Failed to read output from testmodel.py, exit status != 0: 0.8311278109904379 1.098236165 0.42934261999999995 Calling exit ...