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.001506/0.001506, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001148/0.001148, allocations: 196.7 kB / 16.53 MB, free: 6.699 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.35/1.35, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9607/0.9607, allocations: 135.1 MB / 425.5 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001355/0.001355, allocations: 63.62 kB / 0.5055 GB, free: 5.238 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1447/0.1461, allocations: 80.92 MB / 0.5845 GB, free: 4.473 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.002088/0.1482, allocations: 0.5793 MB / 0.585 GB, free: 3.891 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002763/0.1485, allocations: 35.88 kB / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.825e-05/0.1486, allocations: 0 / 0.5851 GB, free: 3.855 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.645e-05/0.1486, allocations: 4 kB / 0.5851 GB, free: 3.852 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.565e-05/0.1487, allocations: 4 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001867/0.1489, allocations: 11.97 kB / 0.5851 GB, free: 3.836 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.62e-05/0.1489, allocations: 8 kB / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.644e-05/0.149, allocations: 0 / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.748e-05/0.149, allocations: 0 / 0.5851 GB, free: 3.828 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.169e-05/0.149, allocations: 7.938 kB / 0.5851 GB, free: 3.82 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.1491, allocations: 3.938 kB / 0.5851 GB, free: 3.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.426e-05/0.1492, allocations: 15.98 kB / 0.5851 GB, free: 3.801 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.782e-05/0.1492, allocations: 7.984 kB / 0.5851 GB, free: 3.793 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.365e-05/0.1492, allocations: 11.94 kB / 0.5852 GB, free: 3.781 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.35e-05/0.1493, allocations: 23.91 kB / 0.5852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.597e-06/0.1493, allocations: 0 / 0.5852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.403e-06/0.1493, allocations: 0 / 0.5852 GB, free: 3.758 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.549e-06/0.1493, allocations: 0 / 0.5852 GB, free: 3.758 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.0002983/0.1496, allocations: 353.3 kB / 0.5855 GB, free: 3.355 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.499e-05/0.1497, allocations: 8.031 kB / 0.5855 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.061e-05/0.1497, allocations: 30.75 kB / 0.5855 GB, free: 3.309 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.747e-05/0.1498, allocations: 8.844 kB / 0.5856 GB, free: 3.301 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.203e-05/0.1498, allocations: 176.6 kB / 0.5857 GB, free: 3.09 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.333e-05/0.1499, allocations: 4.359 kB / 0.5857 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.334e-06/0.1499, allocations: 384 / 0.5857 GB, free: 3.086 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001307/0.15, allocations: 58.19 kB / 0.5858 GB, free: 3.023 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.926e-06/0.15, allocations: 3.938 kB / 0.5858 GB, free: 3.02 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.15, allocations: 4 kB / 0.5858 GB, free: 3.016 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.791e-05/0.1501, allocations: 4 kB / 0.5858 GB, free: 3.012 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.709e-05/0.1501, allocations: 23.98 kB / 0.5858 GB, free: 2.988 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003021/0.1504, allocations: 268.8 kB / 0.5861 GB, free: 2.676 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.251e-05/0.1505, allocations: 26.58 kB / 0.5861 GB, free: 2.641 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.695e-05/0.1505, allocations: 8.797 kB / 0.5861 GB, free: 2.629 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.617e-06/0.1505, allocations: 4.062 kB / 0.5861 GB, free: 2.625 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.111e-05/0.1505, allocations: 30.56 kB / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.182e-06/0.1505, allocations: 0 / 0.5861 GB, free: 2.586 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001713/0.1507, allocations: 63.39 kB / 0.5862 GB, free: 2.512 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.214e-05/0.1508, allocations: 89.23 kB / 0.5863 GB, free: 2.406 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.455e-05/0.1509, allocations: 113.8 kB / 0.5864 GB, free: 2.285 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.1509, allocations: 25.7 kB / 0.5864 GB, free: 2.254 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.791e-05/0.1509, allocations: 107.8 kB / 0.5865 GB, free: 2.145 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.328e-06/0.151, allocations: 3.906 kB / 0.5865 GB, free: 2.141 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.043e-05/0.151, allocations: 21.72 kB / 0.5865 GB, free: 2.113 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000102/0.1511, allocations: 318.8 kB / 0.5869 GB, free: 1.793 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.711e-05/0.1511, allocations: 15.94 kB / 0.5869 GB, free: 1.777 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.094e-05/0.1512, allocations: 62.86 kB / 0.5869 GB, free: 1.691 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001066/0.1513, allocations: 130.1 kB / 0.5871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.1513, allocations: 0 / 0.5871 GB, free: 1.527 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001481/0.1515, allocations: 115.4 kB / 0.5872 GB, free: 1.402 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.1515, allocations: 41.62 kB / 0.5872 GB, free: 1.355 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.895e-06/0.1515, allocations: 8 kB / 0.5872 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.312e-05/0.1515, allocations: 0 / 0.5872 GB, free: 1.348 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.16e-05/0.1516, allocations: 15.94 kB / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.032e-06/0.1516, allocations: 0 / 0.5872 GB, free: 1.332 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.459e-05/0.1517, allocations: 11.84 kB / 0.5872 GB, free: 1.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.618e-05/0.1517, allocations: 15.94 kB / 0.5873 GB, free: 1.305 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 8.754e-05/0.1518, allocations: 139.5 kB / 0.5874 GB, free: 1.152 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.515e-05/0.1519, allocations: 8.062 kB / 0.5874 GB, free: 1.145 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.339e-05/0.1519, allocations: 3.531 kB / 0.5874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.1519, allocations: 0 / 0.5874 GB, free: 1.137 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1519, allocations: 3.938 kB / 0.5874 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.1519, allocations: 0 / 0.5874 GB, free: 1.133 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001334/0.152, allocations: 157.6 kB / 0.5875 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.1521, allocations: 4 kB / 0.5876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.71e-07/0.1521, allocations: 0 / 0.5876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.1521, allocations: 0 / 0.5876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.234e-06/0.1521, allocations: 0 / 0.5876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.1521, allocations: 0 / 0.5876 GB, free: 0.9258 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1521, allocations: 4 kB / 0.5876 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001074/0.1522, allocations: 169.1 kB / 0.5877 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.403e-05/0.1522, allocations: 81.11 kB / 0.5878 GB, free: 0.6367 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.358e-05/0.1523, allocations: 3.984 kB / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.602e-05/0.1523, allocations: 0 / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.018e-05/0.1523, allocations: 0 / 0.5878 GB, free: 0.6328 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.249e-06/0.1523, allocations: 4 kB / 0.5878 GB, free: 0.6289 MB / 494.1 MB Notification: Performance of sorting global known variables: time 5.686e-05/0.1524, allocations: 99.23 kB / 0.5879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1524, allocations: 0 / 0.5879 GB, free: 0.5312 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000243/0.1527, allocations: 8 kB / 0.5879 GB, free: 0.5234 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.0004004/0.1531, allocations: 0.7063 MB / 0.5886 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001264/0.1532, allocations: 87.36 kB / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.1532, allocations: 0 / 0.5887 GB, free: 15.69 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.019e-05/0.1533, allocations: 55.41 kB / 0.5887 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002002/0.1535, allocations: 10.28 kB / 0.5887 GB, free: 15.61 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003731/0.1538, allocations: 158.9 kB / 0.5889 GB, free: 15.42 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001951/0.154, allocations: 0.6768 MB / 0.5896 GB, free: 14.71 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 8.634e-05/0.1541, allocations: 15.98 kB / 0.5896 GB, free: 14.7 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.069e-05/0.1542, allocations: 11.44 kB / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of SimCode: time 3.51e-07/0.1542, allocations: 0 / 0.5896 GB, free: 14.69 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01603/0.1702, allocations: 1.399 MB / 0.5909 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.691/8.861, allocations: 16.75 kB / 0.591 GB, free: 13.38 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)