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.0007371/0.0007371, allocations: 84.86 kB / 21.62 MB, free: 2.836 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.0008866/0.0008866, allocations: 174.6 kB / 25.05 MB, free: 9.199 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.9974/0.9974, allocations: 177.1 MB / 205.5 MB, free: 5.461 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.939/1.939, allocations: 389.6 MB / 0.6363 GB, free: 12.26 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.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.644e-06/1.644e-06, allocations: 0 / 0.7762 GB, free: 5.219 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.825e-05/1.99e-05, allocations: 2.312 kB / 0.7762 GB, free: 5.215 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001602/0.001622, allocations: 0.6561 MB / 0.7768 GB, free: 4.586 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002419/0.001864, allocations: 35.89 kB / 0.7769 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.061e-05/0.001885, allocations: 0 / 0.7769 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.337e-05/0.001918, allocations: 0 / 0.7769 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 3.739e-05/0.001956, allocations: 0.5469 kB / 0.7769 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002004/0.002156, allocations: 19.08 kB / 0.7769 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.521e-05/0.002231, allocations: 5.203 kB / 0.7769 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 3.937e-05/0.002271, allocations: 0 / 0.7769 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.902e-05/0.00231, allocations: 7.984 kB / 0.7769 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.544e-05/0.002355, allocations: 0.6562 kB / 0.7769 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.431e-05/0.002369, allocations: 0 / 0.7769 GB, free: 4.523 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001044/0.002474, allocations: 23.97 kB / 0.7769 GB, free: 4.5 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.924e-05/0.002503, allocations: 5.531 kB / 0.7769 GB, free: 4.496 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 2.085e-05/0.002524, allocations: 8.906 kB / 0.7769 GB, free: 4.492 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.002624, allocations: 20.73 kB / 0.777 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 1.643e-06/0.002626, allocations: 0 / 0.777 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.41e-07/0.002627, allocations: 0 / 0.777 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.336e-06/0.00263, allocations: 0 / 0.777 GB, free: 4.473 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.000267/0.002897, allocations: 255.9 kB / 0.7772 GB, free: 4.191 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.002933, allocations: 9.344 kB / 0.7772 GB, free: 4.184 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.878e-05/0.002962, allocations: 4.938 kB / 0.7772 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.421e-05/0.003036, allocations: 109.8 kB / 0.7773 GB, free: 4.047 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.045e-05/0.003047, allocations: 7.531 kB / 0.7773 GB, free: 4.043 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.085e-05/0.003058, allocations: 4.375 kB / 0.7773 GB, free: 4.039 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.00316, allocations: 66.8 kB / 0.7774 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.334e-06/0.003167, allocations: 192 / 0.7774 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.991e-06/0.003173, allocations: 384 / 0.7774 GB, free: 3.961 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.051e-05/0.003204, allocations: 12.34 kB / 0.7774 GB, free: 3.949 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.8e-05/0.003242, allocations: 45.62 kB / 0.7774 GB, free: 3.898 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002235/0.003465, allocations: 170.3 kB / 0.7776 GB, free: 3.715 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.049e-05/0.003516, allocations: 52.2 kB / 0.7777 GB, free: 3.648 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.117e-05/0.003537, allocations: 35.98 kB / 0.7777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.915e-06/0.00354, allocations: 1.156 kB / 0.7777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.587e-05/0.003566, allocations: 34.5 kB / 0.7777 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 1.282e-06/0.003567, allocations: 0 / 0.7777 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.000139/0.003706, allocations: 119.7 kB / 0.7778 GB, free: 3.422 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.163e-05/0.003748, allocations: 81.05 kB / 0.7779 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.676e-05/0.003824, allocations: 119.2 kB / 0.778 GB, free: 3.195 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.266e-05/0.003837, allocations: 27.11 kB / 0.7781 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 5.992e-05/0.003897, allocations: 107.9 kB / 0.7782 GB, free: 3.055 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 8.245e-06/0.003905, allocations: 8.812 kB / 0.7782 GB, free: 3.047 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.649e-05/0.003942, allocations: 21.72 kB / 0.7782 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.335e-05/0.004015, allocations: 314.8 kB / 0.7785 GB, free: 2.703 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.839e-05/0.004034, allocations: 35.44 kB / 0.7785 GB, free: 2.664 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.697e-05/0.00407, allocations: 77.33 kB / 0.7786 GB, free: 2.559 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.43e-05/0.004145, allocations: 133.1 kB / 0.7787 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.004147, allocations: 0 / 0.7787 GB, free: 2.395 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.629e-05/0.004233, allocations: 133.9 kB / 0.7789 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.383e-05/0.004257, allocations: 35.3 kB / 0.7789 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.004262, allocations: 0 / 0.7789 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.288e-06/0.004271, allocations: 4 kB / 0.7789 GB, free: 2.203 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.831e-05/0.00432, allocations: 16.88 kB / 0.7789 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.505e-06/0.004322, allocations: 0 / 0.7789 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.004362, allocations: 8.797 kB / 0.7789 GB, free: 2.18 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.131e-05/0.004373, allocations: 8 kB / 0.7789 GB, free: 2.172 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 5.42e-05/0.004427, allocations: 147.1 kB / 0.7791 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.359e-05/0.004441, allocations: 4.5 kB / 0.7791 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.03e-05/0.004451, allocations: 7.469 kB / 0.7791 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.004453, allocations: 4.781 kB / 0.7791 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.004454, allocations: 0.9844 kB / 0.7791 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.773e-06/0.004456, allocations: 1.094 kB / 0.7791 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.592e-05/0.004522, allocations: 69.84 kB / 0.7791 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.01e-07/0.004523, allocations: 0 / 0.7791 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.2e-07/0.004523, allocations: 1.469 kB / 0.7792 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.01e-07/0.004523, allocations: 0 / 0.7792 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.807e-06/0.004527, allocations: 0 / 0.7792 GB, free: 1.914 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.004529, allocations: 3.938 kB / 0.7792 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.00453, allocations: 4.906 kB / 0.7792 GB, free: 1.906 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.589e-05/0.004606, allocations: 191.7 kB / 0.7793 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 7.464e-06/0.004614, allocations: 9.062 kB / 0.7794 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.434e-06/0.004621, allocations: 3.984 kB / 0.7794 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.666e-05/0.004648, allocations: 3.938 kB / 0.7794 GB, free: 1.676 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.484e-06/0.004655, allocations: 4.5 kB / 0.7794 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.004658, allocations: 0.5312 kB / 0.7794 GB, free: 1.672 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.007e-05/0.004668, allocations: 13.78 kB / 0.7794 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.004668, allocations: 0.875 kB / 0.7794 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001258/0.004794, allocations: 16 kB / 0.7794 GB, free: 1.641 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (1): * Single equations (assignments): 0 * 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 Backend phase and start with SimCode phase: time 0.0001007/0.004894, allocations: 85.47 kB / 0.7795 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000114/0.005008, allocations: 137.8 kB / 0.7796 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.756e-06/0.005011, allocations: 0 / 0.7796 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.134e-05/0.005042, allocations: 89.91 kB / 0.7797 GB, free: 1.281 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.763e-05/0.00513, allocations: 4.812 kB / 0.7797 GB, free: 1.277 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001606/0.005291, allocations: 135.2 kB / 0.7798 GB, free: 1.113 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.942e-05/0.00532, allocations: 59.34 kB / 0.7799 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.146e-05/0.005342, allocations: 2.844 kB / 0.7799 GB, free: 1.035 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.186e-05/0.005383, allocations: 59.36 kB / 0.7799 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of SimCode: time 1.142e-06/0.005385, allocations: 0 / 0.7799 GB, free: 0.9766 MB / 0.7292 GB Notification: Performance of Templates: time 0.001938/0.007322, allocations: 0.5934 MB / 0.7805 GB, free: 424 kB / 0.7292 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: 4.97480939142406]