Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.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.000723/0.000723, allocations: 76.17 kB / 9.931 MB, free: 0.7539 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009013/0.001624, allocations: 449.7 kB / 10.37 MB, free: 324 kB / 10.45 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.0007222/0.0007222, allocations: 165.2 kB / 11.26 MB, free: 2.906 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008614/0.001584, allocations: 459.6 kB / 11.71 MB, free: 2.453 MB / 13.93 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.9675/0.9675, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08395/1.051, allocations: 53.65 MB / 243.3 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.951/1.951, allocations: 389.9 MB / 0.619 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5026/2.453, allocations: 127.1 MB / 0.7432 GB, free: 4.594 MB / 0.7136 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 3.938 kB / 0.7445 GB, free: 3.242 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.006e-05/2.15e-05, allocations: 6.25 kB / 0.7445 GB, free: 3.234 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.0111/0.01113, allocations: 13.51 MB / 0.7577 GB, free: 5.734 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.008804/0.01993, allocations: 5.124 MB / 0.7627 GB, free: 0.6484 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001955/0.02188, allocations: 91.19 kB / 0.7628 GB, free: 0.5586 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.001408/0.02329, allocations: 0.6148 MB / 0.7634 GB, free: 15.94 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.00344/0.02673, allocations: 1.554 MB / 0.7649 GB, free: 14.39 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.002938/0.02967, allocations: 1.473 MB / 0.7664 GB, free: 12.92 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.004875/0.03455, allocations: 3.742 MB / 0.77 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.03625, allocations: 0.9561 MB / 0.771 GB, free: 8.184 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003282/0.03953, allocations: 1.983 MB / 0.7729 GB, free: 6.18 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001446/0.04098, allocations: 0.9618 MB / 0.7738 GB, free: 5.215 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0002961/0.04127, allocations: 105.1 kB / 0.7739 GB, free: 5.113 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001069/0.04234, allocations: 331.5 kB / 0.7743 GB, free: 4.789 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0003045/0.04265, allocations: 330.6 kB / 0.7746 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0007426/0.04339, allocations: 488.7 kB / 0.775 GB, free: 3.988 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.002237/0.04562, allocations: 1.288 MB / 0.7763 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.348e-05/0.04565, allocations: 0 / 0.7763 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.402e-06/0.04565, allocations: 0 / 0.7763 GB, free: 2.695 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.797e-05/0.04574, allocations: 0 / 0.7763 GB, free: 2.695 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 272 * Number of variables: 272 Notification: Performance of Generate backend data structure: time 0.003016/0.04875, allocations: 2.425 MB / 0.7787 GB, free: 216 kB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.534e-05/0.04879, allocations: 8.031 kB / 0.7787 GB, free: 208 kB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001384/0.05017, allocations: 0.5119 MB / 0.7792 GB, free: 15.7 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001415/0.05159, allocations: 1.017 MB / 0.7802 GB, free: 14.64 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.998e-05/0.05164, allocations: 78.14 kB / 0.7802 GB, free: 14.57 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001019/0.05174, allocations: 113 kB / 0.7804 GB, free: 14.46 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001227/0.05297, allocations: 1.121 MB / 0.7814 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.05299, allocations: 7.938 kB / 0.7815 GB, free: 13.18 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.099e-05/0.05305, allocations: 44.69 kB / 0.7815 GB, free: 13.13 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.943e-05/0.05307, allocations: 28 kB / 0.7815 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005326/0.0536, allocations: 415.2 kB / 0.7819 GB, free: 12.7 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004143/0.05775, allocations: 5.353 MB / 0.7871 GB, free: 7.16 MB / 0.7605 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007718/0.05852, allocations: 0.4907 MB / 0.7876 GB, free: 6.664 MB / 0.7605 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001883/0.05871, allocations: 164 kB / 0.7878 GB, free: 6.504 MB / 0.7605 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002114/0.05892, allocations: 85.88 kB / 0.7879 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003767/0.05929, allocations: 345.1 kB / 0.7882 GB, free: 6.074 MB / 0.7605 GB Notification: Performance of pre-optimization done (n=85): time 3.256e-06/0.0593, allocations: 0 / 0.7882 GB, free: 6.074 MB / 0.7605 GB Notification: Performance of matching and sorting (n=85): time 0.0007514/0.06005, allocations: 0.5494 MB / 0.7887 GB, free: 5.527 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.313e-05/0.06008, allocations: 60.41 kB / 0.7888 GB, free: 5.457 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008162/0.0609, allocations: 1.127 MB / 0.7899 GB, free: 4.309 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.482e-05/0.06095, allocations: 45.7 kB / 0.7899 GB, free: 4.258 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002637/0.06122, allocations: 0.575 MB / 0.7905 GB, free: 3.672 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001522/0.06137, allocations: 301.4 kB / 0.7908 GB, free: 3.375 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001852/0.06155, allocations: 215.2 kB / 0.791 GB, free: 3.156 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 8.733e-05/0.06164, allocations: 358.4 kB / 0.7913 GB, free: 2.801 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001787/0.06182, allocations: 139 kB / 0.7915 GB, free: 2.668 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003964/0.06222, allocations: 0.7376 MB / 0.7922 GB, free: 1.715 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005588/0.06278, allocations: 0.7168 MB / 0.7929 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.759e-06/0.06278, allocations: 1.875 kB / 0.7929 GB, free: 0.8516 MB / 0.7605 GB Notification: Performance of matching and sorting (n=140) (initialization): time 0.0007169/0.0635, allocations: 0.712 MB / 0.7936 GB, free: 140 kB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.06352, allocations: 8 kB / 0.7936 GB, free: 132 kB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.133e-05/0.06353, allocations: 12 kB / 0.7936 GB, free: 120 kB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.584e-05/0.06354, allocations: 16 kB / 0.7936 GB, free: 104 kB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006643/0.06421, allocations: 356 kB / 0.794 GB, free: 15.75 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.479e-05/0.06422, allocations: 27.92 kB / 0.794 GB, free: 15.72 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005015/0.06472, allocations: 147.1 kB / 0.7941 GB, free: 15.58 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.407e-05/0.0648, allocations: 55.97 kB / 0.7942 GB, free: 15.52 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * 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 (140): * Single equations (assignments): 140 * 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.0002335/0.06503, allocations: 202.2 kB / 0.7944 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001222/0.06515, allocations: 115.8 kB / 0.7945 GB, free: 15.2 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001095/0.06625, allocations: 0.9601 MB / 0.7954 GB, free: 14.23 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.476e-05/0.06626, allocations: 19.98 kB / 0.7954 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.863e-06/0.06627, allocations: 0 / 0.7954 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/0.06628, allocations: 7.984 kB / 0.7954 GB, free: 14.21 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002088/0.06836, allocations: 1.748 MB / 0.7971 GB, free: 12.37 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/0.06837, allocations: 4 kB / 0.7971 GB, free: 12.36 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.06888, allocations: 215.7 kB / 0.7974 GB, free: 12.15 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002633/0.06914, allocations: 218.5 kB / 0.7976 GB, free: 11.94 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.393e-06/0.06915, allocations: 8.188 kB / 0.7976 GB, free: 11.93 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.197e-05/0.06919, allocations: 39.91 kB / 0.7976 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.262e-06/0.0692, allocations: 7.938 kB / 0.7976 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.0692, allocations: 4 kB / 0.7976 GB, free: 11.88 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009724/0.07018, allocations: 1.002 MB / 0.7986 GB, free: 10.84 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001016/0.07028, allocations: 24 kB / 0.7986 GB, free: 10.81 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003308/0.07061, allocations: 67.88 kB / 0.7987 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.293e-05/0.07069, allocations: 72.86 kB / 0.7988 GB, free: 10.68 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.353e-05/0.07074, allocations: 43.95 kB / 0.7988 GB, free: 10.63 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0003801/0.07112, allocations: 0.5622 MB / 0.7993 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.07112, allocations: 0 / 0.7993 GB, free: 10.07 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0007955/0.07192, allocations: 431.2 kB / 0.7998 GB, free: 9.645 MB / 0.7761 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 (109): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 18 * 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.00146/0.07338, allocations: 0.6524 MB / 0.8004 GB, free: 9.266 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0006981/0.07408, allocations: 0.5924 MB / 0.801 GB, free: 8.672 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.693e-05/0.07411, allocations: 21.94 kB / 0.801 GB, free: 8.652 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 0.0003231/0.07443, allocations: 325.3 kB / 0.8013 GB, free: 8.336 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001273/0.0757, allocations: 0.7196 MB / 0.802 GB, free: 7.625 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01056/0.08626, allocations: 2.502 MB / 0.8045 GB, free: 5.055 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001993/0.08646, allocations: 294.4 kB / 0.8047 GB, free: 4.742 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0008853/0.08735, allocations: 307.1 kB / 0.805 GB, free: 4.438 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000884/0.08823, allocations: 0.5398 MB / 0.8056 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of SimCode: time 1.163e-06/0.08823, allocations: 0 / 0.8056 GB, free: 3.891 MB / 0.7761 GB Notification: Performance of Templates: time 0.03427/0.1225, allocations: 28.65 MB / 0.8335 GB, free: 7.941 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.530523554421961]