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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.001523/0.001523, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001263/0.001263, allocations: 195.8 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.784/2.784, allocations: 472.6 MB / 0.7451 GB, free: 4.652 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001238/0.001238, allocations: 67.36 kB / 0.912 GB, free: 33.37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.308/0.3093, allocations: 159.9 MB / 1.068 GB, free: 10.46 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001908/0.3112, allocations: 0.5893 MB / 1.069 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0002359/0.3115, allocations: 35.88 kB / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.926e-05/0.3115, allocations: 0 / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.665e-05/0.3115, allocations: 0 / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 3.376e-05/0.3116, allocations: 0 / 1.069 GB, free: 9.828 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002113/0.3118, allocations: 15.98 kB / 1.069 GB, free: 9.812 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.89e-05/0.3119, allocations: 7.938 kB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.971e-05/0.3119, allocations: 8 kB / 1.069 GB, free: 9.797 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.879e-05/0.312, allocations: 3.984 kB / 1.069 GB, free: 9.793 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.095e-05/0.312, allocations: 4 kB / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.217e-05/0.312, allocations: 0 / 1.069 GB, free: 9.789 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.625e-05/0.3121, allocations: 19.98 kB / 1.069 GB, free: 9.77 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.144e-05/0.3122, allocations: 3.984 kB / 1.069 GB, free: 9.766 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.434e-05/0.3122, allocations: 7.938 kB / 1.069 GB, free: 9.758 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.197e-05/0.3123, allocations: 19.92 kB / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.599e-06/0.3123, allocations: 0 / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.272e-06/0.3123, allocations: 0 / 1.069 GB, free: 9.738 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.859e-06/0.3123, allocations: 0 / 1.069 GB, free: 9.738 MB / 0.8262 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.0003285/0.3126, allocations: 353.3 kB / 1.069 GB, free: 9.336 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.728e-05/0.3127, allocations: 12.03 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.682e-05/0.3127, allocations: 0.9375 kB / 1.069 GB, free: 9.324 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.651e-05/0.3128, allocations: 164.6 kB / 1.069 GB, free: 9.125 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.3128, allocations: 4.359 kB / 1.069 GB, free: 9.121 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.3129, allocations: 4.375 kB / 1.069 GB, free: 9.117 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.313, allocations: 62.17 kB / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.873e-06/0.313, allocations: 192 / 1.069 GB, free: 9.051 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.313, allocations: 7.938 kB / 1.069 GB, free: 9.043 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.356e-05/0.3131, allocations: 11.94 kB / 1.069 GB, free: 9.031 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.934e-05/0.3131, allocations: 23.98 kB / 1.069 GB, free: 9.008 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003129/0.3134, allocations: 268.8 kB / 1.07 GB, free: 8.695 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 4.463e-05/0.3135, allocations: 18.58 kB / 1.07 GB, free: 8.668 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.954e-05/0.3135, allocations: 12.86 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 5.791e-06/0.3135, allocations: 0 / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.42e-05/0.3136, allocations: 34.56 kB / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.3136, allocations: 0 / 1.07 GB, free: 8.609 MB / 0.8262 GB Notification: Performance of matching and sorting (n=1): time 0.0001794/0.3137, allocations: 75.3 kB / 1.07 GB, free: 8.523 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.3138, allocations: 77.11 kB / 1.07 GB, free: 8.43 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.717e-05/0.3139, allocations: 109.8 kB / 1.07 GB, free: 8.312 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.225e-05/0.3139, allocations: 29.64 kB / 1.07 GB, free: 8.277 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.353e-05/0.314, allocations: 107.8 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 9.177e-06/0.314, allocations: 0 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.202e-05/0.314, allocations: 33.69 kB / 1.07 GB, free: 8.129 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001093/0.3142, allocations: 326.8 kB / 1.071 GB, free: 7.801 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.635e-05/0.3142, allocations: 4.078 kB / 1.071 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.67e-05/0.3142, allocations: 62.84 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001119/0.3144, allocations: 130.1 kB / 1.071 GB, free: 7.547 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3144, allocations: 8 kB / 1.071 GB, free: 7.539 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001546/0.3145, allocations: 111.2 kB / 1.071 GB, free: 7.418 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 3.738e-05/0.3146, allocations: 29.7 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.203e-06/0.3146, allocations: 4 kB / 1.071 GB, free: 7.379 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3146, allocations: 4 kB / 1.071 GB, free: 7.375 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.25e-05/0.3147, allocations: 15.92 kB / 1.071 GB, free: 7.359 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.525e-06/0.3147, allocations: 4 kB / 1.071 GB, free: 7.355 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.502e-05/0.3148, allocations: 16.16 kB / 1.071 GB, free: 7.34 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.706e-05/0.3148, allocations: 4 kB / 1.071 GB, free: 7.336 MB / 0.8262 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.034e-05/0.3149, allocations: 151.9 kB / 1.071 GB, free: 7.172 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.366e-05/0.3149, allocations: 4 kB / 1.071 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.456e-05/0.315, allocations: 7.469 kB / 1.071 GB, free: 7.156 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.315, allocations: 4 kB / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.526e-06/0.315, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.305e-06/0.315, allocations: 0 / 1.071 GB, free: 7.152 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.3151, allocations: 153.6 kB / 1.071 GB, free: 6.953 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.414e-06/0.3151, allocations: 4 kB / 1.071 GB, free: 6.949 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.3151, allocations: 3.938 kB / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.3152, allocations: 0 / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.3152, allocations: 0 / 1.071 GB, free: 6.945 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.3152, allocations: 4 kB / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3152, allocations: 0 / 1.071 GB, free: 6.941 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001216/0.3153, allocations: 165.2 kB / 1.071 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.985e-05/0.3154, allocations: 89 kB / 1.071 GB, free: 6.652 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.287e-05/0.3154, allocations: 4.031 kB / 1.071 GB, free: 6.648 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.151e-05/0.3154, allocations: 11.98 kB / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.3155, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.711e-06/0.3155, allocations: 0 / 1.071 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.679e-05/0.3155, allocations: 83.75 kB / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.643e-06/0.3155, allocations: 0 / 1.072 GB, free: 6.555 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002553/0.3158, allocations: 27.86 kB / 1.072 GB, free: 6.527 MB / 0.8262 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.0001686/0.316, allocations: 100.9 kB / 1.072 GB, free: 6.422 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.3161, allocations: 91.33 kB / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.3161, allocations: 0 / 1.072 GB, free: 6.32 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 3.35e-05/0.3162, allocations: 59.34 kB / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002215/0.3164, allocations: 0 / 1.072 GB, free: 6.25 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002764/0.3167, allocations: 125.3 kB / 1.072 GB, free: 6.102 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.3169, allocations: 0.6729 MB / 1.073 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0001058/0.317, allocations: 19.97 kB / 1.073 GB, free: 5.383 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.549e-05/0.3171, allocations: 7.438 kB / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of SimCode: time 2.91e-07/0.3171, allocations: 0 / 1.073 GB, free: 5.375 MB / 0.8262 GB Notification: Performance of Templates: time 0.002784/0.3199, allocations: 0.5183 MB / 1.073 GB, free: 4.863 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile (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)