Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.575/1.575, allocations: 292.3 MB / 308.1 MB, free: 4.301 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001983/0.001983, allocations: 181.5 kB / 376.9 MB, free: 1.812 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.39/1.39, allocations: 205.1 MB / 0.6354 GB, free: 9.785 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009368/0.0009367, allocations: 103.5 kB / 0.748 GB, free: 61.32 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0009526/0.0009527, allocations: 51.92 kB / 0.8704 GB, free: 13.11 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2306/0.2316, allocations: 114.6 MB / 0.9822 GB, free: 10.39 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002089/0.2337, allocations: 0.6627 MB / 0.9829 GB, free: 9.719 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0002442/0.234, allocations: 31.89 kB / 0.9829 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.367e-05/0.234, allocations: 0 / 0.9829 GB, free: 9.688 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.401e-05/0.234, allocations: 4 kB / 0.9829 GB, free: 9.684 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.107e-05/0.2341, allocations: 3.984 kB / 0.9829 GB, free: 9.68 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001649/0.2343, allocations: 11.98 kB / 0.9829 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 4.354e-05/0.2343, allocations: 0 / 0.9829 GB, free: 9.668 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 3.884e-05/0.2344, allocations: 7.938 kB / 0.9829 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 1.704e-05/0.2344, allocations: 0 / 0.9829 GB, free: 9.66 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 2.042e-05/0.2344, allocations: 8 kB / 0.9829 GB, free: 9.652 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 1.101e-05/0.2344, allocations: 4 kB / 0.9829 GB, free: 9.648 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.835e-05/0.2345, allocations: 19.97 kB / 0.983 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 3.417e-05/0.2345, allocations: 0 / 0.983 GB, free: 9.629 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.879e-05/0.2346, allocations: 7.938 kB / 0.983 GB, free: 9.621 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 8.525e-05/0.2347, allocations: 27.91 kB / 0.983 GB, free: 9.594 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2347, allocations: 3.938 kB / 0.983 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.41e-07/0.2347, allocations: 0 / 0.983 GB, free: 9.59 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.2347, allocations: 0 / 0.983 GB, free: 9.59 MB / 0.7136 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.0003343/0.235, allocations: 353.2 kB / 0.9833 GB, free: 9.188 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.545e-05/0.2351, allocations: 16.03 kB / 0.9834 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.224e-05/0.2351, allocations: 0.9375 kB / 0.9834 GB, free: 9.172 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.921e-05/0.2352, allocations: 164.6 kB / 0.9835 GB, free: 8.973 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.281e-05/0.2352, allocations: 4.359 kB / 0.9835 GB, free: 8.969 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.367e-05/0.2352, allocations: 4.375 kB / 0.9835 GB, free: 8.965 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001262/0.2354, allocations: 54.25 kB / 0.9836 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.2354, allocations: 192 / 0.9836 GB, free: 8.906 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.2354, allocations: 7.922 kB / 0.9836 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.373e-05/0.2354, allocations: 4 kB / 0.9836 GB, free: 8.895 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.72e-05/0.2355, allocations: 27.92 kB / 0.9836 GB, free: 8.867 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003167/0.2358, allocations: 276.8 kB / 0.9839 GB, free: 8.547 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 3.706e-05/0.2359, allocations: 14.58 kB / 0.9839 GB, free: 8.523 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.635e-05/0.2359, allocations: 8.922 kB / 0.9839 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 6.913e-06/0.2359, allocations: 0 / 0.9839 GB, free: 8.512 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.075e-05/0.2359, allocations: 30.56 kB / 0.9839 GB, free: 8.473 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.2359, allocations: 4 kB / 0.9839 GB, free: 8.469 MB / 0.7136 GB Notification: Performance of matching and sorting (n=1): time 0.0001446/0.2361, allocations: 75.33 kB / 0.984 GB, free: 8.383 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.799e-05/0.2361, allocations: 77.11 kB / 0.9841 GB, free: 8.289 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.266e-05/0.2362, allocations: 113.8 kB / 0.9842 GB, free: 8.168 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.2362, allocations: 29.64 kB / 0.9842 GB, free: 8.133 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.084e-05/0.2363, allocations: 111.7 kB / 0.9843 GB, free: 8.02 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.363e-06/0.2363, allocations: 3.906 kB / 0.9843 GB, free: 8.016 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.499e-05/0.2363, allocations: 21.72 kB / 0.9843 GB, free: 7.988 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 9.167e-05/0.2364, allocations: 330.9 kB / 0.9847 GB, free: 7.656 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.466e-05/0.2365, allocations: 4 kB / 0.9847 GB, free: 7.652 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.251e-05/0.2365, allocations: 62.8 kB / 0.9847 GB, free: 7.566 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.131e-05/0.2366, allocations: 126.2 kB / 0.9848 GB, free: 7.406 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.2366, allocations: 4 kB / 0.9848 GB, free: 7.402 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001346/0.2368, allocations: 119.2 kB / 0.985 GB, free: 7.273 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 3.278e-05/0.2368, allocations: 29.7 kB / 0.985 GB, free: 7.238 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.2368, allocations: 4 kB / 0.985 GB, free: 7.234 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2368, allocations: 3.984 kB / 0.985 GB, free: 7.23 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.566e-05/0.2369, allocations: 12 kB / 0.985 GB, free: 7.219 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.803e-06/0.2369, allocations: 8.406 kB / 0.985 GB, free: 7.211 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.676e-05/0.237, allocations: 15.84 kB / 0.985 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.374e-05/0.237, allocations: 4.25 kB / 0.985 GB, free: 7.191 MB / 0.7136 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.2e-05/0.2371, allocations: 151.5 kB / 0.9852 GB, free: 7.027 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.348e-05/0.2371, allocations: 4 kB / 0.9852 GB, free: 7.023 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.195e-05/0.2371, allocations: 3.531 kB / 0.9852 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.218e-06/0.2372, allocations: 8 kB / 0.9852 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.2372, allocations: 0 / 0.9852 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.2372, allocations: 0 / 0.9852 GB, free: 7.008 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001301/0.2373, allocations: 153.6 kB / 0.9853 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.2373, allocations: 0 / 0.9853 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.2373, allocations: 0 / 0.9853 GB, free: 6.809 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.2373, allocations: 4 kB / 0.9853 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.2373, allocations: 0 / 0.9853 GB, free: 6.805 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.535e-06/0.2373, allocations: 4 kB / 0.9853 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.2373, allocations: 0 / 0.9853 GB, free: 6.801 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003287/0.2377, allocations: 0.7099 MB / 0.986 GB, free: 6.027 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.318e-05/0.2377, allocations: 85.05 kB / 0.9861 GB, free: 5.926 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.2378, allocations: 7.969 kB / 0.9861 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.972e-05/0.2378, allocations: 0 / 0.9861 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.323e-05/0.2378, allocations: 0 / 0.9861 GB, free: 5.918 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.484e-06/0.2378, allocations: 7.984 kB / 0.9861 GB, free: 5.91 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.189e-05/0.2379, allocations: 91.27 kB / 0.9862 GB, free: 5.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2379, allocations: 3.938 kB / 0.9862 GB, free: 5.816 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003118/0.2382, allocations: 8 kB / 0.9862 GB, free: 5.809 MB / 0.7136 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.0001655/0.2384, allocations: 107.2 kB / 0.9863 GB, free: 5.695 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001165/0.2385, allocations: 91.33 kB / 0.9864 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.2385, allocations: 0 / 0.9864 GB, free: 5.594 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.2386, allocations: 59.34 kB / 0.9865 GB, free: 5.523 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001817/0.2388, allocations: 4 kB / 0.9865 GB, free: 5.52 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002582/0.239, allocations: 214.2 kB / 0.9867 GB, free: 5.273 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002187/0.2393, allocations: 0.6848 MB / 0.9874 GB, free: 4.562 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 8.856e-05/0.2393, allocations: 11.98 kB / 0.9874 GB, free: 4.551 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.085e-06/0.2394, allocations: 7.438 kB / 0.9874 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of SimCode: time 2e-07/0.2394, allocations: 0 / 0.9874 GB, free: 4.543 MB / 0.7136 GB Notification: Performance of Templates: time 0.002073/0.2414, allocations: 0.5108 MB / 0.9879 GB, free: 4.035 MB / 0.7136 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)