Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.IBPSA.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_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.0009444/0.0009444, allocations: 99.55 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.001021/0.001021, 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 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 223.2 MB / 239.9 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.964/0.964, allocations: 143.3 MB / 434.3 MB, free: 13.67 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003191, allocations: 8 kB / 0.5159 GB, free: 11.17 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.178/0.1783, allocations: 83.43 MB / 0.5974 GB, free: 7.684 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0006598/0.179, allocations: 311.1 kB / 0.5977 GB, free: 7.379 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0001646/0.1792, allocations: 35.91 kB / 0.5977 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.596e-05/0.1792, allocations: 0 / 0.5977 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.1793, allocations: 0 / 0.5977 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.1793, allocations: 4 kB / 0.5977 GB, free: 7.34 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001439/0.1795, allocations: 11.98 kB / 0.5977 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 4.221e-05/0.1795, allocations: 0 / 0.5977 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.833e-05/0.1795, allocations: 0 / 0.5977 GB, free: 7.328 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.149e-05/0.1796, allocations: 15.92 kB / 0.5977 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 2.42e-05/0.1796, allocations: 3.938 kB / 0.5977 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.1796, allocations: 0 / 0.5977 GB, free: 7.309 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.099e-05/0.1797, allocations: 15.98 kB / 0.5978 GB, free: 7.293 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.666e-05/0.1797, allocations: 7.938 kB / 0.5978 GB, free: 7.285 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.352e-05/0.1798, allocations: 25.7 kB / 0.5978 GB, free: 7.254 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 6.626e-05/0.1798, allocations: 19.97 kB / 0.5978 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 1.713e-06/0.1798, allocations: 0 / 0.5978 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.094e-06/0.1798, allocations: 0 / 0.5978 GB, free: 7.234 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.1799, allocations: 0 / 0.5978 GB, free: 7.234 MB / 0.4981 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.0002711/0.1801, allocations: 345.1 kB / 0.5981 GB, free: 6.844 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.615e-05/0.1802, allocations: 8.031 kB / 0.5981 GB, free: 6.836 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.465e-05/0.1802, allocations: 38.55 kB / 0.5982 GB, free: 6.789 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.31e-05/0.1802, allocations: 7.906 kB / 0.5982 GB, free: 6.781 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.885e-05/0.1803, allocations: 167.2 kB / 0.5983 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.945e-06/0.1803, allocations: 0 / 0.5983 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.1804, allocations: 0 / 0.5983 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.1805, allocations: 57.62 kB / 0.5984 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.771e-06/0.1805, allocations: 0 / 0.5984 GB, free: 6.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.007e-05/0.1805, allocations: 7.984 kB / 0.5984 GB, free: 6.508 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.429e-05/0.1805, allocations: 11.98 kB / 0.5984 GB, free: 6.496 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.397e-05/0.1806, allocations: 23.98 kB / 0.5984 GB, free: 6.473 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002908/0.1809, allocations: 256.9 kB / 0.5987 GB, free: 6.172 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.18e-05/0.1809, allocations: 22.52 kB / 0.5987 GB, free: 6.141 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 5.831e-06/0.181, allocations: 3.984 kB / 0.5987 GB, free: 6.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.421e-05/0.181, allocations: 30.56 kB / 0.5987 GB, free: 6.098 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.112e-06/0.181, allocations: 4 kB / 0.5987 GB, free: 6.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001596/0.1812, allocations: 75.33 kB / 0.5988 GB, free: 6.008 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.1812, allocations: 77.11 kB / 0.5989 GB, free: 5.914 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.616e-05/0.1813, allocations: 113.8 kB / 0.599 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.164e-05/0.1813, allocations: 25.7 kB / 0.599 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.403e-05/0.1814, allocations: 103.8 kB / 0.5991 GB, free: 5.656 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 8.646e-06/0.1814, allocations: 3.906 kB / 0.5991 GB, free: 5.652 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.671e-06/0.1814, allocations: 3.938 kB / 0.5991 GB, free: 5.648 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.123e-05/0.1815, allocations: 330.9 kB / 0.5994 GB, free: 5.316 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.944e-05/0.1815, allocations: 4 kB / 0.5994 GB, free: 5.312 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.769e-05/0.1816, allocations: 62.86 kB / 0.5995 GB, free: 5.227 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.407e-05/0.1816, allocations: 49.69 kB / 0.5996 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.043e-06/0.1816, allocations: 0 / 0.5996 GB, free: 5.172 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001313/0.1818, allocations: 115.2 kB / 0.5997 GB, free: 5.047 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.817e-05/0.1818, allocations: 35.58 kB / 0.5997 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1818, allocations: 4.719 kB / 0.5997 GB, free: 5.004 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.435e-05/0.1818, allocations: 11.89 kB / 0.5997 GB, free: 4.992 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.605e-05/0.1819, allocations: 15.98 kB / 0.5997 GB, free: 4.977 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.1819, allocations: 3.938 kB / 0.5997 GB, free: 4.973 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.464e-05/0.182, allocations: 15.84 kB / 0.5997 GB, free: 4.957 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.483e-05/0.182, allocations: 8 kB / 0.5998 GB, free: 4.949 MB / 0.4981 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 8.491e-05/0.1821, allocations: 139.5 kB / 0.5999 GB, free: 4.797 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.24e-05/0.1821, allocations: 4 kB / 0.5999 GB, free: 4.793 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.398e-05/0.1821, allocations: 7.531 kB / 0.5999 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.1821, allocations: 7.953 kB / 0.5999 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.047e-06/0.1822, allocations: 0 / 0.5999 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.1822, allocations: 0 / 0.5999 GB, free: 4.773 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001433/0.1823, allocations: 149.7 kB / 0.6001 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1823, allocations: 0 / 0.6001 GB, free: 4.578 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.068e-06/0.1823, allocations: 4 kB / 0.6001 GB, free: 4.574 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.1823, allocations: 4 kB / 0.6001 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.532e-06/0.1823, allocations: 0 / 0.6001 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.72e-07/0.1823, allocations: 0 / 0.6001 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.1824, allocations: 7.938 kB / 0.6001 GB, free: 4.562 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001086/0.1825, allocations: 169.2 kB / 0.6002 GB, free: 4.375 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.339e-05/0.1825, allocations: 85.02 kB / 0.6003 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.409e-05/0.1825, allocations: 4 kB / 0.6003 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.1826, allocations: 0 / 0.6003 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.033e-05/0.1826, allocations: 0 / 0.6003 GB, free: 4.27 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.807e-06/0.1826, allocations: 11.94 kB / 0.6003 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 4.329e-05/0.1827, allocations: 83.36 kB / 0.6004 GB, free: 4.176 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.3e-07/0.1827, allocations: 4.031 kB / 0.6004 GB, free: 4.172 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002397/0.1829, allocations: 12 kB / 0.6004 GB, free: 4.16 MB / 0.4981 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.0004312/0.1834, allocations: 0.714 MB / 0.6011 GB, free: 3.414 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001162/0.1835, allocations: 87.67 kB / 0.6012 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.1835, allocations: 0 / 0.6012 GB, free: 3.316 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.766e-05/0.1835, allocations: 55.41 kB / 0.6013 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001323/0.1837, allocations: 8 kB / 0.6013 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003614/0.184, allocations: 136.4 kB / 0.6014 GB, free: 3.07 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002108/0.1843, allocations: 0.6809 MB / 0.6021 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.714e-05/0.1843, allocations: 12.42 kB / 0.6021 GB, free: 2.348 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.37e-05/0.1844, allocations: 19.42 kB / 0.6021 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1844, allocations: 0 / 0.6021 GB, free: 2.328 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01089/0.1953, allocations: 1.225 MB / 0.6033 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.1955, allocations: 209.8 kB / 0.6035 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.664/1.859, allocations: 0 / 0.6035 GB, free: 1.047 MB / 0.4981 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > BuildSysPro_BuildSysPro.IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) Environment - environmentSimulation: