Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.00155/0.00155, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001762/0.001762, allocations: 212.8 kB / 23 MB, free: 4.57 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.386/1.386, allocations: 230.6 MB / 256.8 MB, free: 8.02 MB / 206.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.00251/0.00251, allocations: 282.5 kB / 313.5 MB, free: 2.824 MB / 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.19/1.19, allocations: 180.6 MB / 0.5377 GB, free: 13.02 MB / 382.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_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002746/0.002746, allocations: 99.52 kB / 0.7408 GB, free: 27.86 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.169/0.1717, allocations: 95.38 MB / 0.834 GB, free: 8.141 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0317/0.2034, allocations: 30 MB / 0.8633 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01099/0.2144, allocations: 7.039 MB / 0.8701 GB, free: 2.969 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001318/0.2157, allocations: 63.38 kB / 0.8702 GB, free: 2.906 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001806/0.2175, allocations: 0.7108 MB / 0.8709 GB, free: 2.191 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004238/0.2217, allocations: 1.594 MB / 0.8725 GB, free: 0.5898 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002806/0.2246, allocations: 1.1 MB / 0.8735 GB, free: 15.49 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003648/0.2282, allocations: 2.539 MB / 0.876 GB, free: 12.95 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001334/0.2295, allocations: 0.6659 MB / 0.8767 GB, free: 12.26 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002346/0.2319, allocations: 1.078 MB / 0.8777 GB, free: 11.18 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001648/0.2335, allocations: 0.8714 MB / 0.8786 GB, free: 10.3 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.000257/0.2338, allocations: 68 kB / 0.8786 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002145/0.2359, allocations: 0.8811 MB / 0.8795 GB, free: 9.355 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0004522/0.2364, allocations: 294.8 kB / 0.8798 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0009115/0.2373, allocations: 0.5553 MB / 0.8803 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.003276/0.2406, allocations: 1.642 MB / 0.8819 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.2406, allocations: 0 / 0.8819 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.313e-06/0.2406, allocations: 0 / 0.8819 GB, free: 6.859 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 4.919e-05/0.2406, allocations: 0 / 0.8819 GB, free: 6.859 MB / 0.6231 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003319/0.2439, allocations: 1.552 MB / 0.8834 GB, free: 5.27 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.837e-05/0.244, allocations: 13.94 kB / 0.8834 GB, free: 5.258 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003427/0.2474, allocations: 0.5931 MB / 0.884 GB, free: 4.664 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.2492, allocations: 0.813 MB / 0.8848 GB, free: 3.805 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.183e-05/0.2493, allocations: 58.36 kB / 0.8849 GB, free: 3.746 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001593/0.2495, allocations: 79.94 kB / 0.8849 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002564/0.252, allocations: 1.096 MB / 0.886 GB, free: 2.496 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.136e-05/0.252, allocations: 4 kB / 0.886 GB, free: 2.492 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.876e-05/0.2521, allocations: 32 kB / 0.8861 GB, free: 2.461 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.985e-05/0.2521, allocations: 27.88 kB / 0.8861 GB, free: 2.434 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.2552, allocations: 1.004 MB / 0.8871 GB, free: 1.43 MB / 0.6231 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.006425/0.2616, allocations: 4.893 MB / 0.8918 GB, free: 12.25 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002858/0.2644, allocations: 0.8759 MB / 0.8927 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001402/0.2658, allocations: 465.6 kB / 0.8931 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006933/0.2665, allocations: 172.3 kB / 0.8933 GB, free: 10.75 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001645/0.2682, allocations: 0.5798 MB / 0.8939 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=61): time 2.865e-06/0.2682, allocations: 3.938 kB / 0.8939 GB, free: 10.15 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61): time 0.004675/0.2729, allocations: 1.488 MB / 0.8953 GB, free: 8.656 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.383e-05/0.2729, allocations: 63.89 kB / 0.8954 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.2744, allocations: 1.137 MB / 0.8965 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/0.2745, allocations: 41.7 kB / 0.8965 GB, free: 7.387 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005031/0.275, allocations: 0.5677 MB / 0.8971 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002224/0.2753, allocations: 214.3 kB / 0.8973 GB, free: 6.602 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002839/0.2755, allocations: 170.5 kB / 0.8975 GB, free: 6.43 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.2757, allocations: 334 kB / 0.8978 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.2771, allocations: 453.6 kB / 0.8982 GB, free: 5.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00166/0.2788, allocations: 0.7087 MB / 0.8989 GB, free: 4.832 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00297/0.2817, allocations: 1.126 MB / 0.9 GB, free: 3.602 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.039e-05/0.2817, allocations: 4 kB / 0.9 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003543/0.2853, allocations: 1.289 MB / 0.9013 GB, free: 2.301 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.386e-05/0.2853, allocations: 8 kB / 0.9013 GB, free: 2.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.807e-05/0.2853, allocations: 8 kB / 0.9013 GB, free: 2.285 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.959e-05/0.2854, allocations: 12 kB / 0.9013 GB, free: 2.273 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00118/0.2865, allocations: 267.8 kB / 0.9015 GB, free: 2.012 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.237e-05/0.2866, allocations: 19.94 kB / 0.9016 GB, free: 1.992 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/0.2877, allocations: 179.2 kB / 0.9017 GB, free: 1.816 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001041/0.2879, allocations: 43.98 kB / 0.9018 GB, free: 1.773 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * 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 (100): * Single equations (assignments): 100 * 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.0005002/0.2884, allocations: 296.2 kB / 0.9021 GB, free: 1.473 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002875/0.2886, allocations: 139 kB / 0.9022 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00377/0.2924, allocations: 1.405 MB / 0.9036 GB, free: 15.93 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.203e-05/0.2924, allocations: 15.98 kB / 0.9036 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.214e-06/0.2924, allocations: 0 / 0.9036 GB, free: 15.91 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.157e-05/0.2925, allocations: 7.984 kB / 0.9036 GB, free: 15.9 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005302/0.2978, allocations: 2.394 MB / 0.9059 GB, free: 13.45 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.2978, allocations: 4.188 kB / 0.9059 GB, free: 13.44 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001017/0.2988, allocations: 187.8 kB / 0.9061 GB, free: 13.26 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.451e-05/0.2988, allocations: 4 kB / 0.9061 GB, free: 13.25 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.286e-05/0.2989, allocations: 27.91 kB / 0.9061 GB, free: 13.23 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.478e-06/0.2989, allocations: 8 kB / 0.9061 GB, free: 13.22 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.2989, allocations: 4 kB / 0.9061 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005211/0.3041, allocations: 2.032 MB / 0.9081 GB, free: 11.15 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005662/0.3047, allocations: 218.8 kB / 0.9083 GB, free: 10.93 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002237/0.3049, allocations: 19.98 kB / 0.9084 GB, free: 10.91 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009799/0.3059, allocations: 107.9 kB / 0.9085 GB, free: 10.81 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.306, allocations: 52.5 kB / 0.9085 GB, free: 10.76 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.764e-05/0.3061, allocations: 35.97 kB / 0.9085 GB, free: 10.72 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00109/0.3071, allocations: 0.7841 MB / 0.9093 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.3071, allocations: 0 / 0.9093 GB, free: 9.934 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001142/0.3083, allocations: 347.4 kB / 0.9096 GB, free: 9.594 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * 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 (73): * Single equations (assignments): 58 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.002064/0.3103, allocations: 0.6463 MB / 0.9103 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003348/0.3137, allocations: 1.096 MB / 0.9113 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.007e-06/0.3137, allocations: 0 / 0.9113 GB, free: 8.008 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00161/0.3153, allocations: 0.5506 MB / 0.9119 GB, free: 7.461 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002083/0.3174, allocations: 468.1 kB / 0.9123 GB, free: 7.016 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005325/0.3227, allocations: 2.471 MB / 0.9147 GB, free: 4.488 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008315/0.3236, allocations: 1.108 MB / 0.9158 GB, free: 3.352 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004483/0.324, allocations: 123.4 kB / 0.9159 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/0.324, allocations: 0 / 0.9159 GB, free: 3.23 MB / 0.6544 GB Notification: Performance of Templates: time 0.0311/0.3551, allocations: 19.41 MB / 0.9349 GB, free: 0 / 0.67 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.626880815019831] Failed to read output from testmodel.py, exit status != 0: 0.3629179550334811 0.377544459 0.133919545 Calling exit ...