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.001429/0.001429, allocations: 78.81 kB / 19 MB, free: 2.867 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.001517/0.001517, allocations: 163.5 kB / 22.26 MB, free: 5.133 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.444/1.444, allocations: 177.2 MB / 202.6 MB, free: 9.273 MB / 190.1 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.002738/0.002738, allocations: 247.9 kB / 259.3 MB, free: 0.5898 MB / 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 1.078/1.078, allocations: 138.5 MB / 454.2 MB, free: 2.008 MB / 366.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.003048/0.003048, allocations: 99.86 kB / 0.6466 GB, free: 5.16 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.394/0.3971, allocations: 95.35 MB / 0.7397 GB, free: 15.01 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.2135/0.6106, allocations: 171.2 MB / 0.907 GB, free: 3.145 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.009851/0.6204, allocations: 5.011 MB / 0.9118 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001428/0.6219, allocations: 63.44 kB / 0.9119 GB, free: 14.06 MB / 0.7481 GB Notification: Performance of NFTyping.typeComponents: time 0.002103/0.624, allocations: 0.8042 MB / 0.9127 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of NFTyping.typeBindings: time 0.007241/0.6312, allocations: 2.731 MB / 0.9154 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of NFTyping.typeClassSections: time 0.002882/0.6341, allocations: 1.038 MB / 0.9164 GB, free: 9.473 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.003871/0.638, allocations: 2.723 MB / 0.919 GB, free: 6.742 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001409/0.6394, allocations: 0.7579 MB / 0.9198 GB, free: 5.969 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002465/0.6418, allocations: 1.519 MB / 0.9213 GB, free: 4.445 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001384/0.6432, allocations: 1.023 MB / 0.9223 GB, free: 3.418 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0001492/0.6434, allocations: 88 kB / 0.9223 GB, free: 3.332 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003091/0.6465, allocations: 1.492 MB / 0.9238 GB, free: 1.836 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0004948/0.647, allocations: 474.3 kB / 0.9242 GB, free: 1.371 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0006162/0.6476, allocations: 0.5441 MB / 0.9248 GB, free: 0.8242 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.002835/0.6504, allocations: 2.179 MB / 0.9269 GB, free: 14.64 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 6.092e-06/0.6504, allocations: 4 kB / 0.9269 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.312e-06/0.6504, allocations: 0 / 0.9269 GB, free: 14.63 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 1.577e-05/0.6504, allocations: 0 / 0.9269 GB, free: 14.63 MB / 0.7637 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.005294/0.6557, allocations: 1.965 MB / 0.9288 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.129e-05/0.6558, allocations: 9.344 kB / 0.9288 GB, free: 12.62 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005739/0.6615, allocations: 0.9002 MB / 0.9297 GB, free: 11.71 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.6631, allocations: 0.8725 MB / 0.9306 GB, free: 10.8 MB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.807e-05/0.6632, allocations: 70 kB / 0.9306 GB, free: 10.73 MB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001987/0.6634, allocations: 99.94 kB / 0.9307 GB, free: 10.64 MB / 0.7637 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004022/0.6674, allocations: 1.591 MB / 0.9323 GB, free: 9.012 MB / 0.7637 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.58e-05/0.6674, allocations: 3.938 kB / 0.9323 GB, free: 9.008 MB / 0.7637 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001255/0.6675, allocations: 39.97 kB / 0.9323 GB, free: 8.969 MB / 0.7637 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.33e-05/0.6676, allocations: 49.98 kB / 0.9324 GB, free: 8.922 MB / 0.7637 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005591/0.6732, allocations: 1.854 MB / 0.9342 GB, free: 7.062 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.007408/0.6806, allocations: 3.799 MB / 0.9379 GB, free: 3.172 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004751/0.6854, allocations: 1.53 MB / 0.9394 GB, free: 1.641 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002469/0.6878, allocations: 0.8155 MB / 0.9402 GB, free: 0.8203 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009849/0.6888, allocations: 196.8 kB / 0.9404 GB, free: 0.6289 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3646/1.053, allocations: 0.9155 MB / 0.9413 GB, free: 200.6 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=95): time 3.777e-06/1.053, allocations: 8.562 kB / 0.9413 GB, free: 200.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=95): time 0.008087/1.061, allocations: 2.463 MB / 0.9437 GB, free: 200.4 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.001e-05/1.061, allocations: 62.3 kB / 0.9437 GB, free: 200.3 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/1.063, allocations: 1.051 MB / 0.9448 GB, free: 199.9 MB / 0.7637 GB Notification: Performance of collectPreVariables (initialization): time 0.0001019/1.063, allocations: 44.41 kB / 0.9448 GB, free: 199.9 MB / 0.7637 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003809/1.063, allocations: 0.5712 MB / 0.9454 GB, free: 199.6 MB / 0.7637 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002571/1.064, allocations: 343.3 kB / 0.9457 GB, free: 199.4 MB / 0.7637 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003631/1.064, allocations: 191.8 kB / 0.9459 GB, free: 199.3 MB / 0.7637 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/1.064, allocations: 344.1 kB / 0.9462 GB, free: 198.9 MB / 0.7637 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002319/1.066, allocations: 0.7099 MB / 0.9469 GB, free: 198.8 MB / 0.7637 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002602/1.069, allocations: 1.139 MB / 0.948 GB, free: 198.1 MB / 0.7637 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004934/1.074, allocations: 1.572 MB / 0.9495 GB, free: 197.6 MB / 0.7637 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/1.074, allocations: 1.5 kB / 0.9495 GB, free: 197.6 MB / 0.7637 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.005508/1.079, allocations: 1.781 MB / 0.9513 GB, free: 197.1 MB / 0.7637 GB Notification: Performance of prepare postOptimizeDAE: time 1.909e-05/1.079, allocations: 7.875 kB / 0.9513 GB, free: 197.1 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/1.079, allocations: 3.969 kB / 0.9513 GB, free: 197.1 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.265e-05/1.079, allocations: 7.938 kB / 0.9513 GB, free: 197.1 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00172/1.081, allocations: 343.5 kB / 0.9516 GB, free: 197 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.45e-05/1.081, allocations: 16.39 kB / 0.9517 GB, free: 197 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001473/1.083, allocations: 211.5 kB / 0.9519 GB, free: 197 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001024/1.083, allocations: 53.73 kB / 0.9519 GB, free: 197 MB / 0.7637 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.0004772/1.083, allocations: 340.5 kB / 0.9522 GB, free: 196.8 MB / 0.7637 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001668/1.083, allocations: 123.1 kB / 0.9523 GB, free: 196.7 MB / 0.7637 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004664/1.088, allocations: 1.851 MB / 0.9542 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.05e-05/1.088, allocations: 10.95 kB / 0.9542 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.925e-06/1.088, allocations: 0 / 0.9542 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.176e-05/1.088, allocations: 3.047 kB / 0.9542 GB, free: 196.1 MB / 0.7637 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00636/1.094, allocations: 3.135 MB / 0.9572 GB, free: 193.3 MB / 0.7637 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.034e-06/1.094, allocations: 6.25 kB / 0.9572 GB, free: 193.3 MB / 0.7637 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001606/1.096, allocations: 300 kB / 0.9575 GB, free: 193 MB / 0.7637 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-06/1.096, allocations: 8 kB / 0.9575 GB, free: 193 MB / 0.7637 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.064e-05/1.096, allocations: 37.83 kB / 0.9576 GB, free: 193 MB / 0.7637 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.153e-05/1.096, allocations: 15.92 kB / 0.9576 GB, free: 193 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.096, allocations: 4 kB / 0.9576 GB, free: 193 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006552/1.103, allocations: 2.9 MB / 0.9604 GB, free: 190 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000459/1.103, allocations: 241.5 kB / 0.9606 GB, free: 189.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001547/1.103, allocations: 24 kB / 0.9607 GB, free: 189.8 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001351/1.105, allocations: 159.7 kB / 0.9608 GB, free: 189.6 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001564/1.105, allocations: 79.05 kB / 0.9609 GB, free: 189.5 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/1.105, allocations: 43.97 kB / 0.9609 GB, free: 189.5 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.0007066/1.106, allocations: 0.7218 MB / 0.9616 GB, free: 188.8 MB / 0.7637 GB Notification: Performance of sort global known variables: time 8.1e-08/1.106, allocations: 0 / 0.9616 GB, free: 188.8 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.001059/1.107, allocations: 367.4 kB / 0.962 GB, free: 188.4 MB / 0.7637 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.001782/1.108, allocations: 0.5467 MB / 0.9625 GB, free: 188.1 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.004332/1.113, allocations: 1.612 MB / 0.9641 GB, free: 186.5 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.113, allocations: 0 / 0.9641 GB, free: 186.5 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.00215/1.115, allocations: 0.8332 MB / 0.9649 GB, free: 185.7 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/1.117, allocations: 493.2 kB / 0.9654 GB, free: 185.2 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005026/1.122, allocations: 3.038 MB / 0.9684 GB, free: 182.1 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/1.122, allocations: 0.6067 MB / 0.9689 GB, free: 181.5 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001003/1.123, allocations: 336.3 kB / 0.9693 GB, free: 181.2 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000444/1.124, allocations: 108.4 kB / 0.9694 GB, free: 181.1 MB / 0.7637 GB Notification: Performance of SimCode: time 1.132e-06/1.124, allocations: 0 / 0.9694 GB, free: 181.1 MB / 0.7637 GB Notification: Performance of Templates: time 0.02708/1.151, allocations: 21.12 MB / 0.99 GB, free: 160.4 MB / 0.7637 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: 7.363405914977193] Failed to read output from testmodel.py, exit status != 0: 1.1590147875249386 1.16733797 0.514683412 Calling exit ...