Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_IDEAS_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.0009762/0.0009762, 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.0009988/0.0009989, allocations: 195.9 kB / 16.14 MB, free: 6.664 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.326/1.326, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7885/0.7885, allocations: 132.2 MB / 422.1 MB, free: 2.031 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 64.5 kB / 0.5012 GB, free: 9.082 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1541, allocations: 80.2 MB / 0.5795 GB, free: 9.105 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.00211/0.1562, allocations: 0.6414 MB / 0.5801 GB, free: 8.461 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002807/0.1565, allocations: 39.88 kB / 0.5802 GB, free: 8.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.749e-05/0.1566, allocations: 0 / 0.5802 GB, free: 8.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.1566, allocations: 0 / 0.5802 GB, free: 8.422 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.508e-05/0.1566, allocations: 4 kB / 0.5802 GB, free: 8.418 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001859/0.1568, allocations: 11.98 kB / 0.5802 GB, free: 8.406 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.979e-05/0.1569, allocations: 4 kB / 0.5802 GB, free: 8.402 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.551e-05/0.1569, allocations: 4 kB / 0.5802 GB, free: 8.398 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.401e-05/0.157, allocations: 3.984 kB / 0.5802 GB, free: 8.395 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.466e-05/0.157, allocations: 0 / 0.5802 GB, free: 8.395 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.672e-05/0.157, allocations: 7.938 kB / 0.5802 GB, free: 8.387 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.983e-05/0.1571, allocations: 19.92 kB / 0.5802 GB, free: 8.367 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.538e-05/0.1572, allocations: 0 / 0.5802 GB, free: 8.367 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.627e-05/0.1572, allocations: 11.94 kB / 0.5802 GB, free: 8.355 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.1573, allocations: 19.97 kB / 0.5803 GB, free: 8.336 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.1573, allocations: 0 / 0.5803 GB, free: 8.336 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.131e-06/0.1573, allocations: 4 kB / 0.5803 GB, free: 8.332 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.875e-06/0.1574, allocations: 7.875 kB / 0.5803 GB, free: 8.324 MB / 494.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.0003692/0.1577, allocations: 357.2 kB / 0.5806 GB, free: 7.918 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.683e-05/0.1578, allocations: 12.03 kB / 0.5806 GB, free: 7.906 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.205e-05/0.1578, allocations: 30.75 kB / 0.5807 GB, free: 7.867 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.842e-05/0.1579, allocations: 0.9375 kB / 0.5807 GB, free: 7.867 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.78e-05/0.158, allocations: 168.6 kB / 0.5808 GB, free: 7.664 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.665e-06/0.158, allocations: 4.375 kB / 0.5808 GB, free: 7.66 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.158, allocations: 4.359 kB / 0.5808 GB, free: 7.656 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001372/0.1581, allocations: 66.23 kB / 0.5809 GB, free: 7.586 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.267e-06/0.1581, allocations: 3.938 kB / 0.5809 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.1582, allocations: 0 / 0.5809 GB, free: 7.582 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.543e-05/0.1582, allocations: 8 kB / 0.5809 GB, free: 7.574 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.1582, allocations: 27.92 kB / 0.5809 GB, free: 7.547 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000318/0.1586, allocations: 264.8 kB / 0.5812 GB, free: 7.238 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.246e-05/0.1586, allocations: 22.58 kB / 0.5812 GB, free: 7.207 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.1586, allocations: 8.859 kB / 0.5812 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.461e-06/0.1586, allocations: 0 / 0.5812 GB, free: 7.195 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.688e-05/0.1587, allocations: 38.62 kB / 0.5812 GB, free: 7.148 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.012e-06/0.1587, allocations: 0 / 0.5812 GB, free: 7.148 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001645/0.1589, allocations: 67.33 kB / 0.5813 GB, free: 7.07 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.988e-05/0.1589, allocations: 77.11 kB / 0.5814 GB, free: 6.977 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.106e-05/0.159, allocations: 113.8 kB / 0.5815 GB, free: 6.855 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.087e-05/0.159, allocations: 33.83 kB / 0.5815 GB, free: 6.816 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.7e-05/0.1591, allocations: 107.8 kB / 0.5816 GB, free: 6.707 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.336e-06/0.1591, allocations: 7.906 kB / 0.5816 GB, free: 6.699 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.949e-05/0.1591, allocations: 21.72 kB / 0.5817 GB, free: 6.672 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.558e-05/0.1592, allocations: 318.8 kB / 0.582 GB, free: 6.352 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.51e-05/0.1593, allocations: 12 kB / 0.582 GB, free: 6.34 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.234e-05/0.1593, allocations: 62.8 kB / 0.582 GB, free: 6.254 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.778e-05/0.1594, allocations: 126.2 kB / 0.5822 GB, free: 6.094 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.1594, allocations: 0 / 0.5822 GB, free: 6.094 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001351/0.1596, allocations: 119.2 kB / 0.5823 GB, free: 5.965 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.287e-05/0.1596, allocations: 33.7 kB / 0.5823 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.94e-06/0.1596, allocations: 0 / 0.5823 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.653e-05/0.1596, allocations: 12.23 kB / 0.5823 GB, free: 5.914 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.411e-05/0.1597, allocations: 11.94 kB / 0.5823 GB, free: 5.902 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1597, allocations: 11.88 kB / 0.5823 GB, free: 5.891 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.022e-05/0.1598, allocations: 11.84 kB / 0.5823 GB, free: 5.879 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.627e-05/0.1598, allocations: 11.94 kB / 0.5824 GB, free: 5.867 MB / 494.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.134e-05/0.1599, allocations: 143.5 kB / 0.5825 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.269e-05/0.1599, allocations: 0 / 0.5825 GB, free: 5.711 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.277e-05/0.16, allocations: 7.531 kB / 0.5825 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.82e-07/0.16, allocations: 0 / 0.5825 GB, free: 5.703 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.16, allocations: 4 kB / 0.5825 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.165e-06/0.16, allocations: 0 / 0.5825 GB, free: 5.699 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001371/0.1601, allocations: 157.6 kB / 0.5827 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.1601, allocations: 0 / 0.5827 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.1601, allocations: 0 / 0.5827 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.1601, allocations: 0 / 0.5827 GB, free: 5.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.923e-06/0.1601, allocations: 4 kB / 0.5827 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1602, allocations: 0 / 0.5827 GB, free: 5.492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.255e-06/0.1602, allocations: 3.938 kB / 0.5827 GB, free: 5.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.1603, allocations: 173.1 kB / 0.5828 GB, free: 5.297 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.1603, allocations: 77.11 kB / 0.5829 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1603, allocations: 4 kB / 0.5829 GB, free: 5.199 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.547e-05/0.1604, allocations: 3.984 kB / 0.5829 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.656e-05/0.1604, allocations: 0 / 0.5829 GB, free: 5.195 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.744e-06/0.1604, allocations: 8 kB / 0.5829 GB, free: 5.188 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.472e-05/0.1605, allocations: 95.2 kB / 0.583 GB, free: 5.094 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1605, allocations: 0 / 0.583 GB, free: 5.094 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002381/0.1607, allocations: 8 kB / 0.583 GB, free: 5.086 MB / 494.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.0004375/0.1612, allocations: 0.705 MB / 0.5837 GB, free: 4.348 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001279/0.1613, allocations: 87.8 kB / 0.5838 GB, free: 4.25 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.1613, allocations: 4.062 kB / 0.5838 GB, free: 4.246 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.253e-05/0.1614, allocations: 55.41 kB / 0.5838 GB, free: 4.18 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002094/0.1616, allocations: 3.938 kB / 0.5838 GB, free: 4.176 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.162, allocations: 152.2 kB / 0.584 GB, free: 3.988 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002101/0.1622, allocations: 0.6809 MB / 0.5847 GB, free: 3.281 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.936e-05/0.1623, allocations: 15.8 kB / 0.5847 GB, free: 3.266 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.971e-05/0.1623, allocations: 15.44 kB / 0.5847 GB, free: 3.254 MB / 494.1 MB Notification: Performance of SimCode: time 1.523e-06/0.1623, allocations: 0 / 0.5847 GB, free: 3.254 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01015/0.1724, allocations: 1.293 MB / 0.5859 GB, free: 2.109 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000192/0.1727, allocations: 203 kB / 0.5861 GB, free: 1.859 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.627/1.8, allocations: 3.938 kB / 0.5861 GB, free: 1.855 MB / 494.1 MB (rm -f IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IDEAS_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)