Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.614/1.614, allocations: 288.4 MB / 303.6 MB, free: 8.137 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 194.4 kB / 372.3 MB, free: 10.11 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.187/1.187, allocations: 205.4 MB / 0.631 GB, free: 9.895 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007332/0.0007333, allocations: 85.88 kB / 0.7444 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003368/0.000337, allocations: 14.47 kB / 0.8676 GB, free: 141.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1423/0.1427, allocations: 115.3 MB / 0.9802 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005251/0.1432, allocations: 323.8 kB / 0.9805 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0001574/0.1434, allocations: 31.92 kB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.362e-05/0.1434, allocations: 0 / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.043e-05/0.1435, allocations: 4 kB / 0.9805 GB, free: 26.89 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 2.84e-05/0.1435, allocations: 3.938 kB / 0.9805 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001336/0.1436, allocations: 19.91 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 3.66e-05/0.1437, allocations: 4 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 3.718e-05/0.1437, allocations: 0 / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 1.673e-05/0.1437, allocations: 4 kB / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 2.154e-05/0.1438, allocations: 0 / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 9.708e-06/0.1438, allocations: 0 / 0.9806 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 6.666e-05/0.1439, allocations: 19.98 kB / 0.9806 GB, free: 26.84 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.929e-05/0.1439, allocations: 4 kB / 0.9806 GB, free: 26.83 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.528e-05/0.1439, allocations: 41.62 kB / 0.9806 GB, free: 26.79 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.463e-05/0.144, allocations: 15.97 kB / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.144, allocations: 0 / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.593e-06/0.144, allocations: 0 / 0.9807 GB, free: 26.77 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 3.176e-06/0.144, allocations: 0 / 0.9807 GB, free: 26.77 MB / 0.6198 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.0001861/0.1442, allocations: 345.3 kB / 0.981 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.339e-05/0.1442, allocations: 8.031 kB / 0.981 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.306e-05/0.1443, allocations: 34.73 kB / 0.981 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.224e-05/0.1443, allocations: 8.844 kB / 0.981 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.131e-05/0.1443, allocations: 168.5 kB / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.137e-06/0.1443, allocations: 8.312 kB / 0.9812 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.093e-06/0.1444, allocations: 4.375 kB / 0.9812 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.595e-05/0.1445, allocations: 54.25 kB / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.533e-06/0.1445, allocations: 3.938 kB / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.211e-06/0.1445, allocations: 0 / 0.9813 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.051e-05/0.1445, allocations: 7.984 kB / 0.9813 GB, free: 26.03 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.599e-05/0.1445, allocations: 23.98 kB / 0.9813 GB, free: 26.01 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00022/0.1448, allocations: 264.7 kB / 0.9815 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 3.09e-05/0.1448, allocations: 26.56 kB / 0.9816 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.231e-05/0.1448, allocations: 8.922 kB / 0.9816 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 5.5e-06/0.1448, allocations: 0 / 0.9816 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.268e-05/0.1449, allocations: 30.56 kB / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=1): time 8.71e-07/0.1449, allocations: 0 / 0.9816 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of matching and sorting (n=1): time 0.0001307/0.145, allocations: 71.34 kB / 0.9817 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.095e-05/0.145, allocations: 85.22 kB / 0.9818 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.282e-05/0.1451, allocations: 113.8 kB / 0.9819 GB, free: 25.31 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 6.693e-06/0.1451, allocations: 25.7 kB / 0.9819 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.429e-05/0.1451, allocations: 107.9 kB / 0.982 GB, free: 25.17 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 5.961e-06/0.1451, allocations: 7.891 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.1452, allocations: 4 kB / 0.982 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 3.557e-05/0.1452, allocations: 322.8 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.732e-05/0.1452, allocations: 4 kB / 0.9823 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.048e-05/0.1452, allocations: 62.86 kB / 0.9824 GB, free: 24.74 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.97e-05/0.1453, allocations: 134.1 kB / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.1453, allocations: 0 / 0.9825 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001062/0.1454, allocations: 123.2 kB / 0.9826 GB, free: 24.44 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.1455, allocations: 37.95 kB / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.1455, allocations: 0 / 0.9827 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.869e-06/0.1455, allocations: 4 kB / 0.9827 GB, free: 24.39 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.574e-05/0.1455, allocations: 12 kB / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.61e-06/0.1456, allocations: 0 / 0.9827 GB, free: 24.38 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.737e-05/0.1456, allocations: 11.84 kB / 0.9827 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1456, allocations: 11.94 kB / 0.9827 GB, free: 24.36 MB / 0.6198 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 5.096e-05/0.1457, allocations: 147.5 kB / 0.9828 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.212e-05/0.1457, allocations: 7.984 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.795e-06/0.1457, allocations: 7.531 kB / 0.9828 GB, free: 24.19 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1457, allocations: 3.938 kB / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.1457, allocations: 0 / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.563e-06/0.1458, allocations: 0 / 0.9829 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.542e-05/0.1458, allocations: 157.6 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.1459, allocations: 4 kB / 0.983 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.302e-06/0.1459, allocations: 4 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.1459, allocations: 0 / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1459, allocations: 3.984 kB / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1459, allocations: 0 / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.1459, allocations: 0 / 0.983 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.97e-05/0.146, allocations: 169.1 kB / 0.9832 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.522e-05/0.146, allocations: 89 kB / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.001e-05/0.146, allocations: 0 / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.951e-05/0.1461, allocations: 0 / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.047e-06/0.1461, allocations: 0 / 0.9833 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.24e-06/0.1461, allocations: 4 kB / 0.9833 GB, free: 23.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.42e-05/0.1461, allocations: 95.2 kB / 0.9834 GB, free: 23.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1461, allocations: 4.031 kB / 0.9834 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0002107/0.1463, allocations: 8 kB / 0.9834 GB, free: 23.57 MB / 0.6198 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.0002246/0.1466, allocations: 0.6947 MB / 0.984 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 8.838e-05/0.1467, allocations: 91.42 kB / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.1467, allocations: 0 / 0.9841 GB, free: 22.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 1.578e-05/0.1467, allocations: 59.41 kB / 0.9842 GB, free: 22.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001756/0.1469, allocations: 15.86 kB / 0.9842 GB, free: 22.65 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.1471, allocations: 140.3 kB / 0.9843 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.567e-05/0.1472, allocations: 0.677 MB / 0.985 GB, free: 21.77 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.439e-05/0.1473, allocations: 24.11 kB / 0.985 GB, free: 21.75 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.533e-05/0.1473, allocations: 11.42 kB / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of SimCode: time 2.1e-07/0.1473, allocations: 0 / 0.985 GB, free: 21.74 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1352/0.2825, allocations: 1.218 MB / 0.9862 GB, free: 20.69 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001439/0.2827, allocations: 215.5 kB / 0.9864 GB, free: 20.45 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.607/1.889, allocations: 2.672 kB / 0.9864 GB, free: 20.45 MB / 0.6198 GB (rm -f Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > Buildings_maint.8.0.x_Buildings.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)