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.001127/0.001127, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001114/0.001114, allocations: 190.7 kB / 16.25 MB, free: 6.621 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.135/1.135, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.657/1.657, allocations: 292.3 MB / 0.5486 GB, free: 13.64 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.001321/0.001321, allocations: 66.17 kB / 0.6711 GB, free: 26.24 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1997/0.201, allocations: 114.5 MB / 0.783 GB, free: 13.8 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001669/0.2027, allocations: 0.6626 MB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002123/0.203, allocations: 39.86 kB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.72e-05/0.203, allocations: 0 / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.598e-05/0.203, allocations: 0 / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.027e-05/0.2031, allocations: 4 kB / 0.7837 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001634/0.2032, allocations: 8 kB / 0.7837 GB, free: 13.08 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 6.311e-05/0.2033, allocations: 7.984 kB / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.866e-05/0.2034, allocations: 0 / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.536e-05/0.2034, allocations: 0 / 0.7837 GB, free: 13.07 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.947e-05/0.2034, allocations: 8 kB / 0.7837 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.096e-05/0.2034, allocations: 0 / 0.7837 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.118e-05/0.2035, allocations: 19.98 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.46e-05/0.2035, allocations: 7.938 kB / 0.7837 GB, free: 13.04 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.125e-05/0.2036, allocations: 7.922 kB / 0.7837 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.551e-05/0.2036, allocations: 23.91 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2037, allocations: 4 kB / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.333e-06/0.2037, allocations: 0 / 0.7837 GB, free: 13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.987e-06/0.2037, allocations: 0 / 0.7837 GB, free: 13 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.000299/0.204, allocations: 353.2 kB / 0.7841 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.287e-05/0.204, allocations: 12.03 kB / 0.7841 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.025e-05/0.204, allocations: 38.69 kB / 0.7841 GB, free: 12.54 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.266e-05/0.2041, allocations: 8.844 kB / 0.7841 GB, free: 12.53 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.281e-05/0.2042, allocations: 164.6 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.907e-06/0.2042, allocations: 384 / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.834e-06/0.2042, allocations: 4.375 kB / 0.7843 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001045/0.2043, allocations: 54.25 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.2043, allocations: 3.938 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.151e-06/0.2043, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.086e-05/0.2043, allocations: 11.98 kB / 0.7844 GB, free: 12.25 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.852e-05/0.2044, allocations: 35.91 kB / 0.7844 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002648/0.2047, allocations: 264.8 kB / 0.7847 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.2047, allocations: 14.58 kB / 0.7847 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.61e-05/0.2047, allocations: 8.922 kB / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 5.771e-06/0.2047, allocations: 0 / 0.7847 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.122e-05/0.2048, allocations: 38.56 kB / 0.7847 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.2048, allocations: 4 kB / 0.7847 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001479/0.2049, allocations: 71.33 kB / 0.7848 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.205, allocations: 77.11 kB / 0.7849 GB, free: 11.65 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.14e-05/0.2051, allocations: 113.8 kB / 0.785 GB, free: 11.53 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.2051, allocations: 25.7 kB / 0.785 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.283e-05/0.2051, allocations: 103.8 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.184e-06/0.2051, allocations: 3.906 kB / 0.7851 GB, free: 11.39 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.2052, allocations: 21.84 kB / 0.7851 GB, free: 11.36 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 9.071e-05/0.2053, allocations: 326.8 kB / 0.7854 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.079e-05/0.2053, allocations: 7.984 kB / 0.7854 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.2053, allocations: 58.86 kB / 0.7855 GB, free: 10.94 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.111e-05/0.2054, allocations: 130.1 kB / 0.7856 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2054, allocations: 4 kB / 0.7856 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001265/0.2056, allocations: 119.2 kB / 0.7857 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.2056, allocations: 33.7 kB / 0.7858 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.2056, allocations: 4 kB / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.054e-05/0.2056, allocations: 0 / 0.7858 GB, free: 10.6 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.214e-05/0.2057, allocations: 15.98 kB / 0.7858 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.318e-06/0.2057, allocations: 7.938 kB / 0.7858 GB, free: 10.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.044e-05/0.2058, allocations: 15.78 kB / 0.7858 GB, free: 10.56 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.2058, allocations: 12.19 kB / 0.7858 GB, free: 10.55 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 7.407e-05/0.2059, allocations: 144.1 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.26e-05/0.2059, allocations: 7.984 kB / 0.786 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.098e-05/0.2059, allocations: 3.531 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.2059, allocations: 0 / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/0.2059, allocations: 4 kB / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.683e-06/0.2059, allocations: 0 / 0.786 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001237/0.2061, allocations: 157.6 kB / 0.7861 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.2061, allocations: 0 / 0.7861 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.2061, allocations: 4 kB / 0.7861 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2061, allocations: 0 / 0.7861 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.281e-06/0.2061, allocations: 0 / 0.7861 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.62e-07/0.2061, allocations: 0 / 0.7861 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.2061, allocations: 4 kB / 0.7861 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000106/0.2062, allocations: 177 kB / 0.7863 GB, free: 9.969 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.228e-05/0.2063, allocations: 81.09 kB / 0.7864 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.139e-05/0.2063, allocations: 0 / 0.7864 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.106e-05/0.2063, allocations: 4.031 kB / 0.7864 GB, free: 9.867 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.496e-06/0.2064, allocations: 4 kB / 0.7864 GB, free: 9.863 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.21e-06/0.2064, allocations: 3.984 kB / 0.7864 GB, free: 9.859 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.846e-05/0.2064, allocations: 91.69 kB / 0.7865 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1e-07/0.2064, allocations: 0 / 0.7865 GB, free: 9.77 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.000228/0.2066, allocations: 16 kB / 0.7865 GB, free: 9.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.0003717/0.207, allocations: 0.7103 MB / 0.7872 GB, free: 9.012 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.2071, allocations: 83.33 kB / 0.7873 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2071, allocations: 0 / 0.7873 GB, free: 8.918 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.759e-05/0.2072, allocations: 59.41 kB / 0.7873 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001947/0.2074, allocations: 0 / 0.7873 GB, free: 8.848 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003243/0.2077, allocations: 159 kB / 0.7875 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002136/0.2079, allocations: 0.6807 MB / 0.7881 GB, free: 7.945 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.766e-05/0.208, allocations: 7.984 kB / 0.7881 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.033e-05/0.208, allocations: 11.44 kB / 0.7882 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of SimCode: time 1.402e-06/0.208, allocations: 0 / 0.7882 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5109/0.7189, allocations: 1.341 MB / 0.7895 GB, free: 6.73 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002446/0.7192, allocations: 212 kB / 0.7897 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.661/2.38, allocations: 0 / 0.7897 GB, free: 6.48 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)