Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.478/2.478, allocations: 251.3 MB / 266.2 MB, free: 11.5 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0013/0.0013, allocations: 180.4 kB / 325.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.356/2.356, allocations: 205.4 MB / 0.5767 GB, free: 20.71 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008875/0.0008872, allocations: 101.6 kB / 0.6813 GB, free: 13.52 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004786/0.0004787, allocations: 15.84 kB / 0.7953 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2223/0.2228, allocations: 106.3 MB / 0.899 GB, free: 65.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0008038/0.2236, allocations: 338.1 kB / 0.8994 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002046/0.2239, allocations: 27.97 kB / 0.8994 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.098e-05/0.2239, allocations: 0 / 0.8994 GB, free: 65 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.654e-05/0.2239, allocations: 3.938 kB / 0.8994 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.6e-05/0.224, allocations: 4 kB / 0.8994 GB, free: 64.99 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001733/0.2242, allocations: 11.98 kB / 0.8994 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.859e-05/0.2242, allocations: 0 / 0.8994 GB, free: 64.98 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 5.084e-05/0.2243, allocations: 3.938 kB / 0.8994 GB, free: 64.97 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 2.344e-05/0.2243, allocations: 11.98 kB / 0.8994 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.858e-05/0.2244, allocations: 3.984 kB / 0.8994 GB, free: 64.96 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.229e-05/0.2244, allocations: 4 kB / 0.8994 GB, free: 64.95 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 9.195e-05/0.2245, allocations: 23.98 kB / 0.8995 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 2.362e-05/0.2245, allocations: 3.938 kB / 0.8995 GB, free: 64.93 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.294e-05/0.2246, allocations: 25.7 kB / 0.8995 GB, free: 64.89 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.12e-05/0.2246, allocations: 11.98 kB / 0.8995 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.2246, allocations: 0 / 0.8995 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.864e-06/0.2247, allocations: 0 / 0.8995 GB, free: 64.88 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.2247, allocations: 3.938 kB / 0.8995 GB, free: 64.88 MB / 0.6042 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.0002757/0.225, allocations: 354.6 kB / 0.8998 GB, free: 64.48 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.772e-05/0.225, allocations: 8.031 kB / 0.8998 GB, free: 64.47 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.007e-05/0.225, allocations: 4.938 kB / 0.8998 GB, free: 64.46 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.086e-05/0.2251, allocations: 164.4 kB / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.569e-05/0.2252, allocations: 4.375 kB / 0.9 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.091e-05/0.2252, allocations: 384 / 0.9 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001628/0.2253, allocations: 62.17 kB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.2254, allocations: 192 / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.489e-05/0.2254, allocations: 7.922 kB / 0.9001 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.737e-05/0.2254, allocations: 11.98 kB / 0.9001 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.187e-05/0.2255, allocations: 23.98 kB / 0.9001 GB, free: 64.15 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003205/0.2258, allocations: 264.8 kB / 0.9004 GB, free: 63.84 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 4.644e-05/0.2259, allocations: 23.69 kB / 0.9004 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.788e-05/0.2259, allocations: 4.859 kB / 0.9004 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 9.127e-06/0.2259, allocations: 3.938 kB / 0.9004 GB, free: 63.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.137e-05/0.226, allocations: 34.62 kB / 0.9004 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 1.573e-06/0.226, allocations: 0 / 0.9004 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001817/0.2262, allocations: 67.41 kB / 0.9005 GB, free: 63.68 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.264e-05/0.2262, allocations: 81.09 kB / 0.9006 GB, free: 63.58 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.365e-05/0.2263, allocations: 118.1 kB / 0.9007 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.035e-05/0.2263, allocations: 25.7 kB / 0.9007 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.958e-05/0.2264, allocations: 99.77 kB / 0.9008 GB, free: 63.32 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.264e-05/0.2264, allocations: 11.92 kB / 0.9008 GB, free: 63.31 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.303e-06/0.2264, allocations: 7.938 kB / 0.9008 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.098e-05/0.2265, allocations: 314.8 kB / 0.9011 GB, free: 62.99 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.248e-05/0.2265, allocations: 16.06 kB / 0.9011 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.113e-05/0.2266, allocations: 58.86 kB / 0.9012 GB, free: 62.89 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.008e-05/0.2267, allocations: 49.69 kB / 0.9012 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.2267, allocations: 0 / 0.9012 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001798/0.2269, allocations: 119.2 kB / 0.9014 GB, free: 62.71 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 3.187e-05/0.2269, allocations: 29.7 kB / 0.9014 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.153e-06/0.2269, allocations: 4 kB / 0.9014 GB, free: 62.67 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.753e-05/0.227, allocations: 4.234 kB / 0.9014 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.691e-05/0.2271, allocations: 16 kB / 0.9014 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.337e-06/0.2271, allocations: 7.938 kB / 0.9014 GB, free: 62.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.445e-05/0.2272, allocations: 7.906 kB / 0.9014 GB, free: 62.63 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.957e-05/0.2272, allocations: 4 kB / 0.9014 GB, free: 62.63 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.212e-05/0.2273, allocations: 147.5 kB / 0.9016 GB, free: 62.47 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.071e-05/0.2274, allocations: 4 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.693e-05/0.2274, allocations: 3.531 kB / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.2274, allocations: 0 / 0.9016 GB, free: 62.46 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.2274, allocations: 11.94 kB / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.2274, allocations: 0 / 0.9016 GB, free: 62.45 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001349/0.2276, allocations: 157.6 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.2276, allocations: 0 / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.2276, allocations: 0 / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.2276, allocations: 3.984 kB / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.677e-06/0.2276, allocations: 0 / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.2276, allocations: 0 / 0.9017 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.2276, allocations: 4 kB / 0.9017 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001152/0.2277, allocations: 177 kB / 0.9019 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.637e-05/0.2278, allocations: 77.11 kB / 0.902 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.735e-05/0.2278, allocations: 3.984 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.276e-05/0.2279, allocations: 0 / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.218e-05/0.2279, allocations: 4 kB / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.993e-06/0.2279, allocations: 0 / 0.902 GB, free: 61.94 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.701e-05/0.228, allocations: 95.33 kB / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 4.2e-07/0.228, allocations: 0 / 0.9021 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003097/0.2283, allocations: 11.94 kB / 0.9021 GB, free: 61.83 MB / 0.6042 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.2285, allocations: 111.2 kB / 0.9022 GB, free: 61.71 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001591/0.2287, allocations: 83.33 kB / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.2287, allocations: 0 / 0.9023 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 3.254e-05/0.2287, allocations: 59.34 kB / 0.9023 GB, free: 61.55 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002505/0.229, allocations: 11.94 kB / 0.9023 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002301/0.2292, allocations: 111.2 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001388/0.2294, allocations: 0.6809 MB / 0.9031 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0001/0.2295, allocations: 7.984 kB / 0.9031 GB, free: 60.69 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.342e-05/0.2296, allocations: 11.44 kB / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of SimCode: time 9.02e-07/0.2296, allocations: 0 / 0.9031 GB, free: 60.68 MB / 0.6042 GB Notification: Performance of Templates: time 0.003203/0.2328, allocations: 0.4918 MB / 0.9036 GB, free: 60.2 MB / 0.6042 GB make -j1 -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)