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.001395/0.001395, allocations: 93.16 kB / 19.65 MB, free: 292 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.001626/0.001626, allocations: 168.9 kB / 23.01 MB, free: 1.566 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.9691/0.9691, 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.002483/0.002483, allocations: 240.7 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.7664/0.7664, allocations: 138.4 MB / 455.2 MB, free: 1.547 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 2.094e-06/2.094e-06, allocations: 0 / 0.5551 GB, free: 0.5117 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.072e-05/3.281e-05, allocations: 10.31 kB / 0.5551 GB, free: 0.5 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.3573/0.3573, allocations: 150.6 MB / 0.7022 GB, free: 6.211 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.005559/0.3629, allocations: 3.857 MB / 0.706 GB, free: 2.359 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009548/0.3638, allocations: 59.44 kB / 0.7061 GB, free: 2.301 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0008962/0.3647, allocations: 0.5359 MB / 0.7066 GB, free: 1.762 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00201/0.3667, allocations: 1.302 MB / 0.7079 GB, free: 464 kB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001714/0.3685, allocations: 1.08 MB / 0.7089 GB, free: 15.37 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.002558/0.371, allocations: 2.756 MB / 0.7116 GB, free: 12.61 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001185/0.3722, allocations: 0.7932 MB / 0.7124 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001698/0.3739, allocations: 1.282 MB / 0.7136 GB, free: 10.52 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001272/0.3752, allocations: 0.9388 MB / 0.7146 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0001737/0.3753, allocations: 88 kB / 0.7146 GB, free: 9.492 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007768/0.3761, allocations: 415.1 kB / 0.715 GB, free: 9.086 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003576/0.3765, allocations: 498.4 kB / 0.7155 GB, free: 8.598 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0004176/0.3769, allocations: 450.8 kB / 0.7159 GB, free: 8.156 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.00147/0.3784, allocations: 1.296 MB / 0.7172 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.3784, allocations: 0 / 0.7172 GB, free: 6.855 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.553e-06/0.3784, allocations: 4 kB / 0.7172 GB, free: 6.852 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.82e-05/0.3784, allocations: 0 / 0.7172 GB, free: 6.852 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.00253/0.3809, allocations: 1.888 MB / 0.7191 GB, free: 4.918 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.381, allocations: 16.69 kB / 0.7191 GB, free: 4.902 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002246/0.3832, allocations: 0.85 MB / 0.7199 GB, free: 4.051 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001046/0.3843, allocations: 0.9039 MB / 0.7208 GB, free: 3.109 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.189e-05/0.3843, allocations: 70.38 kB / 0.7209 GB, free: 3.043 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001295/0.3844, allocations: 95.89 kB / 0.7209 GB, free: 2.949 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001701/0.3861, allocations: 1.114 MB / 0.722 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.767e-05/0.3862, allocations: 0 / 0.722 GB, free: 1.789 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.335e-05/0.3862, allocations: 32 kB / 0.7221 GB, free: 1.758 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.365e-05/0.3863, allocations: 49.98 kB / 0.7221 GB, free: 1.711 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001113/0.3874, allocations: 0.7103 MB / 0.7228 GB, free: 0.9961 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.003854/0.3912, allocations: 3.666 MB / 0.7264 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001121/0.3924, allocations: 0.7238 MB / 0.7271 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004363/0.3928, allocations: 320.1 kB / 0.7274 GB, free: 12.2 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002221/0.393, allocations: 68.94 kB / 0.7275 GB, free: 12.13 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005995/0.3936, allocations: 451.1 kB / 0.7279 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=95): time 3.517e-06/0.3936, allocations: 0 / 0.7279 GB, free: 11.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=95): time 0.002019/0.3957, allocations: 1.089 MB / 0.729 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.238e-05/0.3957, allocations: 64.34 kB / 0.729 GB, free: 10.51 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007152/0.3964, allocations: 0.9134 MB / 0.7299 GB, free: 9.574 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.111e-05/0.3965, allocations: 45.7 kB / 0.73 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003945/0.3969, allocations: 0.6371 MB / 0.7306 GB, free: 8.879 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002301/0.3971, allocations: 345.1 kB / 0.7309 GB, free: 8.539 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002649/0.3974, allocations: 192.2 kB / 0.7311 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.3975, allocations: 0.5238 MB / 0.7316 GB, free: 7.812 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004085/0.3979, allocations: 209.9 kB / 0.7318 GB, free: 7.605 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000616/0.3986, allocations: 0.7024 MB / 0.7325 GB, free: 6.758 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008925/0.3994, allocations: 0.654 MB / 0.7331 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.699e-06/0.3994, allocations: 0 / 0.7331 GB, free: 6.027 MB / 0.5417 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.001268/0.4007, allocations: 0.864 MB / 0.734 GB, free: 5.152 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.99e-05/0.4007, allocations: 8.062 kB / 0.734 GB, free: 5.145 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4007, allocations: 11.94 kB / 0.734 GB, free: 5.133 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.317e-05/0.4008, allocations: 8 kB / 0.734 GB, free: 5.125 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000749/0.4015, allocations: 279.5 kB / 0.7343 GB, free: 4.852 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.329e-05/0.4015, allocations: 11.98 kB / 0.7343 GB, free: 4.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005156/0.402, allocations: 147.4 kB / 0.7344 GB, free: 4.695 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.751e-05/0.4021, allocations: 51.91 kB / 0.7345 GB, free: 4.645 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.000258/0.4024, allocations: 219 kB / 0.7347 GB, free: 4.422 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001776/0.4026, allocations: 163.1 kB / 0.7348 GB, free: 4.262 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001302/0.4039, allocations: 0.901 MB / 0.7357 GB, free: 3.355 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.244e-06/0.4039, allocations: 8 kB / 0.7357 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.4039, allocations: 0 / 0.7357 GB, free: 3.348 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.067e-05/0.4039, allocations: 7.984 kB / 0.7357 GB, free: 3.34 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002698/0.4066, allocations: 2.038 MB / 0.7377 GB, free: 1.199 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.4066, allocations: 4 kB / 0.7377 GB, free: 1.195 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006785/0.4073, allocations: 239.9 kB / 0.7379 GB, free: 0.9609 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.695e-06/0.4073, allocations: 8 kB / 0.738 GB, free: 0.9531 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.505e-05/0.4073, allocations: 35.97 kB / 0.738 GB, free: 0.918 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.235e-06/0.4073, allocations: 11.94 kB / 0.738 GB, free: 0.9062 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.69e-06/0.4074, allocations: 7.938 kB / 0.738 GB, free: 0.8984 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001772/0.4091, allocations: 1.393 MB / 0.7394 GB, free: 15.42 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002971/0.4094, allocations: 234.8 kB / 0.7396 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.526e-05/0.4095, allocations: 20 kB / 0.7396 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000472/0.41, allocations: 111.6 kB / 0.7397 GB, free: 15.06 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000114/0.4101, allocations: 72.81 kB / 0.7398 GB, free: 14.99 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.28e-05/0.4102, allocations: 47.91 kB / 0.7398 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.000462/0.4106, allocations: 0.5695 MB / 0.7404 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.4106, allocations: 0 / 0.7404 GB, free: 14.37 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0006914/0.4113, allocations: 371.4 kB / 0.7407 GB, free: 14 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.00109/0.4124, allocations: 463.2 kB / 0.7412 GB, free: 13.75 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.001066/0.4135, allocations: 0.6741 MB / 0.7418 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.706e-06/0.4135, allocations: 0 / 0.7418 GB, free: 13.07 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0005031/0.414, allocations: 376.9 kB / 0.7422 GB, free: 12.7 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001283/0.4153, allocations: 0.5345 MB / 0.7427 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003386/0.4187, allocations: 2.389 MB / 0.7451 GB, free: 9.711 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.4188, allocations: 281.6 kB / 0.7453 GB, free: 9.414 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0006996/0.4195, allocations: 291.6 kB / 0.7456 GB, free: 9.129 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003095/0.4198, allocations: 112.4 kB / 0.7457 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.4198, allocations: 0 / 0.7457 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of Templates: time 0.02273/0.4426, allocations: 20.64 MB / 0.7659 GB, free: 4.84 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.638859404250979]