Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,fileNamePrefix="IDEAS_dev_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.00218/0.00218, 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.002035/0.002035, allocations: 193.6 kB / 16.14 MB, free: 6.707 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.307/1.307, allocations: 222.9 MB / 239.8 MB, free: 4.609 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9274/0.9274, allocations: 135.1 MB / 425.1 MB, free: 11.96 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001202, allocations: 60.47 kB / 0.5048 GB, free: 5.625 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1549, allocations: 80.92 MB / 0.5838 GB, free: 4.871 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001718/0.1566, allocations: 0.6427 MB / 0.5844 GB, free: 4.219 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002447/0.1569, allocations: 43.88 kB / 0.5845 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.392e-05/0.1569, allocations: 0 / 0.5845 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.549e-05/0.157, allocations: 0 / 0.5845 GB, free: 4.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.623e-05/0.157, allocations: 3.938 kB / 0.5845 GB, free: 4.172 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001513/0.1572, allocations: 8 kB / 0.5845 GB, free: 4.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 4.249e-05/0.1572, allocations: 11.98 kB / 0.5845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.089e-05/0.1573, allocations: 0 / 0.5845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.626e-05/0.1573, allocations: 0 / 0.5845 GB, free: 4.152 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.684e-05/0.1573, allocations: 7.938 kB / 0.5845 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.1e-05/0.1573, allocations: 0 / 0.5845 GB, free: 4.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.905e-05/0.1574, allocations: 15.98 kB / 0.5845 GB, free: 4.129 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.157e-05/0.1574, allocations: 7.984 kB / 0.5845 GB, free: 4.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.321e-05/0.1575, allocations: 7.938 kB / 0.5845 GB, free: 4.113 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.226e-05/0.1576, allocations: 23.91 kB / 0.5846 GB, free: 4.09 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.1576, allocations: 0 / 0.5846 GB, free: 4.09 MB / 494.1 MB Notification: Performance of FrontEnd: time 6.41e-07/0.1576, allocations: 4 kB / 0.5846 GB, free: 4.086 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.847e-06/0.1576, allocations: 0 / 0.5846 GB, free: 4.086 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.0004181/0.158, allocations: 353.3 kB / 0.5849 GB, free: 3.684 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.158, allocations: 8.031 kB / 0.5849 GB, free: 3.676 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.666e-05/0.1581, allocations: 30.75 kB / 0.5849 GB, free: 3.637 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.509e-05/0.1581, allocations: 8.844 kB / 0.585 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.617e-05/0.1582, allocations: 168.5 kB / 0.5851 GB, free: 3.426 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.1582, allocations: 4.375 kB / 0.5851 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.1582, allocations: 384 / 0.5851 GB, free: 3.422 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001221/0.1583, allocations: 62.23 kB / 0.5852 GB, free: 3.355 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.1584, allocations: 3.938 kB / 0.5852 GB, free: 3.352 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.177e-06/0.1584, allocations: 7.984 kB / 0.5852 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.055e-05/0.1584, allocations: 4 kB / 0.5852 GB, free: 3.34 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.403e-05/0.1585, allocations: 23.98 kB / 0.5852 GB, free: 3.316 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002825/0.1587, allocations: 260.8 kB / 0.5855 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.801e-05/0.1588, allocations: 26.52 kB / 0.5855 GB, free: 2.977 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.1588, allocations: 8.922 kB / 0.5855 GB, free: 2.965 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.43e-06/0.1588, allocations: 4 kB / 0.5855 GB, free: 2.961 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.1589, allocations: 34.56 kB / 0.5855 GB, free: 2.918 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.383e-06/0.1589, allocations: 0 / 0.5855 GB, free: 2.918 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001471/0.159, allocations: 63.39 kB / 0.5856 GB, free: 2.844 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.246e-05/0.1591, allocations: 85.05 kB / 0.5857 GB, free: 2.742 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.083e-05/0.1592, allocations: 113.8 kB / 0.5858 GB, free: 2.621 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.179e-05/0.1592, allocations: 25.83 kB / 0.5858 GB, free: 2.59 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.697e-05/0.1593, allocations: 115.7 kB / 0.5859 GB, free: 2.473 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.508e-06/0.1593, allocations: 3.906 kB / 0.5859 GB, free: 2.469 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.594e-05/0.1593, allocations: 21.72 kB / 0.5859 GB, free: 2.441 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.617e-05/0.1594, allocations: 314.8 kB / 0.5862 GB, free: 2.125 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.592e-05/0.1594, allocations: 15.98 kB / 0.5863 GB, free: 2.109 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.223e-05/0.1595, allocations: 71.23 kB / 0.5863 GB, free: 2.016 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.448e-05/0.1596, allocations: 126.1 kB / 0.5864 GB, free: 1.855 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.923e-06/0.1596, allocations: 0 / 0.5864 GB, free: 1.855 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001456/0.1598, allocations: 123.2 kB / 0.5866 GB, free: 1.723 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.739e-05/0.1598, allocations: 33.64 kB / 0.5866 GB, free: 1.684 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.1598, allocations: 4 kB / 0.5866 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.859e-06/0.1598, allocations: 256 / 0.5866 GB, free: 1.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.313e-05/0.1599, allocations: 19.98 kB / 0.5866 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/0.1599, allocations: 160 / 0.5866 GB, free: 1.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.629e-05/0.16, allocations: 15.84 kB / 0.5866 GB, free: 1.645 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.441e-05/0.16, allocations: 7.938 kB / 0.5866 GB, free: 1.637 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.919e-05/0.1601, allocations: 147.5 kB / 0.5868 GB, free: 1.477 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.487e-05/0.1601, allocations: 4 kB / 0.5868 GB, free: 1.473 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.154e-05/0.1602, allocations: 3.531 kB / 0.5868 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-06/0.1602, allocations: 0 / 0.5868 GB, free: 1.465 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.1602, allocations: 4 kB / 0.5868 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-06/0.1602, allocations: 0 / 0.5868 GB, free: 1.461 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001397/0.1603, allocations: 157.6 kB / 0.5869 GB, free: 1.258 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.1603, allocations: 4 kB / 0.587 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.1603, allocations: 0 / 0.587 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.1603, allocations: 0 / 0.587 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.563e-06/0.1604, allocations: 0 / 0.587 GB, free: 1.254 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.1604, allocations: 3.984 kB / 0.587 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.1604, allocations: 0 / 0.587 GB, free: 1.25 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001143/0.1605, allocations: 177 kB / 0.5871 GB, free: 1.055 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.51e-05/0.1605, allocations: 81.11 kB / 0.5872 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.055e-05/0.1605, allocations: 0 / 0.5872 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.405e-05/0.1606, allocations: 0 / 0.5872 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.603e-05/0.1606, allocations: 3.984 kB / 0.5872 GB, free: 0.9531 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.639e-06/0.1606, allocations: 4 kB / 0.5872 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.566e-05/0.1607, allocations: 91.22 kB / 0.5873 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1607, allocations: 0 / 0.5873 GB, free: 0.8594 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002378/0.1609, allocations: 8 kB / 0.5873 GB, free: 0.8516 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.0004271/0.1614, allocations: 0.7064 MB / 0.588 GB, free: 116 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001365/0.1615, allocations: 87.27 kB / 0.5881 GB, free: 16 kB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1615, allocations: 4.469 kB / 0.5881 GB, free: 12 kB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 4.77e-05/0.1616, allocations: 59.41 kB / 0.5881 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002071/0.1618, allocations: 13.98 kB / 0.5882 GB, free: 15.93 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000374/0.1622, allocations: 152.2 kB / 0.5883 GB, free: 15.74 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002535/0.1625, allocations: 0.677 MB / 0.589 GB, free: 15.04 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.189e-05/0.1625, allocations: 12.05 kB / 0.589 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.039e-05/0.1626, allocations: 15.44 kB / 0.589 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1626, allocations: 0 / 0.589 GB, free: 15.01 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01031/0.1729, allocations: 1.279 MB / 0.5902 GB, free: 13.88 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003065/0.1732, allocations: 216.8 kB / 0.5904 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/1.792, allocations: 0 / 0.5904 GB, free: 13.61 MB / 0.4981 GB (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Utilities_Math_Functions_Examples_TrapezoidalIntegration.fmu > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1)