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.001066/0.001066, allocations: 93.06 kB / 19.65 MB, free: 276 kB / 13.93 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.000986/0.000986, allocations: 169 kB / 23.02 MB, free: 1.547 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 1.047/1.047, allocations: 177.1 MB / 203.4 MB, free: 5.633 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.002379/0.002379, allocations: 234.1 kB / 260.2 MB, free: 12.82 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.7401/0.7401, allocations: 138.4 MB / 455.2 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.572e-06/1.572e-06, allocations: 0 / 0.5551 GB, free: 0.5 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.067e-05, allocations: 2.312 kB / 0.5551 GB, free: 0.4961 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.3564/0.3564, allocations: 150.6 MB / 0.7022 GB, free: 6.219 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005373/0.3618, allocations: 3.849 MB / 0.706 GB, free: 2.375 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009482/0.3627, allocations: 71.38 kB / 0.7061 GB, free: 2.305 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0009225/0.3637, allocations: 0.5281 MB / 0.7066 GB, free: 1.773 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002067/0.3657, allocations: 1.313 MB / 0.7079 GB, free: 464 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001834/0.3676, allocations: 1.087 MB / 0.7089 GB, free: 15.36 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002682/0.3702, allocations: 2.745 MB / 0.7116 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001316/0.3716, allocations: 0.7933 MB / 0.7124 GB, free: 11.81 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.3735, allocations: 1.434 MB / 0.7138 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000998/0.3745, allocations: 0.8647 MB / 0.7146 GB, free: 9.504 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.3747, allocations: 84 kB / 0.7147 GB, free: 9.422 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008103/0.3755, allocations: 415.1 kB / 0.7151 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003391/0.3758, allocations: 494.4 kB / 0.7156 GB, free: 8.531 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004279/0.3763, allocations: 446.8 kB / 0.716 GB, free: 8.094 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001395/0.3777, allocations: 1.292 MB / 0.7173 GB, free: 6.797 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3777, allocations: 4 kB / 0.7173 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.082e-06/0.3777, allocations: 0 / 0.7173 GB, free: 6.793 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.953e-05/0.3777, allocations: 0 / 0.7173 GB, free: 6.793 MB / 0.5261 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.002691/0.3804, allocations: 1.888 MB / 0.7191 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.204e-05/0.3804, allocations: 8.75 kB / 0.7191 GB, free: 4.852 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002194/0.3826, allocations: 0.7876 MB / 0.7199 GB, free: 4.062 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.3837, allocations: 0.9195 MB / 0.7208 GB, free: 3.098 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.41e-05/0.3837, allocations: 70.38 kB / 0.7209 GB, free: 3.031 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001186/0.3838, allocations: 91.94 kB / 0.7209 GB, free: 2.941 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001492/0.3853, allocations: 1.059 MB / 0.722 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.682e-05/0.3853, allocations: 4 kB / 0.722 GB, free: 1.832 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.274e-05/0.3854, allocations: 35.98 kB / 0.722 GB, free: 1.797 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.506e-05/0.3855, allocations: 45.98 kB / 0.7221 GB, free: 1.754 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001093/0.3866, allocations: 0.6947 MB / 0.7227 GB, free: 1.055 MB / 0.5261 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.003769/0.3903, allocations: 3.602 MB / 0.7263 GB, free: 13.37 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3914, allocations: 0.6836 MB / 0.7269 GB, free: 12.68 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004079/0.3918, allocations: 320.1 kB / 0.7272 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002238/0.392, allocations: 64.94 kB / 0.7273 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000563/0.3926, allocations: 446.5 kB / 0.7277 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=95): time 2.896e-06/0.3926, allocations: 0 / 0.7277 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of matching and sorting (n=95): time 0.001953/0.3945, allocations: 1.066 MB / 0.7288 GB, free: 10.78 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.869e-05/0.3946, allocations: 72.28 kB / 0.7288 GB, free: 10.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006759/0.3952, allocations: 0.9173 MB / 0.7297 GB, free: 9.762 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.338e-05/0.3953, allocations: 41.7 kB / 0.7298 GB, free: 9.715 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003233/0.3956, allocations: 0.6254 MB / 0.7304 GB, free: 9.082 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.000203/0.3958, allocations: 341.1 kB / 0.7307 GB, free: 8.746 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002248/0.3961, allocations: 196.2 kB / 0.7309 GB, free: 8.547 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000123/0.3962, allocations: 0.5199 MB / 0.7314 GB, free: 8.02 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003586/0.3965, allocations: 213.9 kB / 0.7316 GB, free: 7.809 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005392/0.3971, allocations: 0.694 MB / 0.7323 GB, free: 6.973 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007973/0.3979, allocations: 0.6462 MB / 0.7329 GB, free: 6.25 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.909e-06/0.3979, allocations: 4 kB / 0.7329 GB, free: 6.246 MB / 0.5417 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001142/0.399, allocations: 0.8441 MB / 0.7337 GB, free: 5.391 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.942e-05/0.399, allocations: 8 kB / 0.7337 GB, free: 5.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.017e-06/0.3991, allocations: 8.406 kB / 0.7338 GB, free: 5.375 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.981e-05/0.3991, allocations: 8 kB / 0.7338 GB, free: 5.367 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006857/0.3998, allocations: 259.6 kB / 0.734 GB, free: 5.113 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.315e-05/0.3998, allocations: 12 kB / 0.734 GB, free: 5.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00048/0.4003, allocations: 135.3 kB / 0.7342 GB, free: 4.969 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.835e-05/0.4003, allocations: 47.97 kB / 0.7342 GB, free: 4.922 MB / 0.5417 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.0002433/0.4006, allocations: 214.3 kB / 0.7344 GB, free: 4.703 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001622/0.4007, allocations: 159.2 kB / 0.7346 GB, free: 4.547 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001312/0.402, allocations: 0.8898 MB / 0.7354 GB, free: 3.648 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.402, allocations: 12 kB / 0.7354 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4021, allocations: 0 / 0.7354 GB, free: 3.637 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.234e-06/0.4021, allocations: 7.984 kB / 0.7354 GB, free: 3.629 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002326/0.4044, allocations: 2.006 MB / 0.7374 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.719e-06/0.4044, allocations: 8.031 kB / 0.7374 GB, free: 1.512 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/0.405, allocations: 211.6 kB / 0.7376 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.797e-06/0.405, allocations: 8 kB / 0.7376 GB, free: 1.297 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.958e-05/0.4051, allocations: 31.97 kB / 0.7376 GB, free: 1.266 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.4051, allocations: 15.56 kB / 0.7377 GB, free: 1.254 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/0.4051, allocations: 11.94 kB / 0.7377 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001609/0.4067, allocations: 1.365 MB / 0.739 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002751/0.407, allocations: 226.9 kB / 0.7392 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001066/0.4071, allocations: 24 kB / 0.7392 GB, free: 15.55 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004117/0.4075, allocations: 79.86 kB / 0.7393 GB, free: 15.47 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001095/0.4076, allocations: 76.81 kB / 0.7394 GB, free: 15.39 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.904e-05/0.4076, allocations: 43.97 kB / 0.7394 GB, free: 15.35 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0004574/0.4081, allocations: 0.5694 MB / 0.74 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.4081, allocations: 0 / 0.74 GB, free: 14.77 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0007836/0.4089, allocations: 375.3 kB / 0.7404 GB, free: 14.41 MB / 0.5573 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.001175/0.4101, allocations: 454.9 kB / 0.7408 GB, free: 14.16 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001083/0.4111, allocations: 0.6668 MB / 0.7414 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4111, allocations: 0 / 0.7414 GB, free: 13.49 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0006249/0.4118, allocations: 376.3 kB / 0.7418 GB, free: 13.12 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001296/0.4131, allocations: 0.5248 MB / 0.7423 GB, free: 12.63 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003094/0.4162, allocations: 2.392 MB / 0.7446 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.4163, allocations: 273.6 kB / 0.7449 GB, free: 9.844 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000729/0.4171, allocations: 292.3 kB / 0.7452 GB, free: 9.555 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003046/0.4174, allocations: 108.5 kB / 0.7453 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of SimCode: time 1.483e-06/0.4174, allocations: 0 / 0.7453 GB, free: 9.445 MB / 0.5573 GB Notification: Performance of Templates: time 0.0253/0.4427, allocations: 21.72 MB / 0.7665 GB, free: 4.203 MB / 0.573 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.682562301401049]