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.002047/0.002047, allocations: 97.91 kB / 15.05 MB, free: 1.105 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.002787/0.002787, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 3.36/3.36, allocations: 205.4 MB / 222.1 MB, free: 5.652 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 3.32/3.32, allocations: 292.6 MB / 0.5497 GB, free: 14.6 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.000633/0.000633, allocations: 12.72 kB / 0.6737 GB, free: 26.12 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4634/0.4641, allocations: 116.3 MB / 0.7872 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001116/0.4653, allocations: 325.8 kB / 0.7875 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0002926/0.4656, allocations: 33.64 kB / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.807e-05/0.4656, allocations: 0 / 0.7876 GB, free: 11.52 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.909e-05/0.4657, allocations: 4 kB / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.799e-05/0.4658, allocations: 0 / 0.7876 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002639/0.466, allocations: 11.98 kB / 0.7876 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.19e-05/0.4661, allocations: 7.984 kB / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 6.83e-05/0.4662, allocations: 0 / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 3.179e-05/0.4662, allocations: 3.938 kB / 0.7876 GB, free: 11.49 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.45e-05/0.4663, allocations: 4 kB / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.861e-05/0.4663, allocations: 0 / 0.7876 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001394/0.4665, allocations: 19.97 kB / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 3.688e-05/0.4665, allocations: 0 / 0.7876 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.761e-05/0.4666, allocations: 33.7 kB / 0.7877 GB, free: 11.43 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001179/0.4667, allocations: 19.98 kB / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4667, allocations: 0 / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.607e-06/0.4668, allocations: 0 / 0.7877 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.995e-06/0.4668, allocations: 0 / 0.7877 GB, free: 11.41 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.0005565/0.4673, allocations: 345.1 kB / 0.788 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.268e-05/0.4674, allocations: 8.031 kB / 0.788 GB, free: 11.01 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.005e-05/0.4675, allocations: 42.5 kB / 0.7881 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.22e-05/0.4675, allocations: 7.844 kB / 0.7881 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.4677, allocations: 167.2 kB / 0.7882 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.974e-05/0.4677, allocations: 8 kB / 0.7882 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.989e-06/0.4677, allocations: 0 / 0.7882 GB, free: 10.74 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001895/0.4679, allocations: 57.67 kB / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.144e-05/0.468, allocations: 0 / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.468, allocations: 0 / 0.7883 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.811e-05/0.468, allocations: 7.984 kB / 0.7883 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.334e-05/0.4681, allocations: 31.91 kB / 0.7883 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000505/0.4686, allocations: 268.8 kB / 0.7886 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 6.412e-05/0.4687, allocations: 22.64 kB / 0.7886 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 6.082e-06/0.4687, allocations: 0 / 0.7886 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.126e-05/0.4688, allocations: 30.56 kB / 0.7886 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 1.443e-06/0.4688, allocations: 0 / 0.7886 GB, free: 10.25 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0002531/0.469, allocations: 63.34 kB / 0.7887 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.905e-05/0.4691, allocations: 93.05 kB / 0.7888 GB, free: 10.07 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001425/0.4693, allocations: 118 kB / 0.7889 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.025e-05/0.4693, allocations: 25.7 kB / 0.7889 GB, free: 9.914 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.037e-05/0.4694, allocations: 103.8 kB / 0.789 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.274e-05/0.4694, allocations: 7.891 kB / 0.789 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.4694, allocations: 0 / 0.789 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001817/0.4696, allocations: 310.8 kB / 0.7893 GB, free: 9.488 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.356e-05/0.4696, allocations: 12 kB / 0.7893 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.289e-05/0.4697, allocations: 66.92 kB / 0.7894 GB, free: 9.387 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.234e-05/0.4698, allocations: 49.62 kB / 0.7894 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.735e-06/0.4698, allocations: 0 / 0.7894 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000173/0.47, allocations: 115.2 kB / 0.7895 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 7.136e-05/0.4701, allocations: 29.7 kB / 0.7896 GB, free: 9.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.153e-05/0.4701, allocations: 7.938 kB / 0.7896 GB, free: 9.164 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.249e-05/0.4701, allocations: 7.984 kB / 0.7896 GB, free: 9.156 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.612e-05/0.4702, allocations: 8 kB / 0.7896 GB, free: 9.148 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.345e-05/0.4702, allocations: 7.953 kB / 0.7896 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.38e-05/0.4703, allocations: 16.09 kB / 0.7896 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.093e-05/0.4704, allocations: 11.94 kB / 0.7896 GB, free: 9.113 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001715/0.4705, allocations: 147.5 kB / 0.7898 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.415e-05/0.4706, allocations: 0 / 0.7898 GB, free: 8.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.712e-05/0.4706, allocations: 11.53 kB / 0.7898 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.425e-06/0.4706, allocations: 0 / 0.7898 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.012e-06/0.4706, allocations: 0 / 0.7898 GB, free: 8.938 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.701e-06/0.4706, allocations: 3.953 kB / 0.7898 GB, free: 8.934 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001952/0.4708, allocations: 149.7 kB / 0.7899 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.213e-06/0.4708, allocations: 0 / 0.7899 GB, free: 8.738 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.4708, allocations: 7.938 kB / 0.7899 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.4709, allocations: 0 / 0.7899 GB, free: 8.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4709, allocations: 4 kB / 0.7899 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.4709, allocations: 0 / 0.7899 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4709, allocations: 0 / 0.7899 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001659/0.4711, allocations: 165.2 kB / 0.7901 GB, free: 8.543 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.4711, allocations: 81.02 kB / 0.7902 GB, free: 8.445 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.4712, allocations: 4 kB / 0.7902 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.187e-05/0.4712, allocations: 12.02 kB / 0.7902 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.242e-05/0.4713, allocations: 7.938 kB / 0.7902 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.158e-06/0.4713, allocations: 0 / 0.7902 GB, free: 8.422 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 6.001e-05/0.4713, allocations: 87.27 kB / 0.7903 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4713, allocations: 0 / 0.7903 GB, free: 8.336 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002649/0.4716, allocations: 16 kB / 0.7903 GB, free: 8.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006871/0.4723, allocations: 0.7024 MB / 0.791 GB, free: 7.586 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000255/0.4726, allocations: 83.33 kB / 0.7911 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/0.4726, allocations: 0 / 0.7911 GB, free: 7.492 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 4.943e-05/0.4726, allocations: 59.34 kB / 0.7911 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001614/0.4728, allocations: 0.5938 kB / 0.7911 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005783/0.4734, allocations: 155.5 kB / 0.7913 GB, free: 7.234 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005488/0.4739, allocations: 0.677 MB / 0.7919 GB, free: 6.531 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001466/0.4741, allocations: 16.16 kB / 0.7919 GB, free: 6.512 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.99e-05/0.4741, allocations: 11.44 kB / 0.792 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of SimCode: time 2.51e-07/0.4742, allocations: 0 / 0.792 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02453/0.4987, allocations: 1.205 MB / 0.7931 GB, free: 5.453 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0005795/0.4994, allocations: 198.5 kB / 0.7933 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.011/3.511, allocations: 3.25 kB / 0.7933 GB, free: 5.211 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/linux/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) Environment - environmentSimulation: