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/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 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008915/0.0008915, 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.006139/0.00614, allocations: 170 kB / 16.26 MB, free: 6.613 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.729/1.729, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.669/1.669, allocations: 292.7 MB / 0.5502 GB, free: 14.45 MB / 462.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: Performance of FrontEnd - loaded program: time 0.0005676/0.000568, allocations: 16.19 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2783, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0008763/0.2793, allocations: 327.5 kB / 0.7883 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0003074/0.2796, allocations: 39.94 kB / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.992e-05/0.2796, allocations: 0 / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.152e-05/0.2797, allocations: 0 / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 4.267e-05/0.2797, allocations: 3.938 kB / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.2799, allocations: 11.98 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.138e-05/0.28, allocations: 4 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.962e-05/0.2801, allocations: 4 kB / 0.7884 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 2.858e-05/0.2801, allocations: 7.984 kB / 0.7884 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.662e-05/0.2801, allocations: 0 / 0.7884 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.314e-05/0.2802, allocations: 0 / 0.7884 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001112/0.2803, allocations: 15.98 kB / 0.7884 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 4.492e-05/0.2803, allocations: 15.92 kB / 0.7884 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.726e-05/0.2804, allocations: 29.64 kB / 0.7884 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001056/0.2805, allocations: 15.98 kB / 0.7885 GB, free: 11 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.2805, allocations: 4 kB / 0.7885 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.2805, allocations: 0 / 0.7885 GB, free: 10.99 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.52e-06/0.2805, allocations: 4 kB / 0.7885 GB, free: 10.99 MB / 0.6075 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.0003821/0.2809, allocations: 345.3 kB / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.226e-05/0.281, allocations: 8.031 kB / 0.7888 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.67e-05/0.281, allocations: 38.73 kB / 0.7888 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.537e-05/0.2811, allocations: 12.78 kB / 0.7889 GB, free: 10.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.2812, allocations: 168.5 kB / 0.789 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.391e-05/0.2812, allocations: 4.375 kB / 0.789 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.286e-05/0.2812, allocations: 384 / 0.789 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001699/0.2814, allocations: 54.25 kB / 0.7891 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.081e-05/0.2814, allocations: 7.938 kB / 0.7891 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.2815, allocations: 0 / 0.7891 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.457e-05/0.2815, allocations: 4 kB / 0.7891 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.511e-05/0.2816, allocations: 27.97 kB / 0.7891 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003976/0.282, allocations: 264.8 kB / 0.7894 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 5.373e-05/0.282, allocations: 30.5 kB / 0.7894 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.915e-05/0.2821, allocations: 4.859 kB / 0.7894 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 7.264e-06/0.2821, allocations: 7.984 kB / 0.7894 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.447e-05/0.2821, allocations: 30.56 kB / 0.7894 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.222e-06/0.2821, allocations: 3.938 kB / 0.7894 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.000191/0.2823, allocations: 67.41 kB / 0.7895 GB, free: 9.738 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.868e-05/0.2824, allocations: 81.11 kB / 0.7896 GB, free: 9.641 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.429e-05/0.2825, allocations: 117.8 kB / 0.7897 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.427e-05/0.2825, allocations: 25.7 kB / 0.7897 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.2825, allocations: 107.9 kB / 0.7898 GB, free: 9.375 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.025e-05/0.2826, allocations: 3.906 kB / 0.7898 GB, free: 9.371 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.2826, allocations: 17.7 kB / 0.7898 GB, free: 9.348 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2827, allocations: 322.8 kB / 0.7901 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.477e-05/0.2827, allocations: 8 kB / 0.7902 GB, free: 9.016 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.433e-05/0.2828, allocations: 58.86 kB / 0.7902 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000109/0.2829, allocations: 134.1 kB / 0.7903 GB, free: 8.766 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.127e-06/0.2829, allocations: 4 kB / 0.7903 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001594/0.2831, allocations: 119.2 kB / 0.7905 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 3.172e-05/0.2831, allocations: 29.7 kB / 0.7905 GB, free: 8.598 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.2831, allocations: 4 kB / 0.7905 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.2832, allocations: 0 / 0.7905 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.716e-05/0.2832, allocations: 16 kB / 0.7905 GB, free: 8.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.465e-06/0.2833, allocations: 8.25 kB / 0.7905 GB, free: 8.57 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.426e-05/0.2833, allocations: 15.84 kB / 0.7905 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.7e-05/0.2834, allocations: 7.938 kB / 0.7905 GB, free: 8.547 MB / 0.6075 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 0.0001042/0.2835, allocations: 147.5 kB / 0.7907 GB, free: 8.387 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.686e-05/0.2835, allocations: 7.938 kB / 0.7907 GB, free: 8.379 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.664e-05/0.2835, allocations: 3.531 kB / 0.7907 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.034e-06/0.2835, allocations: 0 / 0.7907 GB, free: 8.371 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.2835, allocations: 4 kB / 0.7907 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.2836, allocations: 0 / 0.7907 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001506/0.2837, allocations: 161.6 kB / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.2837, allocations: 0 / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.41e-07/0.2837, allocations: 0 / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.2837, allocations: 0 / 0.7908 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.776e-06/0.2837, allocations: 3.984 kB / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2837, allocations: 0 / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.133e-06/0.2838, allocations: 0 / 0.7908 GB, free: 8.156 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001214/0.2839, allocations: 169.1 kB / 0.791 GB, free: 7.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.131e-05/0.2839, allocations: 89.03 kB / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.284, allocations: 0 / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.325e-05/0.284, allocations: 0 / 0.7911 GB, free: 7.863 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.854e-05/0.284, allocations: 4 kB / 0.7911 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.769e-06/0.2841, allocations: 0 / 0.7911 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 5.94e-05/0.2841, allocations: 95.2 kB / 0.7912 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.5e-07/0.2841, allocations: 0 / 0.7912 GB, free: 7.766 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002398/0.2844, allocations: 11.94 kB / 0.7912 GB, free: 7.754 MB / 0.6075 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.0004873/0.2849, allocations: 0.7025 MB / 0.7919 GB, free: 7.02 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001332/0.285, allocations: 91.27 kB / 0.792 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.285, allocations: 0 / 0.792 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.594e-05/0.2851, allocations: 55.94 kB / 0.792 GB, free: 6.852 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002139/0.2853, allocations: 19.92 kB / 0.792 GB, free: 6.832 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000394/0.2857, allocations: 144.3 kB / 0.7922 GB, free: 6.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002686/0.286, allocations: 0.677 MB / 0.7928 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 8.481e-05/0.2861, allocations: 11.98 kB / 0.7929 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.525e-05/0.2861, allocations: 11.42 kB / 0.7929 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of SimCode: time 4.61e-07/0.2861, allocations: 4 kB / 0.7929 GB, free: 5.922 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01037/0.2965, allocations: 1.229 MB / 0.7941 GB, free: 4.852 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001771/0.2967, allocations: 215.2 kB / 0.7943 GB, free: 4.598 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.556/1.853, allocations: 0 / 0.7943 GB, free: 4.598 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_8_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)