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.0008773/0.0008773, allocations: 73.09 kB / 20.65 MB, free: 3.852 MB / 18.57 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.0008885/0.0008885, allocations: 169 kB / 24.06 MB, free: 460 kB / 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.01/1.01, allocations: 177.1 MB / 204.5 MB, free: 5.523 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.001706/0.001706, allocations: 247.7 kB / 261.3 MB, free: 12.68 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.7204/0.7204, allocations: 138.4 MB / 456.3 MB, free: 1.406 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 3.025e-06/3.025e-06, allocations: 7.922 kB / 0.5564 GB, free: 224 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.352e-05/2.655e-05, allocations: 6.25 kB / 0.5564 GB, free: 216 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.3618/0.3618, allocations: 147.8 MB / 0.7008 GB, free: 8.367 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.006273/0.3681, allocations: 3.827 MB / 0.7045 GB, free: 4.547 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.3692, allocations: 71.38 kB / 0.7046 GB, free: 4.477 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.000966/0.3701, allocations: 0.5203 MB / 0.7051 GB, free: 3.953 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002497/0.3726, allocations: 1.317 MB / 0.7064 GB, free: 2.629 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.002811/0.3754, allocations: 1.087 MB / 0.7074 GB, free: 1.539 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.004084/0.3795, allocations: 2.748 MB / 0.7101 GB, free: 14.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001341/0.3809, allocations: 0.7894 MB / 0.7109 GB, free: 13.98 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002092/0.383, allocations: 1.43 MB / 0.7123 GB, free: 12.55 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001108/0.3841, allocations: 0.8569 MB / 0.7131 GB, free: 11.69 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0002143/0.3843, allocations: 88 kB / 0.7132 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009103/0.3852, allocations: 423 kB / 0.7136 GB, free: 11.19 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003759/0.3856, allocations: 494.4 kB / 0.7141 GB, free: 10.71 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0005052/0.3861, allocations: 450.8 kB / 0.7145 GB, free: 10.27 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00162/0.3877, allocations: 1.285 MB / 0.7157 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3877, allocations: 0 / 0.7157 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.292e-06/0.3877, allocations: 3.938 kB / 0.7157 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.372e-05/0.3877, allocations: 0 / 0.7157 GB, free: 8.973 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.003222/0.391, allocations: 1.899 MB / 0.7176 GB, free: 7.027 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/0.391, allocations: 8.75 kB / 0.7176 GB, free: 7.02 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002325/0.3933, allocations: 0.7954 MB / 0.7184 GB, free: 6.223 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001101/0.3944, allocations: 0.8999 MB / 0.7193 GB, free: 5.277 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.064e-05/0.3945, allocations: 66.38 kB / 0.7193 GB, free: 5.215 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.3946, allocations: 99.92 kB / 0.7194 GB, free: 5.117 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001321/0.3959, allocations: 0.9654 MB / 0.7204 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.985e-05/0.396, allocations: 4 kB / 0.7204 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.848e-05/0.396, allocations: 36 kB / 0.7204 GB, free: 4.066 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.878e-05/0.3961, allocations: 53.92 kB / 0.7205 GB, free: 4.016 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007832/0.3969, allocations: 0.5561 MB / 0.721 GB, free: 3.457 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.004144/0.401, allocations: 3.394 MB / 0.7243 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009242/0.4019, allocations: 0.618 MB / 0.7249 GB, free: 15.36 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003216/0.4023, allocations: 268.1 kB / 0.7252 GB, free: 15.1 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000226/0.4025, allocations: 68.94 kB / 0.7252 GB, free: 15.03 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004851/0.403, allocations: 394.5 kB / 0.7256 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=95): time 3.106e-06/0.403, allocations: 0 / 0.7256 GB, free: 14.63 MB / 0.5417 GB Notification: Performance of matching and sorting (n=95): time 0.001641/0.4046, allocations: 0.9411 MB / 0.7265 GB, free: 13.68 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/0.4047, allocations: 60.41 kB / 0.7266 GB, free: 13.61 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/0.4053, allocations: 0.901 MB / 0.7275 GB, free: 12.69 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.245e-05/0.4054, allocations: 45.7 kB / 0.7275 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/0.4057, allocations: 0.6331 MB / 0.7281 GB, free: 12 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002187/0.406, allocations: 345.1 kB / 0.7285 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002434/0.4062, allocations: 200.1 kB / 0.7287 GB, free: 11.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001416/0.4064, allocations: 0.5198 MB / 0.7292 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002594/0.4066, allocations: 161.9 kB / 0.7293 GB, free: 10.77 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00046/0.4071, allocations: 0.6476 MB / 0.73 GB, free: 9.977 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009345/0.408, allocations: 0.568 MB / 0.7305 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.028e-06/0.408, allocations: 0 / 0.7305 GB, free: 9.332 MB / 0.5417 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.0009836/0.409, allocations: 0.7502 MB / 0.7312 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.151e-05/0.409, allocations: 8 kB / 0.7312 GB, free: 8.562 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.409, allocations: 4.531 kB / 0.7313 GB, free: 8.559 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.409, allocations: 15.94 kB / 0.7313 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006945/0.4097, allocations: 255.6 kB / 0.7315 GB, free: 8.293 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.288e-06/0.4097, allocations: 11.94 kB / 0.7315 GB, free: 8.281 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005169/0.4103, allocations: 136 kB / 0.7317 GB, free: 8.148 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.721e-05/0.4103, allocations: 35.98 kB / 0.7317 GB, free: 8.113 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.0002814/0.4106, allocations: 229.5 kB / 0.7319 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001777/0.4108, allocations: 159.2 kB / 0.7321 GB, free: 7.727 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001078/0.4119, allocations: 0.8024 MB / 0.7328 GB, free: 6.918 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.649e-06/0.4119, allocations: 19.94 kB / 0.7329 GB, free: 6.898 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.415e-06/0.4119, allocations: 3.938 kB / 0.7329 GB, free: 6.895 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.046e-06/0.4119, allocations: 3.984 kB / 0.7329 GB, free: 6.891 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00216/0.414, allocations: 1.747 MB / 0.7346 GB, free: 5.047 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.809e-06/0.414, allocations: 4 kB / 0.7346 GB, free: 5.043 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006326/0.4147, allocations: 207.7 kB / 0.7348 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.598e-06/0.4147, allocations: 8 kB / 0.7348 GB, free: 4.832 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.427e-05/0.4148, allocations: 35.91 kB / 0.7348 GB, free: 4.797 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.836e-06/0.4148, allocations: 16.05 kB / 0.7348 GB, free: 4.781 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.798e-06/0.4148, allocations: 4 kB / 0.7348 GB, free: 4.777 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001441/0.4162, allocations: 1.236 MB / 0.736 GB, free: 3.457 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003014/0.4165, allocations: 214.9 kB / 0.7362 GB, free: 3.246 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.4166, allocations: 27.98 kB / 0.7363 GB, free: 3.219 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004492/0.4171, allocations: 71.94 kB / 0.7363 GB, free: 3.148 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001045/0.4172, allocations: 80.75 kB / 0.7364 GB, free: 3.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.834e-05/0.4172, allocations: 39.91 kB / 0.7365 GB, free: 3.031 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0003509/0.4176, allocations: 0.5224 MB / 0.737 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7e-08/0.4176, allocations: 0 / 0.737 GB, free: 2.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.001062/0.4186, allocations: 375.3 kB / 0.7373 GB, free: 2.133 MB / 0.5417 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.001096/0.4197, allocations: 457.4 kB / 0.7378 GB, free: 1.883 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0008841/0.4206, allocations: 0.573 MB / 0.7383 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 3.808e-06/0.4206, allocations: 0 / 0.7383 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0004007/0.421, allocations: 336.3 kB / 0.7386 GB, free: 0.9727 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.4223, allocations: 0.5352 MB / 0.7392 GB, free: 484 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003112/0.4254, allocations: 2.359 MB / 0.7415 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001869/0.4256, allocations: 273.6 kB / 0.7417 GB, free: 13.73 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007425/0.4264, allocations: 224.5 kB / 0.7419 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008387/0.4272, allocations: 461.8 kB / 0.7424 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of SimCode: time 1.743e-06/0.4272, allocations: 0 / 0.7424 GB, free: 13.05 MB / 0.5573 GB Notification: Performance of Templates: time 0.02756/0.4548, allocations: 22.51 MB / 0.7644 GB, free: 7.047 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.676407874096185]