Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.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.001443/0.001443, allocations: 80.88 kB / 21.55 MB, free: 2.941 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.001256/0.001256, allocations: 166.5 kB / 24.97 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.9696/0.9696, allocations: 177.1 MB / 205.4 MB, free: 5.48 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 2.022/2.022, allocations: 389.6 MB / 0.6362 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 177] 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.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.422e-06/1.422e-06, allocations: 1.422 kB / 0.776 GB, free: 5.32 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.169e-05/2.311e-05, allocations: 2.844 kB / 0.776 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001824/0.001848, allocations: 0.6546 MB / 0.7767 GB, free: 4.684 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002289/0.002077, allocations: 47.8 kB / 0.7767 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.519e-05/0.002102, allocations: 0 / 0.7767 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.892e-05/0.002141, allocations: 0 / 0.7767 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.791e-05/0.002179, allocations: 3.703 kB / 0.7767 GB, free: 4.637 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001925/0.002371, allocations: 11.98 kB / 0.7767 GB, free: 4.625 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.308e-05/0.002444, allocations: 5.422 kB / 0.7767 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.683e-05/0.002481, allocations: 0 / 0.7767 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.002513, allocations: 0 / 0.7767 GB, free: 4.621 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.516e-05/0.002558, allocations: 8 kB / 0.7767 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.002571, allocations: 0 / 0.7767 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001032/0.002675, allocations: 24.56 kB / 0.7768 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.869e-05/0.002703, allocations: 9.625 kB / 0.7768 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.718e-05/0.002721, allocations: 2.531 kB / 0.7768 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.503e-05/0.002816, allocations: 24.84 kB / 0.7768 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.164e-06/0.002818, allocations: 0 / 0.7768 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.52e-07/0.002818, allocations: 1.766 kB / 0.7768 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.002822, allocations: 0 / 0.7768 GB, free: 4.559 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0002509/0.003073, allocations: 250.3 kB / 0.777 GB, free: 4.281 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.727e-05/0.003111, allocations: 13.94 kB / 0.7771 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.786e-05/0.003138, allocations: 0.9375 kB / 0.7771 GB, free: 4.27 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.127e-05/0.00321, allocations: 110.7 kB / 0.7772 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.158e-05/0.003221, allocations: 0.9219 kB / 0.7772 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.803e-06/0.003228, allocations: 1.875 kB / 0.7772 GB, free: 4.137 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000102/0.00333, allocations: 70.72 kB / 0.7772 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.003337, allocations: 192 / 0.7772 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.485e-06/0.003345, allocations: 4.375 kB / 0.7772 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.003372, allocations: 6.531 kB / 0.7772 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.494e-05/0.003407, allocations: 41.62 kB / 0.7773 GB, free: 4 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002295/0.003636, allocations: 167.5 kB / 0.7774 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.003683, allocations: 48.28 kB / 0.7775 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.064e-05/0.003704, allocations: 30.56 kB / 0.7775 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 3.997e-06/0.003708, allocations: 4.859 kB / 0.7775 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.795e-05/0.003736, allocations: 42.5 kB / 0.7776 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.142e-06/0.003737, allocations: 1.75 kB / 0.7776 GB, free: 3.664 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001301/0.003867, allocations: 110.8 kB / 0.7777 GB, free: 3.531 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.483e-05/0.003902, allocations: 81.09 kB / 0.7778 GB, free: 3.434 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.452e-05/0.003976, allocations: 122.6 kB / 0.7779 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.454e-05/0.003991, allocations: 30.39 kB / 0.7779 GB, free: 3.266 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.944e-05/0.00404, allocations: 100.8 kB / 0.778 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.782e-06/0.004047, allocations: 4.781 kB / 0.778 GB, free: 3.16 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.987e-05/0.004087, allocations: 29.64 kB / 0.778 GB, free: 3.125 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001012/0.004188, allocations: 316.6 kB / 0.7783 GB, free: 2.809 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.365e-05/0.004212, allocations: 29.7 kB / 0.7784 GB, free: 2.773 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.678e-05/0.004269, allocations: 84.48 kB / 0.7784 GB, free: 2.66 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.119e-05/0.00436, allocations: 124.6 kB / 0.7786 GB, free: 2.504 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.004362, allocations: 3.938 kB / 0.7786 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001215/0.004483, allocations: 123.2 kB / 0.7787 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.219e-05/0.004516, allocations: 42.2 kB / 0.7787 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.004521, allocations: 0.75 kB / 0.7787 GB, free: 2.316 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.004535, allocations: 4 kB / 0.7787 GB, free: 2.312 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.116e-05/0.004596, allocations: 17.05 kB / 0.7787 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.03e-06/0.004601, allocations: 8.766 kB / 0.7787 GB, free: 2.289 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.767e-05/0.004659, allocations: 4 kB / 0.7788 GB, free: 2.285 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.396e-05/0.004673, allocations: 5.469 kB / 0.7788 GB, free: 2.281 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 1 * 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 8.194e-05/0.004755, allocations: 154.2 kB / 0.7789 GB, free: 2.113 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.00478, allocations: 7.938 kB / 0.7789 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.22e-05/0.004792, allocations: 8.297 kB / 0.7789 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.896e-06/0.004795, allocations: 0 / 0.7789 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.004796, allocations: 1.203 kB / 0.7789 GB, free: 2.102 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.337e-06/0.004805, allocations: 9.016 kB / 0.7789 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.796e-06/0.004814, allocations: 0 / 0.7789 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.067e-05/0.004865, allocations: 0.5 kB / 0.7789 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.305e-06/0.004873, allocations: 4 kB / 0.7789 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000102/0.004975, allocations: 216.3 kB / 0.7791 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001292/0.005104, allocations: 269.8 kB / 0.7794 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 3.208e-05/0.005136, allocations: 39.44 kB / 0.7794 GB, free: 1.508 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.708e-05/0.005153, allocations: 13.31 kB / 0.7794 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of Backend: time 3.8e-07/0.005154, allocations: 0.9375 kB / 0.7794 GB, free: 1.492 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0003368/0.005491, allocations: 175.6 kB / 0.7796 GB, free: 1.301 MB / 0.7292 GB Notification: Performance of SimCode: time 0.0004789/0.00597, allocations: 0.6963 MB / 0.7803 GB, free: 0.543 MB / 0.7292 GB Notification: Performance of Templates: time 0.002692/0.008661, allocations: 0.6178 MB / 0.7809 GB, free: 15.96 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > Buildings_13_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.084971913136542]