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.001325/0.001325, allocations: 79.7 kB / 19.18 MB, free: 2.527 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.001425/0.001425, allocations: 168.1 kB / 22.46 MB, free: 5.359 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.482/1.482, allocations: 177.2 MB / 202.8 MB, free: 9.172 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.002534/0.002534, allocations: 237.6 kB / 259.4 MB, free: 480 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 1.093/1.093, allocations: 138.4 MB / 454.3 MB, free: 2.035 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: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 3.938 kB / 0.6468 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.78e-05, allocations: 6.219 kB / 0.6468 GB, free: 5.027 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.4745/0.4745, allocations: 171.2 MB / 0.814 GB, free: 5.188 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.01248/0.487, allocations: 5.028 MB / 0.8189 GB, free: 160 kB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001877/0.4889, allocations: 67.38 kB / 0.819 GB, free: 92 kB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002663/0.4915, allocations: 0.8116 MB / 0.8198 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.007907/0.4994, allocations: 2.789 MB / 0.8225 GB, free: 12.47 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003044/0.5025, allocations: 1.083 MB / 0.8235 GB, free: 11.39 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.004299/0.5068, allocations: 2.767 MB / 0.8262 GB, free: 8.617 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001779/0.5085, allocations: 0.7666 MB / 0.827 GB, free: 7.844 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003601/0.5121, allocations: 1.465 MB / 0.8284 GB, free: 6.375 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002449/0.5146, allocations: 0.9388 MB / 0.8293 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005726/0.5152, allocations: 88 kB / 0.8294 GB, free: 5.348 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003997/0.5192, allocations: 1.507 MB / 0.8309 GB, free: 3.836 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0007871/0.52, allocations: 494.3 kB / 0.8314 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001114/0.5211, allocations: 450.8 kB / 0.8318 GB, free: 2.91 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.004595/0.5257, allocations: 2.239 MB / 0.834 GB, free: 0.6641 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.5257, allocations: 4 kB / 0.834 GB, free: 0.6602 MB / 0.6544 GB Notification: Performance of FrontEnd: time 3.516e-06/0.5257, allocations: 4 kB / 0.834 GB, free: 0.6562 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.446e-05/0.5257, allocations: 0 / 0.834 GB, free: 0.6562 MB / 0.6544 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.006392/0.5321, allocations: 1.942 MB / 0.8359 GB, free: 14.66 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.899e-05/0.5322, allocations: 13.94 kB / 0.8359 GB, free: 14.65 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00634/0.5385, allocations: 0.9002 MB / 0.8368 GB, free: 13.75 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002261/0.5408, allocations: 0.8725 MB / 0.8376 GB, free: 12.84 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.119e-05/0.5409, allocations: 70 kB / 0.8377 GB, free: 12.77 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000336/0.5412, allocations: 99.69 kB / 0.8378 GB, free: 12.68 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004766/0.546, allocations: 1.591 MB / 0.8393 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.546, allocations: 0 / 0.8393 GB, free: 11.05 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001518/0.5462, allocations: 35.98 kB / 0.8394 GB, free: 11.02 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.42e-05/0.5462, allocations: 49.97 kB / 0.8394 GB, free: 10.97 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006238/0.5525, allocations: 1.866 MB / 0.8413 GB, free: 9.098 MB / 0.67 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.008963/0.5614, allocations: 3.799 MB / 0.845 GB, free: 5.227 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005331/0.5668, allocations: 1.526 MB / 0.8465 GB, free: 3.691 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002715/0.5695, allocations: 0.8194 MB / 0.8473 GB, free: 2.871 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001046/0.5705, allocations: 188.8 kB / 0.8474 GB, free: 2.684 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002987/0.5735, allocations: 0.9183 MB / 0.8483 GB, free: 1.754 MB / 0.67 GB Notification: Performance of pre-optimization done (n=95): time 3.446e-06/0.5735, allocations: 0 / 0.8483 GB, free: 1.754 MB / 0.67 GB Notification: Performance of matching and sorting (n=95): time 0.009211/0.5827, allocations: 2.479 MB / 0.8508 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001493/0.5829, allocations: 60.41 kB / 0.8508 GB, free: 15.2 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001777/0.5846, allocations: 1.051 MB / 0.8518 GB, free: 14.12 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001611/0.5848, allocations: 41.7 kB / 0.8519 GB, free: 14.08 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006656/0.5855, allocations: 0.5717 MB / 0.8524 GB, free: 13.5 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004318/0.5859, allocations: 333.1 kB / 0.8528 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000431/0.5863, allocations: 194.5 kB / 0.8529 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.000197/0.5865, allocations: 341.9 kB / 0.8533 GB, free: 12.64 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002604/0.5891, allocations: 0.7122 MB / 0.854 GB, free: 11.93 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002964/0.5921, allocations: 1.145 MB / 0.8551 GB, free: 10.66 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005284/0.5974, allocations: 1.562 MB / 0.8566 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.846e-06/0.5974, allocations: 2.344 kB / 0.8566 GB, free: 9.039 MB / 0.6856 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.006041/0.6034, allocations: 1.789 MB / 0.8583 GB, free: 7.238 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 3.318e-05/0.6035, allocations: 11.94 kB / 0.8584 GB, free: 7.227 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.6035, allocations: 4 kB / 0.8584 GB, free: 7.223 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.383e-05/0.6035, allocations: 8 kB / 0.8584 GB, free: 7.215 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001989/0.6055, allocations: 339.7 kB / 0.8587 GB, free: 6.883 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.887e-05/0.6055, allocations: 11.98 kB / 0.8587 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001768/0.6073, allocations: 211.9 kB / 0.8589 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001528/0.6075, allocations: 47.97 kB / 0.859 GB, free: 6.617 MB / 0.6856 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.0007449/0.6082, allocations: 342 kB / 0.8593 GB, free: 6.277 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000348/0.6085, allocations: 123.2 kB / 0.8594 GB, free: 6.156 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00637/0.6149, allocations: 1.856 MB / 0.8612 GB, free: 4.301 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.99e-05/0.6149, allocations: 23.97 kB / 0.8612 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.702e-06/0.6149, allocations: 0 / 0.8612 GB, free: 4.277 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.615, allocations: 3.984 kB / 0.8612 GB, free: 4.273 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008763/0.6237, allocations: 3.115 MB / 0.8643 GB, free: 1.074 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.6237, allocations: 4 kB / 0.8643 GB, free: 1.07 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001914/0.6256, allocations: 304 kB / 0.8646 GB, free: 0.7734 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.467e-05/0.6257, allocations: 11.98 kB / 0.8646 GB, free: 0.7617 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001229/0.6258, allocations: 31.97 kB / 0.8646 GB, free: 0.7305 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.677e-05/0.6258, allocations: 15.94 kB / 0.8646 GB, free: 0.7148 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.654e-06/0.6258, allocations: 7.938 kB / 0.8646 GB, free: 0.707 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009054/0.6349, allocations: 2.889 MB / 0.8675 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007279/0.6356, allocations: 246.9 kB / 0.8677 GB, free: 13.51 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002919/0.6359, allocations: 23.81 kB / 0.8677 GB, free: 13.49 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001689/0.6376, allocations: 162.8 kB / 0.8679 GB, free: 13.33 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002013/0.6378, allocations: 72.81 kB / 0.8679 GB, free: 13.26 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001266/0.6379, allocations: 47.91 kB / 0.868 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001216/0.6391, allocations: 0.7218 MB / 0.8687 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of sort global known variables: time 9e-08/0.6391, allocations: 0 / 0.8687 GB, free: 12.48 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001353/0.6405, allocations: 371.4 kB / 0.869 GB, free: 12.12 MB / 0.7012 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.002218/0.6427, allocations: 0.5404 MB / 0.8696 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.005775/0.6485, allocations: 1.617 MB / 0.8712 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.701e-06/0.6485, allocations: 0 / 0.8712 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.002826/0.6513, allocations: 0.8302 MB / 0.872 GB, free: 9.344 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002924/0.6542, allocations: 487 kB / 0.8724 GB, free: 8.883 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00775/0.662, allocations: 2.905 MB / 0.8753 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001037/0.663, allocations: 0.6105 MB / 0.8759 GB, free: 5.25 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001485/0.6645, allocations: 328.3 kB / 0.8762 GB, free: 4.926 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00058/0.6651, allocations: 108.4 kB / 0.8763 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of SimCode: time 1.553e-06/0.6651, allocations: 0 / 0.8763 GB, free: 4.82 MB / 0.7012 GB Notification: Performance of Templates: time 0.03962/0.7047, allocations: 20.94 MB / 0.8967 GB, free: 340 kB / 0.7169 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.120602410286665] Failed to read output from testmodel.py, exit status != 0: 0.7138603776693344 0.728623237 0.19970588599999994 Calling exit ...