Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.0009688/0.0009688, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009728/0.0009728, allocations: 169 kB / 24.06 MB, free: 456 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 1.015/1.015, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001576/0.001576, allocations: 241.9 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7357/0.7357, allocations: 138.4 MB / 456.3 MB, free: 1.355 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/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(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.405e-06/2.405e-06, allocations: 0 / 0.5564 GB, free: 152 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.012e-05/3.252e-05, allocations: 5.828 kB / 0.5564 GB, free: 148 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001373/0.001405, allocations: 0.6079 MB / 0.557 GB, free: 15.54 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001952/0.0016, allocations: 39.88 kB / 0.5571 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.221e-05/0.001623, allocations: 0 / 0.5571 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 4.325e-05/0.001666, allocations: 0 / 0.5571 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 4.142e-05/0.001707, allocations: 0 / 0.5571 GB, free: 15.5 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002132/0.00192, allocations: 11.98 kB / 0.5571 GB, free: 15.48 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 7.75e-05/0.001998, allocations: 15.92 kB / 0.5571 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.98e-05/0.002038, allocations: 0 / 0.5571 GB, free: 15.47 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.692e-05/0.002075, allocations: 4 kB / 0.5571 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.833e-05/0.002123, allocations: 3.984 kB / 0.5571 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.002135, allocations: 3.938 kB / 0.5571 GB, free: 15.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.082e-05/0.002206, allocations: 15.98 kB / 0.5571 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.896e-05/0.002235, allocations: 4 kB / 0.5571 GB, free: 15.44 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 1.545e-05/0.00225, allocations: 4 kB / 0.5571 GB, free: 15.43 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 9.395e-05/0.002344, allocations: 35.83 kB / 0.5571 GB, free: 15.4 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.002348, allocations: 0 / 0.5571 GB, free: 15.4 MB / 490.7 MB Notification: Performance of FrontEnd: time 6.82e-07/0.002348, allocations: 0 / 0.5571 GB, free: 15.4 MB / 490.7 MB Notification: Performance of Transformations before backend: time 4.588e-06/0.002353, allocations: 4 kB / 0.5572 GB, free: 15.39 MB / 490.7 MB 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.0002684/0.002621, allocations: 378 kB / 0.5575 GB, free: 14.98 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.361e-05/0.002655, allocations: 8.75 kB / 0.5575 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.712e-05/0.002682, allocations: 5.234 kB / 0.5575 GB, free: 14.97 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.769e-05/0.00274, allocations: 108.6 kB / 0.5576 GB, free: 14.84 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.139e-05/0.002751, allocations: 4.359 kB / 0.5576 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.66e-06/0.002757, allocations: 384 / 0.5576 GB, free: 14.83 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000117/0.002874, allocations: 75.89 kB / 0.5577 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.002881, allocations: 192 / 0.5577 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.603e-06/0.002888, allocations: 384 / 0.5577 GB, free: 14.75 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.848e-05/0.002916, allocations: 4.375 kB / 0.5577 GB, free: 14.74 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.437e-05/0.002951, allocations: 45.62 kB / 0.5578 GB, free: 14.69 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002303/0.003181, allocations: 244.4 kB / 0.558 GB, free: 14.43 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.27e-05/0.003224, allocations: 56.75 kB / 0.558 GB, free: 14.35 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.805e-05/0.003242, allocations: 33.39 kB / 0.5581 GB, free: 14.31 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-06/0.003246, allocations: 7.875 kB / 0.5581 GB, free: 14.3 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/0.003266, allocations: 37.45 kB / 0.5581 GB, free: 14.25 MB / 490.7 MB Notification: Performance of pre-optimization done (n=1): time 9.22e-07/0.003267, allocations: 0 / 0.5581 GB, free: 14.25 MB / 490.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001281/0.003395, allocations: 118.8 kB / 0.5582 GB, free: 14.11 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.04e-05/0.003426, allocations: 81.11 kB / 0.5583 GB, free: 14.02 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.32e-05/0.003499, allocations: 186 kB / 0.5585 GB, free: 13.82 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 8.095e-06/0.003507, allocations: 29.7 kB / 0.5585 GB, free: 13.78 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.98e-05/0.003557, allocations: 142.7 kB / 0.5586 GB, free: 13.64 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.841e-06/0.003563, allocations: 4 kB / 0.5587 GB, free: 13.63 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.495e-05/0.003598, allocations: 35.31 kB / 0.5587 GB, free: 13.59 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.003717, allocations: 496.1 kB / 0.5592 GB, free: 13.09 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.991e-05/0.003737, allocations: 37.62 kB / 0.5592 GB, free: 13.05 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.45e-05/0.003792, allocations: 103.2 kB / 0.5593 GB, free: 12.91 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.723e-05/0.003869, allocations: 144.8 kB / 0.5594 GB, free: 12.72 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/0.003873, allocations: 7.938 kB / 0.5594 GB, free: 12.71 MB / 490.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001019/0.003975, allocations: 132.9 kB / 0.5596 GB, free: 12.57 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.72e-05/0.004002, allocations: 33.94 kB / 0.5596 GB, free: 12.53 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.004008, allocations: 8 kB / 0.5596 GB, free: 12.52 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.004019, allocations: 7.938 kB / 0.5596 GB, free: 12.51 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.004069, allocations: 8 kB / 0.5596 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.077e-06/0.004073, allocations: 4 kB / 0.5596 GB, free: 12.5 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.049e-05/0.004123, allocations: 15.89 kB / 0.5596 GB, free: 12.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.148e-05/0.004135, allocations: 4 kB / 0.5596 GB, free: 12.48 MB / 490.7 MB 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 7.654e-05/0.004211, allocations: 190.2 kB / 0.5598 GB, free: 12.28 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.675e-05/0.004228, allocations: 7.938 kB / 0.5598 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.062e-05/0.004239, allocations: 3.469 kB / 0.5598 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.00424, allocations: 0 / 0.5598 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.655e-06/0.004243, allocations: 4 kB / 0.5598 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.088e-06/0.004247, allocations: 0 / 0.5598 GB, free: 12.27 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.655e-05/0.004334, allocations: 105.2 kB / 0.5599 GB, free: 12.14 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.699e-06/0.004338, allocations: 7.984 kB / 0.5599 GB, free: 12.13 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.272e-06/0.00434, allocations: 4 kB / 0.56 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.004341, allocations: 0 / 0.56 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.004347, allocations: 3.938 kB / 0.56 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.22e-07/0.004347, allocations: 0 / 0.56 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.71e-07/0.004348, allocations: 0 / 0.56 GB, free: 12.12 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001206/0.004469, allocations: 243.3 kB / 0.5602 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.097e-06/0.004478, allocations: 4.031 kB / 0.5602 GB, free: 11.85 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.204e-05/0.00449, allocations: 3.938 kB / 0.5602 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.00453, allocations: 4 kB / 0.5602 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.004544, allocations: 3.938 kB / 0.5602 GB, free: 11.84 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.318e-06/0.004548, allocations: 0 / 0.5602 GB, free: 11.84 MB / 490.7 MB Notification: Performance of sorting global known variables: time 4.514e-05/0.004593, allocations: 135.2 kB / 0.5603 GB, free: 11.7 MB / 490.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004593, allocations: 0 / 0.5603 GB, free: 11.7 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0001765/0.00477, allocations: 8 kB / 0.5603 GB, free: 11.7 MB / 490.7 MB 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.0001209/0.004891, allocations: 103.2 kB / 0.5604 GB, free: 11.59 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0001231/0.005014, allocations: 146.4 kB / 0.5606 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.005015, allocations: 0 / 0.5606 GB, free: 11.41 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 3.147e-05/0.005047, allocations: 92.78 kB / 0.5607 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001549/0.005202, allocations: 6.938 kB / 0.5607 GB, free: 11.3 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002426/0.005444, allocations: 154.5 kB / 0.5608 GB, free: 11.11 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.362e-05/0.005478, allocations: 51.36 kB / 0.5609 GB, free: 11.04 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 3.137e-05/0.005509, allocations: 12.55 kB / 0.5609 GB, free: 11.03 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.166e-05/0.005561, allocations: 78.14 kB / 0.561 GB, free: 10.95 MB / 490.7 MB Notification: Performance of SimCode: time 8.12e-07/0.005562, allocations: 0 / 0.561 GB, free: 10.95 MB / 490.7 MB Notification: Performance of Templates: time 0.002046/0.007608, allocations: 0.605 MB / 0.5615 GB, free: 10.37 MB / 490.7 MB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5872487160377204]