Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008363/0.0008364, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007498/0.007498, allocations: 169.9 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.604/1.604, allocations: 205.4 MB / 222.4 MB, free: 5.797 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.666/0.666, allocations: 95.63 MB / 366.4 MB, free: 10.3 MB / 302.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006432/0.0006433, allocations: 16 kB / 447.5 MB, free: 9.035 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4289/0.4296, allocations: 70.32 MB / 0.5057 GB, free: 16.35 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005829/0.4302, allocations: 281 kB / 0.5059 GB, free: 16.08 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001683/0.4304, allocations: 39.86 kB / 0.506 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.002e-05/0.4304, allocations: 0 / 0.506 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.56e-05/0.4305, allocations: 4 kB / 0.506 GB, free: 16.04 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.531e-05/0.4305, allocations: 4 kB / 0.506 GB, free: 16.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.902e-05/0.4306, allocations: 7.984 kB / 0.506 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 2.877e-05/0.4306, allocations: 4 kB / 0.506 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 2.537e-05/0.4307, allocations: 3.938 kB / 0.506 GB, free: 16.02 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.233e-05/0.4307, allocations: 4 kB / 0.506 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.457e-05/0.4307, allocations: 3.938 kB / 0.506 GB, free: 16.01 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.023e-06/0.4307, allocations: 3.984 kB / 0.506 GB, free: 16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.802e-05/0.4308, allocations: 23.97 kB / 0.506 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 2.651e-05/0.4308, allocations: 4 kB / 0.506 GB, free: 15.98 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.148e-05/0.4308, allocations: 33.64 kB / 0.5061 GB, free: 15.94 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 5.567e-05/0.4309, allocations: 23.98 kB / 0.5061 GB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.4309, allocations: 0 / 0.5061 GB, free: 15.91 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.4309, allocations: 3.938 kB / 0.5061 GB, free: 15.91 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.226e-06/0.4309, allocations: 0 / 0.5061 GB, free: 15.91 MB / 382.1 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.0002142/0.4311, allocations: 349.2 kB / 0.5064 GB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 2.73e-05/0.4312, allocations: 19.92 kB / 0.5064 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.603e-05/0.4312, allocations: 0.9375 kB / 0.5064 GB, free: 15.5 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.159e-05/0.4313, allocations: 162.4 kB / 0.5066 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.799e-06/0.4313, allocations: 4.375 kB / 0.5066 GB, free: 15.3 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.266e-06/0.4313, allocations: 7.938 kB / 0.5066 GB, free: 15.29 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.695e-05/0.4314, allocations: 65.64 kB / 0.5067 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.35e-06/0.4314, allocations: 0 / 0.5067 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-06/0.4314, allocations: 0 / 0.5067 GB, free: 15.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.295e-05/0.4314, allocations: 4 kB / 0.5067 GB, free: 15.21 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.579e-05/0.4315, allocations: 27.92 kB / 0.5067 GB, free: 15.19 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002626/0.4317, allocations: 268.8 kB / 0.507 GB, free: 14.88 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.26e-05/0.4318, allocations: 21.62 kB / 0.507 GB, free: 14.85 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.25e-05/0.4318, allocations: 8.922 kB / 0.507 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.729e-06/0.4318, allocations: 0 / 0.507 GB, free: 14.84 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.723e-05/0.4318, allocations: 30.56 kB / 0.507 GB, free: 14.8 MB / 382.1 MB Notification: Performance of pre-optimization done (n=1): time 7.41e-07/0.4318, allocations: 0 / 0.507 GB, free: 14.8 MB / 382.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001071/0.432, allocations: 75.33 kB / 0.5071 GB, free: 14.71 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.038e-05/0.432, allocations: 81.05 kB / 0.5072 GB, free: 14.61 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.061e-05/0.4321, allocations: 117.9 kB / 0.5073 GB, free: 14.49 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.174e-05/0.4321, allocations: 25.7 kB / 0.5073 GB, free: 14.46 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.177e-05/0.4321, allocations: 111.7 kB / 0.5074 GB, free: 14.34 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.137e-06/0.4321, allocations: 0 / 0.5074 GB, free: 14.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.893e-05/0.4322, allocations: 13.72 kB / 0.5074 GB, free: 14.32 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.451e-05/0.4322, allocations: 314.8 kB / 0.5077 GB, free: 14.01 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.815e-05/0.4323, allocations: 11.98 kB / 0.5077 GB, free: 14 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.555e-05/0.4323, allocations: 62.86 kB / 0.5078 GB, free: 13.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.786e-05/0.4324, allocations: 130.1 kB / 0.5079 GB, free: 13.75 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.743e-06/0.4324, allocations: 0 / 0.5079 GB, free: 13.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001125/0.4325, allocations: 119.2 kB / 0.508 GB, free: 13.62 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.555e-05/0.4325, allocations: 35.98 kB / 0.5081 GB, free: 13.58 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.4325, allocations: 11.94 kB / 0.5081 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.729e-06/0.4326, allocations: 0 / 0.5081 GB, free: 13.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.497e-05/0.4326, allocations: 23.86 kB / 0.5081 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.4326, allocations: 3.938 kB / 0.5081 GB, free: 13.54 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.101e-05/0.4327, allocations: 11.91 kB / 0.5081 GB, free: 13.53 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.068e-05/0.4327, allocations: 4 kB / 0.5081 GB, free: 13.52 MB / 382.1 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.098e-05/0.4328, allocations: 143.5 kB / 0.5083 GB, free: 13.37 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.265e-05/0.4328, allocations: 4 kB / 0.5083 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.596e-06/0.4328, allocations: 7.484 kB / 0.5083 GB, free: 13.36 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.4328, allocations: 7.938 kB / 0.5083 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.916e-06/0.4328, allocations: 0 / 0.5083 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.533e-06/0.4328, allocations: 0 / 0.5083 GB, free: 13.35 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001198/0.4329, allocations: 161.8 kB / 0.5084 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.433, allocations: 0 / 0.5084 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.433, allocations: 0 / 0.5084 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.082e-06/0.433, allocations: 0 / 0.5084 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.487e-06/0.433, allocations: 0 / 0.5084 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.433, allocations: 3.938 kB / 0.5084 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.433, allocations: 0 / 0.5084 GB, free: 13.14 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001/0.4331, allocations: 173.1 kB / 0.5086 GB, free: 12.95 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.632e-05/0.4331, allocations: 85.05 kB / 0.5087 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.965e-06/0.4331, allocations: 0 / 0.5087 GB, free: 12.85 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.953e-05/0.4332, allocations: 3.938 kB / 0.5087 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.392e-05/0.4332, allocations: 3.984 kB / 0.5087 GB, free: 12.84 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.4332, allocations: 4 kB / 0.5087 GB, free: 12.84 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.357e-05/0.4333, allocations: 91.27 kB / 0.5088 GB, free: 12.75 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4333, allocations: 4.031 kB / 0.5088 GB, free: 12.74 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002176/0.4335, allocations: 8 kB / 0.5088 GB, free: 12.73 MB / 382.1 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.0001203/0.4336, allocations: 107.2 kB / 0.5089 GB, free: 12.62 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 8.834e-05/0.4337, allocations: 83.33 kB / 0.509 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.323e-06/0.4337, allocations: 0 / 0.509 GB, free: 12.52 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.977e-05/0.4338, allocations: 59.84 kB / 0.509 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001745/0.4339, allocations: 7.656 kB / 0.509 GB, free: 12.45 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001374/0.4341, allocations: 113.9 kB / 0.5091 GB, free: 12.31 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001806/0.4343, allocations: 0.677 MB / 0.5098 GB, free: 11.61 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.292e-05/0.4344, allocations: 15.97 kB / 0.5098 GB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.353e-06/0.4344, allocations: 7.438 kB / 0.5098 GB, free: 11.59 MB / 382.1 MB Notification: Performance of SimCode: time 2.91e-07/0.4344, allocations: 4 kB / 0.5098 GB, free: 11.58 MB / 382.1 MB Notification: Performance of Templates: time 0.00221/0.4366, allocations: 0.4923 MB / 0.5103 GB, free: 11.09 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) Environment - environmentSimulation: