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.004645/0.004645, allocations: 96.2 kB / 15.73 MB, free: 6.039 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.001269/0.001269, allocations: 198.5 kB / 16.68 MB, free: 5.969 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7968/0.7968, allocations: 132.2 MB / 422.7 MB, free: 1.691 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001861/0.001861, allocations: 61.23 kB / 0.5809 GB, free: 1.078 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1532/0.155, allocations: 80.2 MB / 0.6592 GB, free: 13.95 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001554/0.1566, allocations: 0.5796 MB / 0.6598 GB, free: 13.37 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.000221/0.1569, allocations: 47.8 kB / 0.6598 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.812e-05/0.1569, allocations: 0 / 0.6598 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.547e-05/0.1569, allocations: 0 / 0.6598 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.897e-05/0.157, allocations: 4 kB / 0.6599 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001747/0.1572, allocations: 15.92 kB / 0.6599 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 6.625e-05/0.1572, allocations: 11.92 kB / 0.6599 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.641e-05/0.1573, allocations: 3.984 kB / 0.6599 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 1.577e-05/0.1573, allocations: 0 / 0.6599 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.739e-05/0.1573, allocations: 4 kB / 0.6599 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.111e-05/0.1574, allocations: 4 kB / 0.6599 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 7.343e-05/0.1574, allocations: 19.98 kB / 0.6599 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 2.412e-05/0.1575, allocations: 0 / 0.6599 GB, free: 13.26 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.296e-05/0.1575, allocations: 11.92 kB / 0.6599 GB, free: 13.25 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 8.689e-05/0.1576, allocations: 25.59 kB / 0.6599 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.1576, allocations: 0 / 0.6599 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.162e-06/0.1576, allocations: 0 / 0.6599 GB, free: 13.23 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.1576, allocations: 0 / 0.6599 GB, free: 13.23 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.0003627/0.158, allocations: 357.2 kB / 0.6603 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.158, allocations: 8.031 kB / 0.6603 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.937e-05/0.1581, allocations: 34.75 kB / 0.6603 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.1581, allocations: 8.891 kB / 0.6603 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000118/0.1582, allocations: 168.3 kB / 0.6605 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1583, allocations: 384 / 0.6605 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.863e-06/0.1583, allocations: 384 / 0.6605 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000135/0.1584, allocations: 54.25 kB / 0.6605 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.626e-06/0.1584, allocations: 7.938 kB / 0.6606 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.134e-06/0.1584, allocations: 0 / 0.6606 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.397e-05/0.1585, allocations: 4 kB / 0.6606 GB, free: 12.49 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.896e-05/0.1585, allocations: 23.98 kB / 0.6606 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003502/0.1589, allocations: 276.7 kB / 0.6608 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.552e-05/0.1589, allocations: 22.52 kB / 0.6609 GB, free: 12.11 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.798e-05/0.159, allocations: 8.922 kB / 0.6609 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.68e-05/0.159, allocations: 0 / 0.6609 GB, free: 12.1 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.568e-05/0.159, allocations: 30.56 kB / 0.6609 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.159, allocations: 4 kB / 0.6609 GB, free: 12.06 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001731/0.1592, allocations: 67.39 kB / 0.661 GB, free: 11.98 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.996e-05/0.1593, allocations: 85.05 kB / 0.6611 GB, free: 11.88 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.687e-05/0.1594, allocations: 113.8 kB / 0.6612 GB, free: 11.76 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.641e-05/0.1594, allocations: 25.7 kB / 0.6612 GB, free: 11.73 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.593e-05/0.1595, allocations: 111.9 kB / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 6.161e-06/0.1595, allocations: 0 / 0.6613 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.749e-05/0.1595, allocations: 26 kB / 0.6613 GB, free: 11.58 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.1597, allocations: 326.9 kB / 0.6616 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.474e-05/0.1597, allocations: 8 kB / 0.6616 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.857e-05/0.1598, allocations: 58.86 kB / 0.6617 GB, free: 11.16 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001299/0.1599, allocations: 134.1 kB / 0.6618 GB, free: 11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.1599, allocations: 0 / 0.6618 GB, free: 11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001611/0.1601, allocations: 127.1 kB / 0.6619 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/0.1601, allocations: 29.7 kB / 0.662 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.1602, allocations: 7.984 kB / 0.662 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1602, allocations: 0 / 0.662 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.108e-05/0.1602, allocations: 12 kB / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1602, allocations: 4 kB / 0.662 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.355e-05/0.1603, allocations: 12 kB / 0.662 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.472e-05/0.1603, allocations: 8.188 kB / 0.662 GB, free: 10.78 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001046/0.1604, allocations: 151.4 kB / 0.6622 GB, free: 10.62 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.311e-05/0.1605, allocations: 11.95 kB / 0.6622 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.363e-05/0.1605, allocations: 3.531 kB / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.072e-06/0.1605, allocations: 0 / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.246e-06/0.1605, allocations: 0 / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.943e-06/0.1605, allocations: 0 / 0.6622 GB, free: 10.59 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.1607, allocations: 157.6 kB / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.1607, allocations: 0 / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1607, allocations: 0 / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.1607, allocations: 4 kB / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.061e-06/0.1607, allocations: 0 / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.1607, allocations: 0 / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.1607, allocations: 0 / 0.6623 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001531/0.1609, allocations: 167.5 kB / 0.6625 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.367e-05/0.161, allocations: 89.05 kB / 0.6626 GB, free: 10.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.307e-05/0.161, allocations: 3.984 kB / 0.6626 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.251e-05/0.161, allocations: 0 / 0.6626 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.386e-05/0.1611, allocations: 8.031 kB / 0.6626 GB, free: 10.09 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.459e-06/0.1611, allocations: 3.938 kB / 0.6626 GB, free: 10.08 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.377e-05/0.1611, allocations: 91.2 kB / 0.6627 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1611, allocations: 0 / 0.6627 GB, free: 9.992 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002354/0.1614, allocations: 12 kB / 0.6627 GB, free: 9.98 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 (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.0004818/0.1619, allocations: 0.7025 MB / 0.6634 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001363/0.162, allocations: 87.27 kB / 0.6635 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.162, allocations: 0 / 0.6635 GB, free: 9.148 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.802e-05/0.1621, allocations: 55.41 kB / 0.6635 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001986/0.1623, allocations: 14.12 kB / 0.6635 GB, free: 9.07 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003534/0.1626, allocations: 143 kB / 0.6637 GB, free: 8.891 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003117/0.1629, allocations: 0.6807 MB / 0.6643 GB, free: 8.184 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.532e-05/0.163, allocations: 11.98 kB / 0.6643 GB, free: 8.172 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.957e-05/0.1631, allocations: 7.438 kB / 0.6643 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of SimCode: time 4.01e-07/0.1631, allocations: 0 / 0.6643 GB, free: 8.164 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1386/0.3017, allocations: 1.427 MB / 0.6657 GB, free: 6.871 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.089/8.391, allocations: 11.7 kB / 0.6657 GB, free: 6.867 MB / 0.4981 GB (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)