Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.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.00122/0.00122, allocations: 80.81 kB / 21.55 MB, free: 2.945 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.001116/0.001116, allocations: 165.8 kB / 24.96 MB, free: 9.18 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.9177/0.9177, allocations: 177.1 MB / 205.4 MB, free: 5.473 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.822/1.822, 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.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") translateModel(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze,tolerance=1e-08,outputFormat="empty",numberOfIntervals=100,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.894e-06/1.894e-06, allocations: 0 / 0.776 GB, free: 5.297 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.548e-05/2.737e-05, allocations: 5.688 kB / 0.776 GB, free: 5.293 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze): time 0.00409/0.004118, allocations: 2.213 MB / 0.7782 GB, free: 3.094 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001235/0.005353, allocations: 0.6194 MB / 0.7788 GB, free: 2.477 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001305/0.005483, allocations: 4 kB / 0.7788 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001441/0.005627, allocations: 24.55 kB / 0.7788 GB, free: 2.449 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001296/0.005757, allocations: 49.94 kB / 0.7789 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002956/0.006053, allocations: 103.8 kB / 0.779 GB, free: 2.309 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0003459/0.006398, allocations: 284.5 kB / 0.7793 GB, free: 2.031 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002352/0.006634, allocations: 106.1 kB / 0.7794 GB, free: 1.93 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002487/0.006882, allocations: 163.7 kB / 0.7795 GB, free: 1.77 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001556/0.007038, allocations: 100.7 kB / 0.7796 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 5.174e-05/0.00709, allocations: 24 kB / 0.7796 GB, free: 1.648 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 3.955e-05/0.007129, allocations: 28 kB / 0.7797 GB, free: 1.621 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 6.709e-05/0.007196, allocations: 64.53 kB / 0.7797 GB, free: 1.559 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001025/0.007299, allocations: 91.73 kB / 0.7798 GB, free: 1.469 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.000298/0.007597, allocations: 211.7 kB / 0.78 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.0076, allocations: 1.438 kB / 0.78 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.153e-06/0.007601, allocations: 0 / 0.78 GB, free: 1.262 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.12e-06/0.007606, allocations: 0 / 0.78 GB, free: 1.262 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 50 * Number of variables: 50 Notification: Performance of Generate backend data structure: time 0.0008382/0.008445, allocations: 0.5477 MB / 0.7805 GB, free: 0.6758 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.673e-05/0.008481, allocations: 8.75 kB / 0.7806 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.201e-05/0.008563, allocations: 44.89 kB / 0.7806 GB, free: 0.625 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002501/0.008813, allocations: 166.2 kB / 0.7808 GB, free: 444 kB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.12e-05/0.008845, allocations: 21.92 kB / 0.7808 GB, free: 420 kB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.787e-05/0.008883, allocations: 28.38 kB / 0.7808 GB, free: 392 kB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004124/0.009295, allocations: 284.7 kB / 0.7811 GB, free: 80 kB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.009306, allocations: 4.172 kB / 0.7811 GB, free: 76 kB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.28e-05/0.009329, allocations: 12.09 kB / 0.7811 GB, free: 68 kB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/0.00934, allocations: 7.938 kB / 0.7811 GB, free: 60 kB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001237/0.009464, allocations: 51.47 kB / 0.7811 GB, free: 12 kB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001064/0.01053, allocations: 386.2 kB / 0.7815 GB, free: 15.62 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001694/0.0107, allocations: 82.47 kB / 0.7816 GB, free: 15.53 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.447e-05/0.01075, allocations: 23.59 kB / 0.7816 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.198e-05/0.01077, allocations: 4.281 kB / 0.7816 GB, free: 15.5 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000211/0.01098, allocations: 128.1 kB / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=20): time 2.454e-06/0.01099, allocations: 0 / 0.7817 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of matching and sorting (n=20): time 0.0003198/0.01131, allocations: 131.9 kB / 0.7819 GB, free: 15.23 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.192e-05/0.01136, allocations: 110.8 kB / 0.782 GB, free: 15.1 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001301/0.01149, allocations: 215.4 kB / 0.7822 GB, free: 14.88 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.576e-05/0.01151, allocations: 37.7 kB / 0.7822 GB, free: 14.83 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 6.902e-05/0.01158, allocations: 148.3 kB / 0.7824 GB, free: 14.68 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 3.13e-05/0.01161, allocations: 56.78 kB / 0.7824 GB, free: 14.62 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.124e-05/0.01169, allocations: 73.89 kB / 0.7825 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.716e-05/0.01176, allocations: 338.7 kB / 0.7828 GB, free: 14.21 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.365e-05/0.01184, allocations: 109.9 kB / 0.7829 GB, free: 14.08 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001257/0.01196, allocations: 234.5 kB / 0.7831 GB, free: 13.8 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001293/0.01209, allocations: 201.3 kB / 0.7833 GB, free: 13.57 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.0121, allocations: 5.688 kB / 0.7833 GB, free: 13.56 MB / 0.7448 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.0002086/0.0123, allocations: 316.4 kB / 0.7836 GB, free: 13.21 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 4.667e-05/0.01235, allocations: 94.31 kB / 0.7837 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.01236, allocations: 4 kB / 0.7837 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.226e-05/0.01237, allocations: 0 / 0.7837 GB, free: 13.1 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001511/0.01252, allocations: 60.78 kB / 0.7838 GB, free: 13.04 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.01253, allocations: 7.984 kB / 0.7838 GB, free: 13.03 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.01265, allocations: 48.88 kB / 0.7838 GB, free: 12.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.428e-05/0.01267, allocations: 8.531 kB / 0.7838 GB, free: 12.98 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 28 (antFre.disErr.y,$PRE.antFre.disErr.y,antFre.disErr.local_reset,antFre.disErr.local_set,antFre.intConOne.y,ySetOn.y,$PRE.ySetOn.y,TEvaOutEmu.count,$PRE.TEvaOutEmu.count,TEvaOutEmu.T_start,$PRE.TEvaOutEmu.T_start,TConInEmu.count,$PRE.TConInEmu.count,TConInEmu.T_start,$PRE.TConInEmu.T_start,ySetPul.count,$PRE.ySetPul.count,ySetPul.T_start,$PRE.ySetPul.T_start,antFre.hys.y,$PRE.antFre.hys.y,antFre.errAndSetOn.y,hys.y,$PRE.hys.y,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 3 * 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 9.053e-05/0.01276, allocations: 153.6 kB / 0.784 GB, free: 12.82 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.01278, allocations: 15.98 kB / 0.784 GB, free: 12.8 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.01292, allocations: 119.4 kB / 0.7841 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.454e-06/0.01293, allocations: 0.7188 kB / 0.7841 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.613e-06/0.01293, allocations: 0 / 0.7841 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.538e-06/0.01293, allocations: 8.609 kB / 0.7841 GB, free: 12.67 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002818/0.01321, allocations: 300.3 kB / 0.7844 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.01322, allocations: 0.9375 kB / 0.7844 GB, free: 12.36 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.125e-05/0.01328, allocations: 27.91 kB / 0.7844 GB, free: 12.33 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.01328, allocations: 8.922 kB / 0.7844 GB, free: 12.32 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.658e-05/0.0133, allocations: 7.984 kB / 0.7845 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.0133, allocations: 0.8438 kB / 0.7845 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.0133, allocations: 3.938 kB / 0.7845 GB, free: 12.31 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001666/0.01347, allocations: 211.2 kB / 0.7847 GB, free: 12.09 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 2.05e-05/0.01349, allocations: 23.8 kB / 0.7847 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.531e-05/0.01351, allocations: 8 kB / 0.7847 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.01362, allocations: 31.95 kB / 0.7847 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.52e-05/0.0137, allocations: 46.67 kB / 0.7848 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.676e-05/0.01371, allocations: 15.92 kB / 0.7848 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.803e-05/0.01375, allocations: 54.16 kB / 0.7848 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01375, allocations: 0 / 0.7848 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001749/0.01393, allocations: 63.89 kB / 0.7849 GB, free: 11.85 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 15 (antFre.errAndSetOn.y,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,hys.y,antFre.disErr.y,antFre.hys.y,ySetPul.T_start,ySetPul.count,TConInEmu.T_start,TConInEmu.count,TEvaOutEmu.T_start,TEvaOutEmu.count,ySetOn.y) * Number of discrete states: 7 (TEvaOutEmu.count,TConInEmu.count,ySetPul.count,antFre.hys.y,hys.y,ySetOn.y,antFre.disErr.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0001032/0.01403, allocations: 93.83 kB / 0.785 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0002447/0.01427, allocations: 374.3 kB / 0.7853 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.01428, allocations: 0 / 0.7853 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.305e-05/0.01435, allocations: 58.66 kB / 0.7854 GB, free: 11.27 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001863/0.01454, allocations: 41.34 kB / 0.7854 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006067/0.01514, allocations: 374.4 kB / 0.7858 GB, free: 10.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.344e-05/0.01519, allocations: 85.28 kB / 0.7859 GB, free: 10.75 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.911e-05/0.01526, allocations: 22.58 kB / 0.7859 GB, free: 10.73 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001363/0.01539, allocations: 107.3 kB / 0.786 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of SimCode: time 8.31e-07/0.01539, allocations: 0 / 0.786 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of Templates: time 0.005096/0.02049, allocations: 3.746 MB / 0.7897 GB, free: 7.062 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; mkfifo Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe ; head -c 1048576 < Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe >> ../files/Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.sim & ./Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Fluid.HeatPumps.ModularReversible.Controls.Safety.Examples.AntiFreeze.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.8375531090423465]