Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.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(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IBPSA_latest_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.00123/0.00123, allocations: 107.2 kB / 16.4 MB, free: 6.445 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.001673/0.001673, allocations: 195.9 kB / 17.34 MB, free: 5.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.351/1.351, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7595/0.7595, allocations: 115.3 MB / 406.5 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 69.94 kB / 0.5572 GB, free: 32.49 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1633/0.1646, allocations: 76.17 MB / 0.6316 GB, free: 4.887 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002/0.1666, allocations: 0.5753 MB / 0.6322 GB, free: 4.316 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002394/0.1669, allocations: 35.88 kB / 0.6322 GB, free: 4.281 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.063e-05/0.1669, allocations: 0 / 0.6322 GB, free: 4.281 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 2.745e-05/0.1669, allocations: 0 / 0.6322 GB, free: 4.281 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 4.128e-05/0.167, allocations: 3.938 kB / 0.6322 GB, free: 4.277 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002026/0.1672, allocations: 19.97 kB / 0.6322 GB, free: 4.258 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 8.097e-05/0.1673, allocations: 3.984 kB / 0.6322 GB, free: 4.254 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.1674, allocations: 8 kB / 0.6323 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.81e-05/0.1674, allocations: 0 / 0.6323 GB, free: 4.246 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.274e-05/0.1674, allocations: 3.938 kB / 0.6323 GB, free: 4.242 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 1.311e-05/0.1675, allocations: 4 kB / 0.6323 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.759e-05/0.1675, allocations: 19.98 kB / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 2.95e-05/0.1676, allocations: 0 / 0.6323 GB, free: 4.219 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 2.682e-05/0.1676, allocations: 7.938 kB / 0.6323 GB, free: 4.211 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001089/0.1677, allocations: 31.89 kB / 0.6323 GB, free: 4.18 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.1677, allocations: 0 / 0.6323 GB, free: 4.18 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.194e-06/0.1677, allocations: 0 / 0.6323 GB, free: 4.18 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.1678, allocations: 0 / 0.6323 GB, free: 4.18 MB / 478.1 MB 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.0003488/0.1681, allocations: 353.3 kB / 0.6327 GB, free: 3.777 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.566e-05/0.1682, allocations: 12.03 kB / 0.6327 GB, free: 3.766 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.572e-05/0.1682, allocations: 34.69 kB / 0.6327 GB, free: 3.723 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.763e-05/0.1683, allocations: 4.844 kB / 0.6327 GB, free: 3.719 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.403e-05/0.1684, allocations: 167.2 kB / 0.6329 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.236e-06/0.1684, allocations: 384 / 0.6329 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.1684, allocations: 384 / 0.6329 GB, free: 3.52 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001304/0.1685, allocations: 54.25 kB / 0.6329 GB, free: 3.461 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.1685, allocations: 3.938 kB / 0.6329 GB, free: 3.457 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.1685, allocations: 4 kB / 0.6329 GB, free: 3.453 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.036e-05/0.1686, allocations: 15.98 kB / 0.6329 GB, free: 3.438 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.156e-05/0.1687, allocations: 27.92 kB / 0.633 GB, free: 3.41 MB / 478.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003605/0.169, allocations: 260.8 kB / 0.6332 GB, free: 3.105 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.816e-05/0.1691, allocations: 18.58 kB / 0.6332 GB, free: 3.078 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.752e-05/0.1691, allocations: 4.859 kB / 0.6332 GB, free: 3.07 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.21e-06/0.1691, allocations: 3.938 kB / 0.6332 GB, free: 3.066 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.911e-05/0.1692, allocations: 42.62 kB / 0.6333 GB, free: 3.016 MB / 478.1 MB Notification: Performance of pre-optimization done (n=1): time 1.303e-06/0.1692, allocations: 0 / 0.6333 GB, free: 3.016 MB / 478.1 MB Notification: Performance of matching and sorting (n=1): time 0.000203/0.1694, allocations: 71.23 kB / 0.6334 GB, free: 2.934 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.763e-05/0.1694, allocations: 81.11 kB / 0.6334 GB, free: 2.836 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.607e-05/0.1695, allocations: 114.4 kB / 0.6335 GB, free: 2.715 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 2.099e-05/0.1696, allocations: 25.7 kB / 0.6336 GB, free: 2.684 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.979e-05/0.1696, allocations: 104.1 kB / 0.6337 GB, free: 2.578 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.338e-06/0.1696, allocations: 8.031 kB / 0.6337 GB, free: 2.57 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.599e-05/0.1697, allocations: 26.06 kB / 0.6337 GB, free: 2.539 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.1698, allocations: 314.8 kB / 0.634 GB, free: 2.223 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.932e-05/0.1699, allocations: 15.98 kB / 0.634 GB, free: 2.207 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.13e-05/0.1699, allocations: 54.86 kB / 0.6341 GB, free: 2.129 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001233/0.1701, allocations: 142.1 kB / 0.6342 GB, free: 1.953 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/0.1701, allocations: 4 kB / 0.6342 GB, free: 1.949 MB / 478.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001598/0.1703, allocations: 119.2 kB / 0.6343 GB, free: 1.82 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.664e-05/0.1703, allocations: 33.7 kB / 0.6343 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.484e-06/0.1703, allocations: 0 / 0.6343 GB, free: 1.781 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.41e-05/0.1703, allocations: 4 kB / 0.6344 GB, free: 1.777 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.874e-05/0.1704, allocations: 15.98 kB / 0.6344 GB, free: 1.762 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.786e-06/0.1705, allocations: 4.656 kB / 0.6344 GB, free: 1.758 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.853e-05/0.1705, allocations: 15.84 kB / 0.6344 GB, free: 1.742 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.022e-05/0.1706, allocations: 11.94 kB / 0.6344 GB, free: 1.73 MB / 478.1 MB 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 9.562e-05/0.1707, allocations: 139.5 kB / 0.6345 GB, free: 1.578 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.111e-05/0.1707, allocations: 7.984 kB / 0.6345 GB, free: 1.57 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.557e-05/0.1707, allocations: 3.531 kB / 0.6345 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.1707, allocations: 0 / 0.6345 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1707, allocations: 0 / 0.6345 GB, free: 1.562 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5e-06/0.1707, allocations: 3.984 kB / 0.6345 GB, free: 1.559 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001582/0.1709, allocations: 157.6 kB / 0.6347 GB, free: 1.355 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1709, allocations: 4 kB / 0.6347 GB, free: 1.352 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.1709, allocations: 4 kB / 0.6347 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.576e-06/0.1709, allocations: 0 / 0.6347 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.045e-06/0.1709, allocations: 0 / 0.6347 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.171, allocations: 0 / 0.6347 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.171, allocations: 0 / 0.6347 GB, free: 1.348 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001393/0.1711, allocations: 169.1 kB / 0.6349 GB, free: 1.16 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.637e-05/0.1711, allocations: 85.05 kB / 0.6349 GB, free: 1.059 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.444e-05/0.1712, allocations: 4 kB / 0.6349 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.879e-05/0.1712, allocations: 0 / 0.6349 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.644e-05/0.1713, allocations: 0 / 0.6349 GB, free: 1.055 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.724e-05/0.1713, allocations: 7.984 kB / 0.635 GB, free: 1.047 MB / 478.1 MB Notification: Performance of sorting global known variables: time 4.648e-05/0.1713, allocations: 99.14 kB / 0.6351 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.1713, allocations: 0 / 0.6351 GB, free: 0.9492 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.000269/0.1716, allocations: 8 kB / 0.6351 GB, free: 0.9414 MB / 478.1 MB 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.0004676/0.1721, allocations: 0.7063 MB / 0.6357 GB, free: 208 kB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0001564/0.1723, allocations: 83.33 kB / 0.6358 GB, free: 112 kB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 5.039e-06/0.1723, allocations: 0 / 0.6358 GB, free: 112 kB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 5.838e-05/0.1723, allocations: 63.88 kB / 0.6359 GB, free: 36 kB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002128/0.1725, allocations: 5.469 kB / 0.6359 GB, free: 32 kB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004636/0.173, allocations: 154.6 kB / 0.636 GB, free: 15.84 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002754/0.1733, allocations: 0.6768 MB / 0.6367 GB, free: 15.14 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 8.379e-05/0.1734, allocations: 11.98 kB / 0.6367 GB, free: 15.12 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.528e-05/0.1734, allocations: 7.438 kB / 0.6367 GB, free: 15.12 MB / 494.1 MB Notification: Performance of SimCode: time 6.51e-07/0.1734, allocations: 0 / 0.6367 GB, free: 15.12 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01756/0.191, allocations: 1.449 MB / 0.6381 GB, free: 13.78 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.532/7.723, allocations: 8.547 kB / 0.6381 GB, free: 13.78 MB / 494.1 MB (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)