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.001039/0.001039, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001134/0.001134, allocations: 191.6 kB / 16.13 MB, free: 6.668 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.218/1.218, allocations: 205.1 MB / 222 MB, free: 4.73 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.604/1.604, allocations: 292.3 MB / 0.5484 GB, free: 13.61 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.001258/0.001258, allocations: 69.34 kB / 0.6709 GB, free: 26.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1584, allocations: 114.5 MB / 0.7828 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001506/0.16, allocations: 0.6615 MB / 0.7834 GB, free: 13.26 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.00021/0.1602, allocations: 39.88 kB / 0.7835 GB, free: 13.22 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.233e-05/0.1602, allocations: 4 kB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.371e-05/0.1603, allocations: 0 / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 2.961e-05/0.1603, allocations: 3.938 kB / 0.7835 GB, free: 13.21 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.1604, allocations: 8 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 3.575e-05/0.1605, allocations: 7.969 kB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 3.215e-05/0.1605, allocations: 4 kB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 1.535e-05/0.1605, allocations: 0 / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 1.949e-05/0.1606, allocations: 4 kB / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 9.908e-06/0.1606, allocations: 0 / 0.7835 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 7.553e-05/0.1607, allocations: 23.98 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.6e-05/0.1607, allocations: 3.938 kB / 0.7835 GB, free: 13.16 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.185e-05/0.1607, allocations: 7.938 kB / 0.7835 GB, free: 13.15 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.492e-05/0.1608, allocations: 23.95 kB / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.1608, allocations: 0 / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 9.31e-07/0.1608, allocations: 0 / 0.7836 GB, free: 13.13 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.106e-06/0.1608, allocations: 0 / 0.7836 GB, free: 13.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.0002534/0.1611, allocations: 353.3 kB / 0.7839 GB, free: 12.73 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.1611, allocations: 15.97 kB / 0.7839 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.716e-05/0.1611, allocations: 30.75 kB / 0.784 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.1612, allocations: 8.844 kB / 0.784 GB, free: 12.66 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.728e-05/0.1613, allocations: 172.5 kB / 0.7841 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.115e-06/0.1613, allocations: 384 / 0.7841 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-06/0.1613, allocations: 384 / 0.7841 GB, free: 12.46 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.1614, allocations: 58.23 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.452e-06/0.1614, allocations: 3.938 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.965e-06/0.1614, allocations: 3.984 kB / 0.7842 GB, free: 12.39 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.323e-05/0.1614, allocations: 12 kB / 0.7842 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.192e-05/0.1615, allocations: 23.98 kB / 0.7842 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002566/0.1617, allocations: 272.7 kB / 0.7845 GB, free: 12.04 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 3.844e-05/0.1618, allocations: 22.52 kB / 0.7845 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.381e-05/0.1618, allocations: 4.859 kB / 0.7845 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-06/0.1618, allocations: 0 / 0.7845 GB, free: 12 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.468e-05/0.1618, allocations: 42.62 kB / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=1): time 8.51e-07/0.1619, allocations: 0 / 0.7846 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of matching and sorting (n=1): time 0.0001362/0.162, allocations: 67.39 kB / 0.7846 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.162, allocations: 81.05 kB / 0.7847 GB, free: 11.77 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.742e-05/0.1621, allocations: 117.8 kB / 0.7848 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.026e-05/0.1621, allocations: 25.7 kB / 0.7848 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.965e-05/0.1622, allocations: 99.78 kB / 0.7849 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 6.793e-06/0.1622, allocations: 7.906 kB / 0.7849 GB, free: 11.5 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.437e-05/0.1622, allocations: 21.72 kB / 0.785 GB, free: 11.48 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 7.515e-05/0.1623, allocations: 318.9 kB / 0.7853 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.1623, allocations: 15.98 kB / 0.7853 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.735e-05/0.1624, allocations: 54.86 kB / 0.7853 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.802e-05/0.1625, allocations: 134.1 kB / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.1625, allocations: 0 / 0.7855 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001255/0.1626, allocations: 123.2 kB / 0.7856 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/0.1627, allocations: 37.7 kB / 0.7856 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.907e-06/0.1627, allocations: 0 / 0.7856 GB, free: 10.72 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.037e-05/0.1627, allocations: 4 kB / 0.7856 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.739e-05/0.1627, allocations: 15.98 kB / 0.7856 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.2e-06/0.1627, allocations: 480 / 0.7856 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.07e-05/0.1628, allocations: 11.84 kB / 0.7856 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.513e-05/0.1628, allocations: 15.88 kB / 0.7857 GB, free: 10.67 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.263e-05/0.1629, allocations: 152.3 kB / 0.7858 GB, free: 10.51 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.347e-05/0.1629, allocations: 4 kB / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.011e-05/0.163, allocations: 3.531 kB / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.163, allocations: 0 / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.163, allocations: 0 / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.653e-06/0.163, allocations: 0 / 0.7858 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.1631, allocations: 157.6 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.1631, allocations: 0 / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.1631, allocations: 0 / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.1631, allocations: 4 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.601e-06/0.1631, allocations: 0 / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1631, allocations: 4 kB / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1631, allocations: 0 / 0.786 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.745e-05/0.1632, allocations: 173 kB / 0.7861 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.633e-05/0.1633, allocations: 77.11 kB / 0.7862 GB, free: 10 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.1633, allocations: 4 kB / 0.7862 GB, free: 9.996 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.103e-05/0.1633, allocations: 3.938 kB / 0.7862 GB, free: 9.992 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.103e-05/0.1634, allocations: 3.984 kB / 0.7862 GB, free: 9.988 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.1634, allocations: 8.031 kB / 0.7862 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.729e-05/0.1634, allocations: 95.2 kB / 0.7863 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1634, allocations: 0 / 0.7863 GB, free: 9.887 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002316/0.1636, allocations: 8 kB / 0.7863 GB, free: 9.879 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.0003268/0.164, allocations: 0.7025 MB / 0.787 GB, free: 9.145 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0001032/0.1641, allocations: 87.27 kB / 0.7871 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1641, allocations: 0 / 0.7871 GB, free: 9.047 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 2.715e-05/0.1641, allocations: 59.41 kB / 0.7871 GB, free: 8.977 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.1643, allocations: 7.938 kB / 0.7872 GB, free: 8.969 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.1646, allocations: 152.8 kB / 0.7873 GB, free: 8.781 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001728/0.1648, allocations: 0.6809 MB / 0.788 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 6.444e-05/0.1649, allocations: 11.98 kB / 0.788 GB, free: 8.062 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.744e-05/0.1649, allocations: 7.438 kB / 0.788 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of SimCode: time 2.3e-07/0.1649, allocations: 0 / 0.788 GB, free: 8.055 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.813/0.9779, allocations: 1.281 MB / 0.7892 GB, free: 6.895 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002014/0.9781, allocations: 219.8 kB / 0.7894 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.265/3.243, allocations: 2.75 kB / 0.7894 GB, free: 6.637 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)