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.001043/0.001043, allocations: 93.06 kB / 19.65 MB, free: 280 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.001029/0.001029, allocations: 173 kB / 23.02 MB, free: 1.551 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 0.9355/0.9355, allocations: 177.1 MB / 203.4 MB, free: 5.641 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.002514/0.002514, allocations: 241.1 kB / 260.2 MB, free: 12.83 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.7002/0.7002, allocations: 138.4 MB / 455.2 MB, free: 1.523 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_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: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 0.5551 GB, free: 496 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.769e-05/1.906e-05, allocations: 2.312 kB / 0.5551 GB, free: 492 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.3659/0.3659, allocations: 150.7 MB / 0.7023 GB, free: 6.176 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.00491/0.3708, allocations: 3.847 MB / 0.706 GB, free: 2.336 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006034/0.3714, allocations: 67.44 kB / 0.7061 GB, free: 2.27 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008198/0.3722, allocations: 0.5281 MB / 0.7066 GB, free: 1.738 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.001678/0.3739, allocations: 1.306 MB / 0.7079 GB, free: 436 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001528/0.3754, allocations: 1.084 MB / 0.7089 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002582/0.378, allocations: 2.69 MB / 0.7116 GB, free: 12.64 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001077/0.3791, allocations: 0.7489 MB / 0.7123 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001515/0.3806, allocations: 1.399 MB / 0.7137 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000788/0.3814, allocations: 0.8218 MB / 0.7145 GB, free: 9.656 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.3815, allocations: 76 kB / 0.7145 GB, free: 9.582 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006139/0.3821, allocations: 407.1 kB / 0.7149 GB, free: 9.184 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0002993/0.3824, allocations: 474.5 kB / 0.7154 GB, free: 8.719 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0003306/0.3827, allocations: 434.8 kB / 0.7158 GB, free: 8.293 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.001159/0.3839, allocations: 1.247 MB / 0.717 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.3839, allocations: 0 / 0.717 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.032e-06/0.3839, allocations: 0 / 0.717 GB, free: 7.043 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.653e-05/0.3839, allocations: 0 / 0.717 GB, free: 7.043 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: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.002949/0.3869, allocations: 1.845 MB / 0.7188 GB, free: 5.156 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.536e-05/0.3869, allocations: 12.75 kB / 0.7188 GB, free: 5.145 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001723/0.3887, allocations: 0.6356 MB / 0.7194 GB, free: 4.508 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009762/0.3896, allocations: 0.8845 MB / 0.7203 GB, free: 3.578 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.69e-05/0.3897, allocations: 70.36 kB / 0.7204 GB, free: 3.508 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001085/0.3898, allocations: 91.94 kB / 0.7205 GB, free: 3.418 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001374/0.3912, allocations: 1.082 MB / 0.7215 GB, free: 2.234 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.873e-05/0.3912, allocations: 7.938 kB / 0.7215 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.55e-05/0.3912, allocations: 32 kB / 0.7216 GB, free: 2.195 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.746e-05/0.3913, allocations: 49.98 kB / 0.7216 GB, free: 2.145 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009576/0.3923, allocations: 0.6204 MB / 0.7222 GB, free: 1.523 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.004134/0.3964, allocations: 5.156 MB / 0.7272 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009241/0.3973, allocations: 0.5556 MB / 0.7278 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003352/0.3976, allocations: 245.9 kB / 0.728 GB, free: 11.39 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002072/0.3979, allocations: 64.59 kB / 0.7281 GB, free: 11.33 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004729/0.3983, allocations: 361.8 kB / 0.7284 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=80): time 2.455e-06/0.3983, allocations: 0 / 0.7284 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of matching and sorting (n=80): time 0.001396/0.3997, allocations: 0.833 MB / 0.7292 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.737e-05/0.3998, allocations: 68 kB / 0.7293 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006976/0.4005, allocations: 0.9634 MB / 0.7303 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 6.127e-05/0.4005, allocations: 49.64 kB / 0.7303 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.4008, allocations: 0.6601 MB / 0.7309 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001645/0.401, allocations: 293.5 kB / 0.7312 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004658/0.4015, allocations: 196.2 kB / 0.7314 GB, free: 7.852 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.4016, allocations: 0.516 MB / 0.7319 GB, free: 7.328 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002948/0.4019, allocations: 169.9 kB / 0.7321 GB, free: 7.164 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000553/0.4024, allocations: 0.7701 MB / 0.7328 GB, free: 6.188 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007362/0.4032, allocations: 0.6897 MB / 0.7335 GB, free: 5.359 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.4032, allocations: 4 kB / 0.7335 GB, free: 5.355 MB / 0.5417 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.001028/0.4042, allocations: 0.8045 MB / 0.7343 GB, free: 4.543 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.831e-05/0.4042, allocations: 8.875 kB / 0.7343 GB, free: 4.535 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.014e-05/0.4042, allocations: 8 kB / 0.7343 GB, free: 4.527 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.4043, allocations: 12 kB / 0.7343 GB, free: 4.516 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005881/0.4048, allocations: 243.6 kB / 0.7346 GB, free: 4.277 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.474e-05/0.4049, allocations: 20.66 kB / 0.7346 GB, free: 4.258 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004079/0.4053, allocations: 135.3 kB / 0.7347 GB, free: 4.125 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.389e-05/0.4053, allocations: 51.97 kB / 0.7347 GB, free: 4.074 MB / 0.5417 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.0002223/0.4056, allocations: 219 kB / 0.735 GB, free: 3.852 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001442/0.4057, allocations: 155.2 kB / 0.7351 GB, free: 3.699 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009889/0.4067, allocations: 0.7511 MB / 0.7358 GB, free: 2.945 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.4067, allocations: 8 kB / 0.7358 GB, free: 2.938 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4067, allocations: 3.938 kB / 0.7359 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.672e-06/0.4067, allocations: 3.984 kB / 0.7359 GB, free: 2.93 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002032/0.4087, allocations: 1.802 MB / 0.7376 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.588e-06/0.4087, allocations: 8.031 kB / 0.7376 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004969/0.4092, allocations: 179.7 kB / 0.7378 GB, free: 0.8398 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.474e-06/0.4092, allocations: 8 kB / 0.7378 GB, free: 0.832 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.941e-05/0.4093, allocations: 31.97 kB / 0.7378 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.923e-06/0.4093, allocations: 8 kB / 0.7378 GB, free: 0.793 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.4093, allocations: 7.938 kB / 0.7378 GB, free: 0.7852 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001607/0.4109, allocations: 1.184 MB / 0.739 GB, free: 15.51 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002225/0.4111, allocations: 206.9 kB / 0.7392 GB, free: 15.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.325e-05/0.4112, allocations: 19.98 kB / 0.7392 GB, free: 15.29 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003486/0.4116, allocations: 59.95 kB / 0.7393 GB, free: 15.23 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.661e-05/0.4117, allocations: 72.42 kB / 0.7393 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.886e-05/0.4117, allocations: 39.97 kB / 0.7394 GB, free: 15.12 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000445/0.4122, allocations: 0.5864 MB / 0.74 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of sort global known variables: time 8.1e-08/0.4122, allocations: 0 / 0.74 GB, free: 14.53 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006016/0.4128, allocations: 343.4 kB / 0.7403 GB, free: 14.19 MB / 0.5573 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.0009931/0.4138, allocations: 450.8 kB / 0.7407 GB, free: 13.94 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0008359/0.4146, allocations: 0.5811 MB / 0.7413 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.4146, allocations: 256 / 0.7413 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003887/0.415, allocations: 305.1 kB / 0.7416 GB, free: 13.06 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.4161, allocations: 0.5027 MB / 0.7421 GB, free: 12.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002587/0.4187, allocations: 2.162 MB / 0.7442 GB, free: 10.33 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001764/0.4189, allocations: 272.7 kB / 0.7444 GB, free: 10.04 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006029/0.4195, allocations: 275.9 kB / 0.7447 GB, free: 9.77 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002515/0.4197, allocations: 108.4 kB / 0.7448 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of SimCode: time 8.32e-07/0.4197, allocations: 0 / 0.7448 GB, free: 9.664 MB / 0.5573 GB Notification: Performance of Templates: time 0.02235/0.4421, allocations: 19.9 MB / 0.7642 GB, free: 6.219 MB / 0.573 GB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.485515634063631]