Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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.001577/0.001577, allocations: 78.09 kB / 19.76 MB, free: 1.875 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.001765/0.001765, allocations: 156 kB / 23.01 MB, free: 4.605 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.358/1.358, allocations: 177.2 MB / 203.4 MB, free: 8.973 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.002454/0.002454, allocations: 234 kB / 260 MB, free: 448 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.8806/0.8806, allocations: 138.5 MB / 455 MB, free: 15.09 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_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly") [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.002951/0.002951, allocations: 102.4 kB / 0.6474 GB, free: 7.574 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4376/0.4405, allocations: 95.34 MB / 0.7405 GB, free: 17.46 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.2091/0.6497, allocations: 171.4 MB / 0.9078 GB, free: 6.945 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009448/0.6591, allocations: 4.995 MB / 0.9127 GB, free: 1.938 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001058/0.6602, allocations: 67.38 kB / 0.9128 GB, free: 1.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001887/0.6621, allocations: 0.8042 MB / 0.9136 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.006501/0.6686, allocations: 2.732 MB / 0.9162 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002411/0.671, allocations: 1.025 MB / 0.9172 GB, free: 13.3 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003373/0.6744, allocations: 2.668 MB / 0.9199 GB, free: 10.62 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001204/0.6756, allocations: 0.7174 MB / 0.9206 GB, free: 9.887 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002147/0.6777, allocations: 1.144 MB / 0.9217 GB, free: 8.738 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001575/0.6793, allocations: 0.9883 MB / 0.9226 GB, free: 7.746 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001614/0.6794, allocations: 84 kB / 0.9227 GB, free: 7.664 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003054/0.6825, allocations: 1.48 MB / 0.9242 GB, free: 6.18 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0005714/0.6831, allocations: 458.4 kB / 0.9246 GB, free: 5.73 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.000756/0.6838, allocations: 0.5284 MB / 0.9251 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.6873, allocations: 2.121 MB / 0.9272 GB, free: 3.07 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.6873, allocations: 4 kB / 0.9272 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.452e-06/0.6873, allocations: 0 / 0.9272 GB, free: 3.066 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.788e-05/0.6873, allocations: 0 / 0.9272 GB, free: 3.066 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005066/0.6924, allocations: 1.931 MB / 0.9291 GB, free: 1.098 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.331e-05/0.6925, allocations: 13.34 kB / 0.9291 GB, free: 1.086 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003906/0.6964, allocations: 0.6623 MB / 0.9297 GB, free: 432 kB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001733/0.6981, allocations: 0.8568 MB / 0.9306 GB, free: 15.52 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.924e-05/0.6982, allocations: 70 kB / 0.9306 GB, free: 15.45 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001708/0.6983, allocations: 80 kB / 0.9307 GB, free: 15.38 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00321/0.7015, allocations: 1.485 MB / 0.9322 GB, free: 13.82 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.739e-05/0.7016, allocations: 7.938 kB / 0.9322 GB, free: 13.81 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001013/0.7017, allocations: 35.98 kB / 0.9322 GB, free: 13.77 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.388e-05/0.7017, allocations: 49.98 kB / 0.9323 GB, free: 13.72 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004108/0.7058, allocations: 1.537 MB / 0.9338 GB, free: 12.18 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.007479/0.7133, allocations: 4.566 MB / 0.9382 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003812/0.7171, allocations: 1.257 MB / 0.9394 GB, free: 6.211 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001742/0.7189, allocations: 0.6273 MB / 0.9401 GB, free: 5.578 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006914/0.7196, allocations: 128.5 kB / 0.9402 GB, free: 5.453 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001938/0.7215, allocations: 0.7185 MB / 0.9409 GB, free: 4.727 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=80): time 3.276e-06/0.7215, allocations: 4.375 kB / 0.9409 GB, free: 4.723 MB / 0.7637 GB Notification: Performance of matching and sorting (n=80): time 0.005842/0.7274, allocations: 1.886 MB / 0.9427 GB, free: 2.832 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.14e-05/0.7274, allocations: 64.06 kB / 0.9428 GB, free: 2.758 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.729, allocations: 1.093 MB / 0.9439 GB, free: 1.648 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001023/0.7291, allocations: 49.7 kB / 0.9439 GB, free: 1.594 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006225/0.7297, allocations: 0.6024 MB / 0.9445 GB, free: 0.9844 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003083/0.73, allocations: 289.6 kB / 0.9448 GB, free: 0.6992 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003165/0.7303, allocations: 186.5 kB / 0.9449 GB, free: 0.5117 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 0.0001858/0.7305, allocations: 345.9 kB / 0.9453 GB, free: 172 kB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001721/0.7322, allocations: 0.5406 MB / 0.9458 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002073/0.7343, allocations: 1.068 MB / 0.9468 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003497/0.7378, allocations: 1.328 MB / 0.9481 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.7378, allocations: 7.984 kB / 0.9481 GB, free: 12.96 MB / 0.7794 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004056/0.7418, allocations: 1.492 MB / 0.9496 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.611e-05/0.7419, allocations: 18.84 kB / 0.9496 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.114e-05/0.7419, allocations: 12.03 kB / 0.9496 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.481e-05/0.7419, allocations: 12 kB / 0.9496 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.7434, allocations: 303.4 kB / 0.9499 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.139e-05/0.7434, allocations: 19.94 kB / 0.95 GB, free: 11.1 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001222/0.7446, allocations: 179.3 kB / 0.9501 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001022/0.7447, allocations: 47.97 kB / 0.9502 GB, free: 10.88 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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 (117): * Single equations (assignments): 117 * 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.0005471/0.7453, allocations: 340.1 kB / 0.9505 GB, free: 10.54 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001944/0.7455, allocations: 135.1 kB / 0.9506 GB, free: 10.41 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004097/0.7496, allocations: 1.451 MB / 0.952 GB, free: 8.945 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.538e-06/0.7496, allocations: 8 kB / 0.952 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.7496, allocations: 0 / 0.952 GB, free: 8.938 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.7496, allocations: 3.984 kB / 0.9521 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005959/0.7555, allocations: 2.634 MB / 0.9546 GB, free: 6.211 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.404e-06/0.7555, allocations: 4 kB / 0.9546 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001279/0.7568, allocations: 224.2 kB / 0.9548 GB, free: 5.988 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.07e-05/0.7568, allocations: 12 kB / 0.9549 GB, free: 5.977 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.275e-05/0.7569, allocations: 35.91 kB / 0.9549 GB, free: 5.941 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.095e-05/0.7569, allocations: 11.94 kB / 0.9549 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.7569, allocations: 4 kB / 0.9549 GB, free: 5.926 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005845/0.7628, allocations: 2.31 MB / 0.9572 GB, free: 3.555 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005008/0.7633, allocations: 218.9 kB / 0.9574 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001462/0.7634, allocations: 31.94 kB / 0.9574 GB, free: 3.309 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001061/0.7645, allocations: 119.8 kB / 0.9575 GB, free: 3.191 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.7646, allocations: 60.5 kB / 0.9576 GB, free: 3.133 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.61e-05/0.7647, allocations: 39.97 kB / 0.9576 GB, free: 3.094 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0009353/0.7656, allocations: 0.7426 MB / 0.9583 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.7656, allocations: 0 / 0.9583 GB, free: 2.344 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001019/0.7667, allocations: 343.4 kB / 0.9587 GB, free: 2.008 MB / 0.7794 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,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 (86): * Single equations (assignments): 80 * 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.001805/0.7685, allocations: 0.5386 MB / 0.9592 GB, free: 1.652 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.003768/0.7722, allocations: 1.278 MB / 0.9604 GB, free: 380 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.547e-06/0.7722, allocations: 4.25 kB / 0.9604 GB, free: 376 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.001832/0.7741, allocations: 0.6407 MB / 0.9611 GB, free: 15.73 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002078/0.7761, allocations: 471.3 kB / 0.9615 GB, free: 15.29 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005227/0.7814, allocations: 2.623 MB / 0.9641 GB, free: 12.58 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006743/0.782, allocations: 0.6018 MB / 0.9647 GB, free: 11.94 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.001078/0.7831, allocations: 304.3 kB / 0.965 GB, free: 11.64 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003521/0.7835, allocations: 104.5 kB / 0.9651 GB, free: 11.54 MB / 0.795 GB Notification: Performance of SimCode: time 6.41e-07/0.7835, allocations: 3.938 kB / 0.9651 GB, free: 11.54 MB / 0.795 GB Notification: Performance of Templates: time 0.03282/0.8163, allocations: 19.48 MB / 0.9841 GB, free: 8.52 MB / 0.8106 GB " [Timeout remaining time 659] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly -abortSlowSimulation -alarm=480 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.8694202760234475] Failed to read output from testmodel.py, exit status != 0: 0.8243550370680168 1.091137053 0.40143404499999996 Calling exit ...