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.0006833/0.0006833, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.004271/0.004271, allocations: 170 kB / 16.26 MB, free: 6.613 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.19/1.19, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8334/0.8334, allocations: 135.3 MB / 426.7 MB, free: 14.34 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003289/0.000329, allocations: 12 kB / 0.5077 GB, free: 4.652 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1303/0.1307, allocations: 82.31 MB / 0.5881 GB, free: 2.52 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0005917/0.1313, allocations: 307.1 kB / 0.5884 GB, free: 2.215 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000213/0.1315, allocations: 39.88 kB / 0.5884 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.312e-05/0.1316, allocations: 0 / 0.5884 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.101e-05/0.1316, allocations: 0 / 0.5884 GB, free: 2.176 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 2.91e-05/0.1316, allocations: 8 kB / 0.5884 GB, free: 2.168 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001318/0.1318, allocations: 4 kB / 0.5884 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 3.939e-05/0.1318, allocations: 11.97 kB / 0.5884 GB, free: 2.152 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.351e-05/0.1319, allocations: 4 kB / 0.5884 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.542e-05/0.1319, allocations: 0 / 0.5884 GB, free: 2.148 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.063e-05/0.1319, allocations: 3.938 kB / 0.5885 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.598e-06/0.1319, allocations: 0 / 0.5885 GB, free: 2.145 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.363e-05/0.132, allocations: 19.98 kB / 0.5885 GB, free: 2.125 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.617e-05/0.132, allocations: 4 kB / 0.5885 GB, free: 2.121 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.003e-05/0.1321, allocations: 29.64 kB / 0.5885 GB, free: 2.086 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.1e-05/0.1322, allocations: 35.95 kB / 0.5885 GB, free: 2.051 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.267e-06/0.1322, allocations: 3.938 kB / 0.5885 GB, free: 2.047 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.613e-06/0.1322, allocations: 3.938 kB / 0.5885 GB, free: 2.043 MB / 494.1 MB Notification: Performance of Transformations before backend: time 2.655e-06/0.1322, allocations: 0 / 0.5885 GB, free: 2.043 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.0002405/0.1324, allocations: 337.3 kB / 0.5889 GB, free: 1.656 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.1325, allocations: 12.03 kB / 0.5889 GB, free: 1.645 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.367e-05/0.1325, allocations: 42.67 kB / 0.5889 GB, free: 1.594 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.1325, allocations: 4.844 kB / 0.5889 GB, free: 1.59 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.616e-05/0.1326, allocations: 168.6 kB / 0.5891 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.657e-06/0.1326, allocations: 384 / 0.5891 GB, free: 1.387 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.272e-06/0.1326, allocations: 4.375 kB / 0.5891 GB, free: 1.383 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001072/0.1328, allocations: 54.25 kB / 0.5891 GB, free: 1.324 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.294e-06/0.1328, allocations: 3.938 kB / 0.5891 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.672e-06/0.1328, allocations: 0 / 0.5891 GB, free: 1.32 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.1328, allocations: 11.98 kB / 0.5892 GB, free: 1.309 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.592e-05/0.1329, allocations: 27.92 kB / 0.5892 GB, free: 1.281 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002682/0.1331, allocations: 260.8 kB / 0.5894 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.575e-05/0.1332, allocations: 26.56 kB / 0.5895 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.547e-05/0.1332, allocations: 8.844 kB / 0.5895 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.136e-06/0.1332, allocations: 0 / 0.5895 GB, free: 0.9297 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.892e-05/0.1332, allocations: 34.62 kB / 0.5895 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 8.91e-07/0.1332, allocations: 0 / 0.5895 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001433/0.1334, allocations: 67.34 kB / 0.5896 GB, free: 0.8086 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.559e-05/0.1334, allocations: 81.09 kB / 0.5896 GB, free: 0.7109 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.053e-05/0.1335, allocations: 118 kB / 0.5898 GB, free: 0.5859 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.017e-05/0.1335, allocations: 25.7 kB / 0.5898 GB, free: 0.5547 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.226e-05/0.1336, allocations: 103.9 kB / 0.5899 GB, free: 460 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.256e-06/0.1336, allocations: 11.89 kB / 0.5899 GB, free: 448 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.258e-05/0.1336, allocations: 13.72 kB / 0.5899 GB, free: 428 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.118e-05/0.1337, allocations: 322.8 kB / 0.5902 GB, free: 96 kB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.246e-05/0.1337, allocations: 11.98 kB / 0.5902 GB, free: 84 kB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.744e-05/0.1338, allocations: 62.94 kB / 0.5903 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.276e-05/0.1339, allocations: 130.1 kB / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.1339, allocations: 0 / 0.5904 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001355/0.134, allocations: 119.2 kB / 0.5905 GB, free: 15.7 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.093e-05/0.1341, allocations: 33.7 kB / 0.5905 GB, free: 15.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-06/0.1341, allocations: 8.188 kB / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.969e-06/0.1341, allocations: 4 kB / 0.5906 GB, free: 15.65 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.655e-05/0.1342, allocations: 8 kB / 0.5906 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.1342, allocations: 11.92 kB / 0.5906 GB, free: 15.63 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.691e-05/0.1342, allocations: 11.84 kB / 0.5906 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.328e-05/0.1343, allocations: 7.938 kB / 0.5906 GB, free: 15.61 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 7.812e-05/0.1343, allocations: 143.5 kB / 0.5907 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.248e-05/0.1344, allocations: 0 / 0.5907 GB, free: 15.45 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.356e-05/0.1344, allocations: 15.45 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1344, allocations: 4 kB / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.515e-06/0.1344, allocations: 0 / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.453e-06/0.1344, allocations: 0 / 0.5908 GB, free: 15.43 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000122/0.1345, allocations: 157.6 kB / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1345, allocations: 0 / 0.5909 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.733e-06/0.1346, allocations: 4 kB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.1346, allocations: 0 / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.582e-06/0.1346, allocations: 4 kB / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.92e-07/0.1346, allocations: 0 / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1346, allocations: 0 / 0.5909 GB, free: 15.22 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001032/0.1347, allocations: 173.1 kB / 0.5911 GB, free: 15.03 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.01e-05/0.1347, allocations: 81.02 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.528e-06/0.1347, allocations: 0 / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.55e-05/0.1348, allocations: 4 kB / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.896e-06/0.1348, allocations: 0 / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.368e-06/0.1348, allocations: 0 / 0.5912 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 3.995e-05/0.1349, allocations: 95.2 kB / 0.5912 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.1349, allocations: 0 / 0.5912 GB, free: 14.83 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002286/0.1351, allocations: 16.03 kB / 0.5913 GB, free: 14.82 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.0003385/0.1355, allocations: 0.6985 MB / 0.5919 GB, free: 14.09 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001021/0.1356, allocations: 83.8 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.1356, allocations: 4.062 kB / 0.592 GB, free: 13.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 2.82e-05/0.1356, allocations: 63.39 kB / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001857/0.1358, allocations: 5.828 kB / 0.5921 GB, free: 13.91 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003015/0.1361, allocations: 144.3 kB / 0.5922 GB, free: 13.73 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001824/0.1363, allocations: 0.677 MB / 0.5929 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 6.689e-05/0.1364, allocations: 20.03 kB / 0.5929 GB, free: 13.01 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.534e-05/0.1364, allocations: 7.438 kB / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of SimCode: time 2e-07/0.1364, allocations: 0 / 0.5929 GB, free: 13 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.324/2.46, allocations: 1.236 MB / 0.5941 GB, free: 11.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002999/2.461, allocations: 214.6 kB / 0.5943 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.791/4.252, allocations: 0 / 0.5943 GB, free: 11.67 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)