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.001545/0.001545, allocations: 100.3 kB / 19.7 MB, free: 2.012 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.001707/0.001707, allocations: 222.6 kB / 23 MB, free: 4.914 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.403/1.403, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.002518/0.002518, allocations: 283.8 kB / 313.5 MB, free: 2.625 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.213/1.213, allocations: 180.6 MB / 0.5377 GB, free: 14.66 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.002929/0.002929, allocations: 108.9 kB / 0.7407 GB, free: 27.96 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1705/0.1734, allocations: 95.38 MB / 0.8339 GB, free: 7.816 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.03408/0.2075, allocations: 27.1 MB / 0.8604 GB, free: 12.61 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01268/0.2202, allocations: 6.543 MB / 0.8667 GB, free: 6.055 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001502/0.2217, allocations: 71.38 kB / 0.8668 GB, free: 5.984 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001748/0.2234, allocations: 0.6836 MB / 0.8675 GB, free: 5.297 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004427/0.2279, allocations: 1.579 MB / 0.869 GB, free: 3.711 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002816/0.2307, allocations: 1.084 MB / 0.8701 GB, free: 2.629 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003754/0.2344, allocations: 2.524 MB / 0.8725 GB, free: 100 kB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001339/0.2358, allocations: 0.662 MB / 0.8732 GB, free: 15.42 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002495/0.2383, allocations: 1.078 MB / 0.8742 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001474/0.2397, allocations: 0.8439 MB / 0.8751 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001327/0.2399, allocations: 68 kB / 0.8751 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.2417, allocations: 0.6743 MB / 0.8758 GB, free: 12.75 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0003645/0.242, allocations: 294.8 kB / 0.8761 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005886/0.2426, allocations: 453.5 kB / 0.8765 GB, free: 12.01 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002546/0.2452, allocations: 1.611 MB / 0.8781 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.879e-06/0.2452, allocations: 0 / 0.8781 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.934e-06/0.2452, allocations: 8 kB / 0.8781 GB, free: 10.39 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.409e-05/0.2452, allocations: 0 / 0.8781 GB, free: 10.39 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.002816/0.248, allocations: 1.552 MB / 0.8796 GB, free: 8.797 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.462e-05/0.2481, allocations: 9.938 kB / 0.8796 GB, free: 8.789 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003339/0.2514, allocations: 0.597 MB / 0.8802 GB, free: 8.191 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00165/0.253, allocations: 0.7758 MB / 0.881 GB, free: 7.375 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.465e-05/0.2531, allocations: 58.38 kB / 0.881 GB, free: 7.32 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001543/0.2533, allocations: 79.92 kB / 0.8811 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002514/0.2558, allocations: 1.111 MB / 0.8822 GB, free: 6.051 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.854e-05/0.2558, allocations: 4 kB / 0.8822 GB, free: 6.047 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.627e-05/0.2559, allocations: 28 kB / 0.8822 GB, free: 6.02 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.916e-05/0.2559, allocations: 16 kB / 0.8822 GB, free: 6.004 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003123/0.259, allocations: 1.016 MB / 0.8832 GB, free: 4.988 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.00618/0.2652, allocations: 4.126 MB / 0.8872 GB, free: 0.7148 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002965/0.2682, allocations: 0.8796 MB / 0.8881 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001461/0.2696, allocations: 477.2 kB / 0.8886 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006945/0.2703, allocations: 176.3 kB / 0.8887 GB, free: 15.19 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001688/0.272, allocations: 0.5798 MB / 0.8893 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=61): time 3.156e-06/0.272, allocations: 0 / 0.8893 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of matching and sorting (n=61): time 0.005052/0.2771, allocations: 1.503 MB / 0.8908 GB, free: 13.09 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.581e-05/0.2771, allocations: 63.84 kB / 0.8908 GB, free: 13.01 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/0.2787, allocations: 1.076 MB / 0.8919 GB, free: 11.92 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 8.518e-05/0.2788, allocations: 37.7 kB / 0.8919 GB, free: 11.88 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006074/0.2794, allocations: 0.5746 MB / 0.8925 GB, free: 11.3 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002592/0.2797, allocations: 226.1 kB / 0.8927 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000285/0.2799, allocations: 158.6 kB / 0.8928 GB, free: 10.91 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001865/0.2801, allocations: 337.9 kB / 0.8932 GB, free: 10.58 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00149/0.2816, allocations: 461.6 kB / 0.8936 GB, free: 10.12 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.2835, allocations: 0.9502 MB / 0.8945 GB, free: 9.004 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003105/0.2866, allocations: 1.133 MB / 0.8956 GB, free: 7.766 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.055e-05/0.2866, allocations: 4 kB / 0.8956 GB, free: 7.762 MB / 0.6387 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003671/0.2903, allocations: 1.285 MB / 0.8969 GB, free: 6.469 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.802e-05/0.2903, allocations: 11.94 kB / 0.8969 GB, free: 6.457 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/0.2904, allocations: 8 kB / 0.8969 GB, free: 6.449 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.99e-05/0.2904, allocations: 12 kB / 0.8969 GB, free: 6.438 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001196/0.2916, allocations: 272.2 kB / 0.8972 GB, free: 6.172 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.581e-05/0.2916, allocations: 19.92 kB / 0.8972 GB, free: 6.152 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001166/0.2928, allocations: 167.3 kB / 0.8974 GB, free: 5.988 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000111/0.2929, allocations: 47.97 kB / 0.8974 GB, free: 5.941 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.0005154/0.2934, allocations: 288.2 kB / 0.8977 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002014/0.2936, allocations: 123.2 kB / 0.8978 GB, free: 5.527 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003923/0.2975, allocations: 1.426 MB / 0.8992 GB, free: 4.098 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.271e-05/0.2975, allocations: 12 kB / 0.8992 GB, free: 4.086 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.596e-06/0.2976, allocations: 4 kB / 0.8992 GB, free: 4.082 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.849e-06/0.2976, allocations: 3.984 kB / 0.8992 GB, free: 4.078 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005353/0.3029, allocations: 2.256 MB / 0.9014 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.3029, allocations: 0 / 0.9014 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001061/0.304, allocations: 191.9 kB / 0.9016 GB, free: 1.582 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.048e-05/0.304, allocations: 8 kB / 0.9016 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.87e-05/0.3041, allocations: 23.97 kB / 0.9016 GB, free: 1.551 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.668e-06/0.3041, allocations: 7.938 kB / 0.9016 GB, free: 1.543 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.3041, allocations: 4 kB / 0.9016 GB, free: 1.539 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005402/0.3095, allocations: 2.068 MB / 0.9037 GB, free: 15.43 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005343/0.31, allocations: 199 kB / 0.9038 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001376/0.3102, allocations: 19.94 kB / 0.9039 GB, free: 15.21 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009069/0.3111, allocations: 115.8 kB / 0.904 GB, free: 15.1 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001214/0.3112, allocations: 60.5 kB / 0.904 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-05/0.3113, allocations: 31.97 kB / 0.9041 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0009369/0.3122, allocations: 0.7265 MB / 0.9048 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of sort global known variables: time 7e-08/0.3122, allocations: 0 / 0.9048 GB, free: 14.28 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001117/0.3133, allocations: 367.2 kB / 0.9051 GB, free: 13.92 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 (76): * Single equations (assignments): 61 * 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.002161/0.3155, allocations: 0.6805 MB / 0.9058 GB, free: 13.42 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.003414/0.3189, allocations: 1.117 MB / 0.9069 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3189, allocations: 0 / 0.9069 GB, free: 12.31 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001658/0.3206, allocations: 0.574 MB / 0.9074 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001677/0.3222, allocations: 381.6 kB / 0.9078 GB, free: 11.38 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005139/0.3274, allocations: 2.471 MB / 0.9102 GB, free: 8.855 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005458/0.3279, allocations: 0.5253 MB / 0.9107 GB, free: 8.297 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004013/0.3283, allocations: 111.4 kB / 0.9108 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of SimCode: time 1.011e-06/0.3283, allocations: 0 / 0.9108 GB, free: 8.188 MB / 0.6544 GB Notification: Performance of Templates: time 0.03428/0.3626, allocations: 18.84 MB / 0.9292 GB, free: 5.488 MB / 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.70342148700729] Failed to read output from testmodel.py, exit status != 0: 0.372160327155143 0.398312631 0.14795436 Calling exit ...