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.001379/0.001379, allocations: 85.41 kB / 20.83 MB, free: 3.629 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.001579/0.001579, allocations: 169.3 kB / 24.25 MB, free: 208 kB / 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.9828/0.9828, allocations: 177.1 MB / 204.7 MB, free: 5.445 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.916/1.916, allocations: 389.6 MB / 0.6355 GB, free: 12.25 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.763e-06/1.763e-06, allocations: 0.875 kB / 0.7754 GB, free: 5.238 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.553e-05/2.729e-05, allocations: 3.062 kB / 0.7754 GB, free: 5.234 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002023/0.002051, allocations: 0.6685 MB / 0.7761 GB, free: 4.59 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002314/0.002282, allocations: 33.2 kB / 0.7761 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.112e-05/0.002313, allocations: 0 / 0.7761 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 4.282e-05/0.002356, allocations: 0 / 0.7761 GB, free: 4.559 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 4.931e-05/0.002405, allocations: 5.969 kB / 0.7761 GB, free: 4.555 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002065/0.002612, allocations: 11.97 kB / 0.7761 GB, free: 4.543 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.808e-05/0.00269, allocations: 5.094 kB / 0.7761 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.535e-05/0.002735, allocations: 7.984 kB / 0.7761 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 3.689e-05/0.002772, allocations: 0 / 0.7761 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.647e-05/0.002819, allocations: 1.25 kB / 0.7761 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.002834, allocations: 0 / 0.7761 GB, free: 4.531 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.002943, allocations: 23.97 kB / 0.7762 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 3.585e-05/0.002979, allocations: 5.094 kB / 0.7762 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.876e-05/0.002998, allocations: 2.703 kB / 0.7762 GB, free: 4.504 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.003106, allocations: 32.78 kB / 0.7762 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.003109, allocations: 0 / 0.7762 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.62e-07/0.00311, allocations: 0.5 kB / 0.7762 GB, free: 4.473 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.588e-06/0.003114, allocations: 0.875 kB / 0.7762 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.0003002/0.003414, allocations: 251.1 kB / 0.7764 GB, free: 4.195 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.003455, allocations: 11.19 kB / 0.7764 GB, free: 4.188 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.253e-05/0.003488, allocations: 8.922 kB / 0.7765 GB, free: 4.18 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.167e-05/0.003569, allocations: 101.8 kB / 0.7765 GB, free: 4.055 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.665e-05/0.003586, allocations: 4.375 kB / 0.7766 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.203e-05/0.003598, allocations: 384 / 0.7766 GB, free: 4.051 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001324/0.00373, allocations: 70.41 kB / 0.7766 GB, free: 3.973 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.003741, allocations: 4.172 kB / 0.7766 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.596e-06/0.003749, allocations: 384 / 0.7766 GB, free: 3.969 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.239e-05/0.003782, allocations: 12.38 kB / 0.7766 GB, free: 3.957 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.863e-05/0.00382, allocations: 41.58 kB / 0.7767 GB, free: 3.91 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002938/0.004114, allocations: 178.2 kB / 0.7768 GB, free: 3.719 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 5.797e-05/0.004172, allocations: 44.28 kB / 0.7769 GB, free: 3.66 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.162e-05/0.004194, allocations: 33.78 kB / 0.7769 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 4.068e-06/0.004198, allocations: 0.875 kB / 0.7769 GB, free: 3.621 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.936e-05/0.004227, allocations: 38.56 kB / 0.777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=1): time 9.51e-07/0.004228, allocations: 0 / 0.777 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of matching and sorting (n=1): time 0.0001665/0.004394, allocations: 122.7 kB / 0.7771 GB, free: 3.43 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.299e-05/0.004437, allocations: 77.11 kB / 0.7771 GB, free: 3.336 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001008/0.004538, allocations: 126.7 kB / 0.7773 GB, free: 3.199 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.32e-05/0.004551, allocations: 25.7 kB / 0.7773 GB, free: 3.168 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 6.627e-05/0.004618, allocations: 105 kB / 0.7774 GB, free: 3.062 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 9.328e-06/0.004627, allocations: 4.5 kB / 0.7774 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.675e-05/0.004674, allocations: 25.7 kB / 0.7774 GB, free: 3.027 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.00011/0.004784, allocations: 315.9 kB / 0.7777 GB, free: 2.711 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.045e-05/0.004814, allocations: 29.7 kB / 0.7778 GB, free: 2.676 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.38e-05/0.004878, allocations: 92.48 kB / 0.7778 GB, free: 2.555 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.656e-05/0.004975, allocations: 121.7 kB / 0.778 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.004977, allocations: 1 kB / 0.778 GB, free: 2.402 MB / 0.7292 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001296/0.005107, allocations: 134.5 kB / 0.7781 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 3.798e-05/0.005145, allocations: 29.7 kB / 0.7781 GB, free: 2.219 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.965e-06/0.005153, allocations: 5.594 kB / 0.7781 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.005166, allocations: 0 / 0.7781 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.554e-05/0.005262, allocations: 19.92 kB / 0.7781 GB, free: 2.195 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/0.005268, allocations: 4 kB / 0.7781 GB, free: 2.191 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.179e-05/0.00533, allocations: 4.688 kB / 0.7781 GB, free: 2.188 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.905e-05/0.005349, allocations: 8.766 kB / 0.7782 GB, free: 2.18 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 9.36e-05/0.005442, allocations: 143.6 kB / 0.7783 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.315e-05/0.005465, allocations: 7.938 kB / 0.7783 GB, free: 2.016 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.604e-05/0.005481, allocations: 9.078 kB / 0.7783 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.966e-06/0.005484, allocations: 0 / 0.7783 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.973e-06/0.005486, allocations: 0 / 0.7783 GB, free: 2.012 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.00549, allocations: 3.938 kB / 0.7783 GB, free: 2.008 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001059/0.005596, allocations: 70.83 kB / 0.7784 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.005598, allocations: 1.344 kB / 0.7784 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.042e-06/0.005599, allocations: 0 / 0.7784 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.005602, allocations: 0 / 0.7784 GB, free: 1.922 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.35e-06/0.005607, allocations: 4 kB / 0.7784 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.939e-06/0.005612, allocations: 8.594 kB / 0.7784 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.005613, allocations: 0.7188 kB / 0.7784 GB, free: 1.91 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001337/0.005747, allocations: 191 kB / 0.7786 GB, free: 1.695 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.132e-05/0.005758, allocations: 4.516 kB / 0.7786 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.005769, allocations: 2.547 kB / 0.7786 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.158e-05/0.00582, allocations: 7.938 kB / 0.7786 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.001e-05/0.00583, allocations: 0 / 0.7786 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.53e-06/0.005836, allocations: 0 / 0.7786 GB, free: 1.684 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.907e-05/0.005855, allocations: 12.86 kB / 0.7786 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005855, allocations: 1.031 kB / 0.7786 GB, free: 1.668 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002014/0.006056, allocations: 11.98 kB / 0.7786 GB, free: 1.656 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.0001623/0.006219, allocations: 90.11 kB / 0.7787 GB, free: 1.562 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.006368, allocations: 140.8 kB / 0.7788 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.378e-06/0.006372, allocations: 1.031 kB / 0.7788 GB, free: 1.398 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 3.826e-05/0.00641, allocations: 89.95 kB / 0.7789 GB, free: 1.289 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001292/0.00654, allocations: 5.312 kB / 0.7789 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002222/0.006762, allocations: 134.4 kB / 0.7791 GB, free: 1.121 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.218e-05/0.006804, allocations: 55.36 kB / 0.7791 GB, free: 1.047 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.923e-05/0.006833, allocations: 6.391 kB / 0.7791 GB, free: 1.043 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.978e-05/0.006893, allocations: 60.88 kB / 0.7792 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/0.006894, allocations: 0 / 0.7792 GB, free: 0.9844 MB / 0.7292 GB Notification: Performance of Templates: time 0.002553/0.009447, allocations: 0.6001 MB / 0.7798 GB, free: 428 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: 5.19320173189044]