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.001116/0.001116, allocations: 108 kB / 15.61 MB, free: 148 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.001109/0.001109, allocations: 197.3 kB / 16.53 MB, free: 6.656 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.128/1.128, allocations: 205.1 MB / 222.4 MB, free: 4.605 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.74/1.74, allocations: 292.3 MB / 0.5489 GB, free: 12.84 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.001459/0.001459, allocations: 70.12 kB / 0.6716 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2136/0.2151, allocations: 114.5 MB / 0.7835 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00213/0.2173, allocations: 0.5978 MB / 0.7841 GB, free: 12.77 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002659/0.2176, allocations: 35.88 kB / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.506e-05/0.2176, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.986e-05/0.2176, allocations: 0 / 0.7841 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 3.892e-05/0.2177, allocations: 7.938 kB / 0.7841 GB, free: 12.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002172/0.2179, allocations: 11.98 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.558e-05/0.218, allocations: 4 kB / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 4.51e-05/0.2181, allocations: 0 / 0.7841 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.981e-05/0.2181, allocations: 4 kB / 0.7841 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 2.778e-05/0.2181, allocations: 11.97 kB / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.501e-05/0.2181, allocations: 0 / 0.7841 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 9.324e-05/0.2182, allocations: 23.92 kB / 0.7841 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.42e-05/0.2183, allocations: 4 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.638e-05/0.2183, allocations: 3.938 kB / 0.7842 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001019/0.2184, allocations: 15.98 kB / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.15e-06/0.2184, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2184, allocations: 0 / 0.7842 GB, free: 12.64 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.2185, allocations: 0 / 0.7842 GB, free: 12.64 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.0003695/0.2188, allocations: 365.2 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.2189, allocations: 8.031 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.616e-05/0.2189, allocations: 34.69 kB / 0.7846 GB, free: 12.18 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.062e-05/0.219, allocations: 12.83 kB / 0.7846 GB, free: 12.17 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.295e-05/0.2191, allocations: 164.6 kB / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.2191, allocations: 384 / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.476e-06/0.2191, allocations: 384 / 0.7847 GB, free: 11.97 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001424/0.2192, allocations: 58.23 kB / 0.7848 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.879e-06/0.2192, allocations: 7.938 kB / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.695e-06/0.2193, allocations: 0 / 0.7848 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.2193, allocations: 8 kB / 0.7848 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.479e-05/0.2194, allocations: 31.91 kB / 0.7848 GB, free: 11.86 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003288/0.2197, allocations: 268.7 kB / 0.7851 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 4.74e-05/0.2198, allocations: 22.58 kB / 0.7851 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.679e-05/0.2198, allocations: 8.922 kB / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-06/0.2198, allocations: 0 / 0.7851 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.2198, allocations: 38.55 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.242e-06/0.2198, allocations: 0 / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001739/0.22, allocations: 67.34 kB / 0.7852 GB, free: 11.38 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.136e-05/0.2201, allocations: 81.11 kB / 0.7853 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.039e-05/0.2202, allocations: 113.8 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.2202, allocations: 25.7 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.987e-05/0.2202, allocations: 103.8 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 7.804e-06/0.2202, allocations: 3.906 kB / 0.7855 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.2203, allocations: 29.83 kB / 0.7856 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001033/0.2204, allocations: 318.8 kB / 0.7859 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.511e-05/0.2204, allocations: 11.98 kB / 0.7859 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.405e-05/0.2205, allocations: 63.23 kB / 0.7859 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001004/0.2206, allocations: 134.1 kB / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.2206, allocations: 0 / 0.7861 GB, free: 10.4 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001364/0.2207, allocations: 127.2 kB / 0.7862 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.947e-05/0.2208, allocations: 30.64 kB / 0.7862 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.321e-06/0.2208, allocations: 4 kB / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.295e-05/0.2208, allocations: 0 / 0.7862 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.273e-05/0.2209, allocations: 16 kB / 0.7862 GB, free: 10.21 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.594e-06/0.2209, allocations: 7.875 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.221, allocations: 20.09 kB / 0.7863 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.769e-05/0.221, allocations: 11.92 kB / 0.7863 GB, free: 10.17 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 8.003e-05/0.2211, allocations: 140.2 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.46e-05/0.2211, allocations: 4 kB / 0.7864 GB, free: 10.01 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.15e-05/0.2211, allocations: 3.531 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.262e-06/0.2211, allocations: 0 / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.2211, allocations: 0 / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/0.2211, allocations: 3.984 kB / 0.7864 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.2213, allocations: 153.6 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.22e-07/0.2213, allocations: 0 / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.235e-06/0.2213, allocations: 7.984 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.112e-06/0.2213, allocations: 0 / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.942e-06/0.2213, allocations: 0 / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.2213, allocations: 0 / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.2213, allocations: 0 / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000115/0.2214, allocations: 177 kB / 0.7867 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.747e-05/0.2215, allocations: 81.11 kB / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.303e-05/0.2215, allocations: 32 / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.326e-05/0.2216, allocations: 7.938 kB / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.2216, allocations: 4 kB / 0.7868 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.2216, allocations: 0 / 0.7868 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.558e-05/0.2216, allocations: 91.2 kB / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.21e-07/0.2217, allocations: 0 / 0.7869 GB, free: 9.398 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002387/0.2219, allocations: 12 kB / 0.7869 GB, free: 9.387 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.0003993/0.2223, allocations: 0.7024 MB / 0.7876 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001273/0.2224, allocations: 83.33 kB / 0.7877 GB, free: 8.559 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.2224, allocations: 4 kB / 0.7877 GB, free: 8.555 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 3.286e-05/0.2225, allocations: 59.39 kB / 0.7878 GB, free: 8.484 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.2227, allocations: 4.594 kB / 0.7878 GB, free: 8.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003692/0.2231, allocations: 154.4 kB / 0.7879 GB, free: 8.289 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002121/0.2233, allocations: 0.6768 MB / 0.7886 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001065/0.2234, allocations: 15.97 kB / 0.7886 GB, free: 7.57 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.34e-05/0.2234, allocations: 7.438 kB / 0.7886 GB, free: 7.562 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.2234, allocations: 3.938 kB / 0.7886 GB, free: 7.559 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01793/0.2414, allocations: 1.409 MB / 0.79 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.909/7.151, allocations: 10.38 kB / 0.79 GB, free: 6.246 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)