Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.342/1.342, allocations: 251.5 MB / 266.7 MB, free: 11.04 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001043/0.001043, allocations: 181.4 kB / 325.8 MB, free: 2.699 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.756/1.756, allocations: 205 MB / 0.576 GB, free: 20.96 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008376/0.0008379, allocations: 92.2 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003241/0.0003241, allocations: 15.2 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.229/0.2293, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007564/0.2302, allocations: 339 kB / 0.8965 GB, free: 67.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002533/0.2304, allocations: 43.86 kB / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.845e-05/0.2305, allocations: 4 kB / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 3.457e-05/0.2305, allocations: 0 / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 3.634e-05/0.2305, allocations: 0 / 0.8966 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000177/0.2307, allocations: 8 kB / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 4.363e-05/0.2308, allocations: 7.984 kB / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 3.804e-05/0.2308, allocations: 0 / 0.8966 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 1.808e-05/0.2309, allocations: 7.938 kB / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 2.092e-05/0.2309, allocations: 0 / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.252e-05/0.2309, allocations: 0 / 0.8966 GB, free: 67.69 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 8.672e-05/0.231, allocations: 19.98 kB / 0.8966 GB, free: 67.67 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.143e-05/0.231, allocations: 8 kB / 0.8966 GB, free: 67.66 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.548e-05/0.2311, allocations: 7.922 kB / 0.8966 GB, free: 67.65 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 8.437e-05/0.2312, allocations: 23.91 kB / 0.8967 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.569e-06/0.2312, allocations: 0 / 0.8967 GB, free: 67.63 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.164e-06/0.2312, allocations: 7.938 kB / 0.8967 GB, free: 67.62 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.2312, allocations: 0 / 0.8967 GB, free: 67.62 MB / 0.6042 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.0002522/0.2314, allocations: 349.5 kB / 0.897 GB, free: 67.22 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.238e-05/0.2315, allocations: 8.031 kB / 0.897 GB, free: 67.21 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.853e-05/0.2315, allocations: 42.67 kB / 0.897 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.765e-05/0.2316, allocations: 0.9375 kB / 0.897 GB, free: 67.16 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.543e-05/0.2316, allocations: 164.4 kB / 0.8972 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.204e-05/0.2317, allocations: 384 / 0.8972 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.2317, allocations: 4.375 kB / 0.8972 GB, free: 66.96 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.2318, allocations: 54.25 kB / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.704e-06/0.2318, allocations: 3.938 kB / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-06/0.2318, allocations: 0 / 0.8973 GB, free: 66.9 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.406e-05/0.2319, allocations: 7.984 kB / 0.8973 GB, free: 66.89 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.272e-05/0.2319, allocations: 31.91 kB / 0.8973 GB, free: 66.86 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002754/0.2322, allocations: 268.8 kB / 0.8976 GB, free: 66.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 3.658e-05/0.2322, allocations: 18.56 kB / 0.8976 GB, free: 66.52 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.328e-05/0.2323, allocations: 8.922 kB / 0.8976 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 6.542e-06/0.2323, allocations: 0 / 0.8976 GB, free: 66.51 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.2323, allocations: 30.56 kB / 0.8976 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=1): time 8.42e-07/0.2323, allocations: 0 / 0.8976 GB, free: 66.47 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1): time 0.0001557/0.2325, allocations: 71.44 kB / 0.8977 GB, free: 66.39 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.166e-05/0.2325, allocations: 85.12 kB / 0.8978 GB, free: 66.29 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.369e-05/0.2326, allocations: 117.7 kB / 0.8979 GB, free: 66.16 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.736e-06/0.2326, allocations: 25.7 kB / 0.8979 GB, free: 66.13 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.938e-05/0.2327, allocations: 103.8 kB / 0.898 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 6.482e-06/0.2327, allocations: 0 / 0.898 GB, free: 66.02 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.412e-05/0.2327, allocations: 21.7 kB / 0.898 GB, free: 66 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.23e-05/0.2328, allocations: 314.8 kB / 0.8983 GB, free: 65.68 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.223e-05/0.2328, allocations: 15.98 kB / 0.8983 GB, free: 65.66 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.83e-05/0.2328, allocations: 67.97 kB / 0.8984 GB, free: 65.57 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.099e-05/0.2329, allocations: 126.1 kB / 0.8985 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2329, allocations: 0 / 0.8985 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001126/0.233, allocations: 127.4 kB / 0.8986 GB, free: 65.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.654e-05/0.2331, allocations: 29.7 kB / 0.8987 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.742e-06/0.2331, allocations: 4 kB / 0.8987 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.2331, allocations: 0 / 0.8987 GB, free: 65.24 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.366e-05/0.2332, allocations: 12 kB / 0.8987 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.727e-06/0.2332, allocations: 7.938 kB / 0.8987 GB, free: 65.22 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.681e-05/0.2333, allocations: 15.83 kB / 0.8987 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.384e-05/0.2333, allocations: 7.938 kB / 0.8987 GB, free: 65.2 MB / 0.6042 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 6.546e-05/0.2333, allocations: 139.5 kB / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.304e-05/0.2334, allocations: 8.062 kB / 0.8989 GB, free: 65.04 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.099e-05/0.2334, allocations: 7.469 kB / 0.8989 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.2334, allocations: 7.969 kB / 0.8989 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.657e-06/0.2334, allocations: 0 / 0.8989 GB, free: 65.02 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.2334, allocations: 4 kB / 0.8989 GB, free: 65.01 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.2335, allocations: 161.6 kB / 0.899 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.2335, allocations: 0 / 0.899 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.5e-07/0.2335, allocations: 0 / 0.899 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.2335, allocations: 0 / 0.899 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.604e-06/0.2336, allocations: 0 / 0.899 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.2336, allocations: 0 / 0.899 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2336, allocations: 4 kB / 0.899 GB, free: 64.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.98e-05/0.2337, allocations: 177 kB / 0.8992 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.615e-05/0.2337, allocations: 81.11 kB / 0.8993 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.072e-05/0.2337, allocations: 0 / 0.8993 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.404e-05/0.2338, allocations: 0 / 0.8993 GB, free: 64.51 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.511e-05/0.2338, allocations: 4 kB / 0.8993 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.027e-06/0.2338, allocations: 0 / 0.8993 GB, free: 64.5 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.065e-05/0.2338, allocations: 99.23 kB / 0.8994 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2338, allocations: 3.938 kB / 0.8994 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002472/0.2341, allocations: 8 kB / 0.8994 GB, free: 64.39 MB / 0.6042 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.0002971/0.2344, allocations: 0.7025 MB / 0.9001 GB, free: 63.66 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 9.962e-05/0.2345, allocations: 91.36 kB / 0.9002 GB, free: 63.56 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.2345, allocations: 4 kB / 0.9002 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 2.338e-05/0.2345, allocations: 59.39 kB / 0.9002 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001946/0.2347, allocations: 3.938 kB / 0.9002 GB, free: 63.48 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.2351, allocations: 144.7 kB / 0.9004 GB, free: 63.3 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001443/0.2352, allocations: 0.677 MB / 0.901 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.486e-05/0.2353, allocations: 23.72 kB / 0.901 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.723e-05/0.2353, allocations: 7.438 kB / 0.9011 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of SimCode: time 5.41e-07/0.2353, allocations: 0 / 0.9011 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01005/0.2454, allocations: 1.243 MB / 0.9023 GB, free: 61.5 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001288/0.2456, allocations: 230.5 kB / 0.9025 GB, free: 61.25 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.491/1.736, allocations: 0.5 kB / 0.9025 GB, free: 61.25 MB / 0.6042 GB (rm -f Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_maint.7.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)