Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.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.001048/0.001048, allocations: 80.81 kB / 21.55 MB, free: 2.949 MB / 18.57 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.001241/0.001241, allocations: 165.3 kB / 24.97 MB, free: 8.648 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 1.007/1.007, allocations: 177.1 MB / 205.4 MB, free: 5.465 MB / 186.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.902/1.902, allocations: 389.6 MB / 0.6362 GB, free: 12.31 MB / 0.6042 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.DHC.Networks.Controls.Examples.AgentPump1PipeExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample") translateModel(Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 0.7759 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.055e-05/2.23e-05, allocations: 9.625 kB / 0.7759 GB, free: 5.387 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample): time 0.005859/0.005881, allocations: 3.682 MB / 0.7795 GB, free: 1.719 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.003924/0.009805, allocations: 2.146 MB / 0.7816 GB, free: 15.57 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006592/0.01046, allocations: 23.81 kB / 0.7817 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0007578/0.01122, allocations: 296.9 kB / 0.7819 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0007644/0.01199, allocations: 361 kB / 0.7823 GB, free: 14.9 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006988/0.01269, allocations: 423.7 kB / 0.7827 GB, free: 14.49 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.001053/0.01374, allocations: 1.121 MB / 0.7838 GB, free: 13.37 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004459/0.01418, allocations: 254.2 kB / 0.784 GB, free: 13.11 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001394/0.01558, allocations: 0.6762 MB / 0.7847 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003981/0.01598, allocations: 314.9 kB / 0.785 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 0.0001072/0.01608, allocations: 80 kB / 0.7851 GB, free: 12.1 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002481/0.01633, allocations: 139.9 kB / 0.7852 GB, free: 11.96 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002219/0.01655, allocations: 253.8 kB / 0.7854 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002358/0.01679, allocations: 243.2 kB / 0.7857 GB, free: 11.48 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008413/0.01763, allocations: 0.6886 MB / 0.7863 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.01763, allocations: 3.938 kB / 0.7863 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.42e-07/0.01764, allocations: 0 / 0.7863 GB, free: 10.79 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 9.427e-06/0.01765, allocations: 0 / 0.7863 GB, free: 10.79 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: 113 * Number of variables: 113 Notification: Performance of Generate backend data structure: time 0.001596/0.01924, allocations: 1.124 MB / 0.7874 GB, free: 9.629 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.77e-05/0.01929, allocations: 9.344 kB / 0.7875 GB, free: 9.621 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001609/0.01945, allocations: 98.59 kB / 0.7875 GB, free: 9.527 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007543/0.0202, allocations: 0.5108 MB / 0.788 GB, free: 8.988 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.865e-05/0.02025, allocations: 37.38 kB / 0.7881 GB, free: 8.953 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.02031, allocations: 45.41 kB / 0.7881 GB, free: 8.91 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005927/0.02091, allocations: 422.1 kB / 0.7885 GB, free: 8.477 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.74e-05/0.02092, allocations: 3.938 kB / 0.7885 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.844e-05/0.02096, allocations: 21.12 kB / 0.7886 GB, free: 8.453 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.559e-05/0.02098, allocations: 12 kB / 0.7886 GB, free: 8.441 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002707/0.02125, allocations: 118.5 kB / 0.7887 GB, free: 8.324 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001897/0.02315, allocations: 1.143 MB / 0.7898 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.02346, allocations: 206.1 kB / 0.79 GB, free: 6.918 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001136/0.02357, allocations: 60.83 kB / 0.79 GB, free: 6.855 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.976e-05/0.0236, allocations: 13.38 kB / 0.7901 GB, free: 6.844 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002745/0.02388, allocations: 156.2 kB / 0.7902 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=34): time 2.755e-06/0.02388, allocations: 0 / 0.7902 GB, free: 6.68 MB / 0.7448 GB Notification: Performance of matching and sorting (n=34): time 0.0004895/0.02437, allocations: 213 kB / 0.7904 GB, free: 6.469 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.02443, allocations: 112.1 kB / 0.7905 GB, free: 6.336 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007019/0.02513, allocations: 0.6548 MB / 0.7912 GB, free: 5.664 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 4.44e-05/0.02517, allocations: 45.69 kB / 0.7912 GB, free: 5.613 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002112/0.02538, allocations: 303.6 kB / 0.7915 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 8.744e-05/0.02547, allocations: 115.1 kB / 0.7916 GB, free: 5.199 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001808/0.02565, allocations: 134.2 kB / 0.7917 GB, free: 5.062 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002155/0.02587, allocations: 330.5 kB / 0.792 GB, free: 4.734 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001594/0.02603, allocations: 83.02 kB / 0.7921 GB, free: 4.648 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002785/0.02631, allocations: 342.2 kB / 0.7924 GB, free: 4.23 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003249/0.02663, allocations: 243.7 kB / 0.7927 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.02663, allocations: 0 / 0.7927 GB, free: 3.969 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0005184/0.02715, allocations: 319.3 kB / 0.793 GB, free: 3.652 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.02717, allocations: 11.94 kB / 0.793 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.02718, allocations: 0 / 0.793 GB, free: 3.641 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.79e-05/0.0272, allocations: 4 kB / 0.793 GB, free: 3.637 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003736/0.02757, allocations: 128.9 kB / 0.7931 GB, free: 3.512 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.02758, allocations: 4 kB / 0.7931 GB, free: 3.508 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.02784, allocations: 68.67 kB / 0.7932 GB, free: 3.441 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.903e-05/0.02789, allocations: 23.98 kB / 0.7932 GB, free: 3.418 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0002379/0.02813, allocations: 156.6 kB / 0.7934 GB, free: 3.262 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0002652/0.0284, allocations: 346.1 kB / 0.7937 GB, free: 2.84 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0002907/0.02869, allocations: 224.1 kB / 0.7939 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.585e-06/0.02869, allocations: 1.219 kB / 0.7939 GB, free: 2.598 MB / 0.7448 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0004741/0.02916, allocations: 317.6 kB / 0.7942 GB, free: 2.281 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.02918, allocations: 8 kB / 0.7942 GB, free: 2.273 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.02918, allocations: 7.922 kB / 0.7942 GB, free: 2.266 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.346e-06/0.02919, allocations: 6.406 kB / 0.7942 GB, free: 2.262 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003375/0.02953, allocations: 115.8 kB / 0.7943 GB, free: 2.148 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.02954, allocations: 7.984 kB / 0.7944 GB, free: 2.141 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002586/0.0298, allocations: 63.75 kB / 0.7944 GB, free: 2.078 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.012e-05/0.02984, allocations: 22.38 kB / 0.7944 GB, free: 2.059 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.TSouIn.tab.nextTimeEvent,$whenCondition3,$PRE.TSouOut.tab.nextTimeEvent,$whenCondition2,$PRE.TDisRet.tab.nextTimeEvent,$whenCondition1,TDisRet.tab.nextTimeEventScaled,$PRE.TDisRet.tab.nextTimeEventScaled,TDisRet.tab.nextTimeEvent,TSouOut.tab.nextTimeEventScaled,$PRE.TSouOut.tab.nextTimeEventScaled,TSouOut.tab.nextTimeEvent,agePumCon.hys1.y,$PRE.agePumCon.hys1.y,agePumCon.hys.y,$PRE.agePumCon.hys.y,agePumCon.NetDemBool.lesHys.y,$PRE.agePumCon.NetDemBool.lesHys.y,TSouIn.tab.nextTimeEventScaled,$PRE.TSouIn.tab.nextTimeEventScaled,TSouIn.tab.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * 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.0001536/0.02999, allocations: 226.7 kB / 0.7947 GB, free: 1.828 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.981e-05/0.03008, allocations: 55.89 kB / 0.7947 GB, free: 1.773 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004085/0.03049, allocations: 218.6 kB / 0.7949 GB, free: 1.555 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.869e-06/0.0305, allocations: 9.828 kB / 0.7949 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.224e-06/0.0305, allocations: 0 / 0.7949 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001191/0.03062, allocations: 71.38 kB / 0.795 GB, free: 1.477 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.165e-05/0.0307, allocations: 15.98 kB / 0.795 GB, free: 1.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001923/0.03089, allocations: 25.02 kB / 0.795 GB, free: 1.438 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.934e-05/0.03099, allocations: 43.91 kB / 0.7951 GB, free: 1.395 MB / 0.7448 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0003589/0.03135, allocations: 285.4 kB / 0.7953 GB, free: 1.109 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0007357/0.03209, allocations: 411.9 kB / 0.7957 GB, free: 0.6875 MB / 0.7448 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001218/0.03221, allocations: 82.05 kB / 0.7958 GB, free: 0.6055 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.0003521/0.03256, allocations: 308.5 kB / 0.7961 GB, free: 312 kB / 0.7448 GB Notification: Performance of Backend: time 5.01e-07/0.03256, allocations: 2.75 kB / 0.7961 GB, free: 312 kB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.00286/0.03542, allocations: 0.9984 MB / 0.7971 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of SimCode: time 0.002224/0.03765, allocations: 1.907 MB / 0.7989 GB, free: 13.68 MB / 0.7605 GB Notification: Performance of Templates: time 0.01684/0.05449, allocations: 13.97 MB / 0.8126 GB, free: 56 kB / 0.7605 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.makefile [Timeout 300] (rm -f Buildings_13_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe ; mkfifo Buildings_13_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe ; head -c 1048576 < Buildings_13_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe >> ../files/Buildings_13_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.sim & ./Buildings_13_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.DHC.Networks.Controls.Examples.AgentPump1PipeExample.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.185912169516087]