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.001009/0.001009, allocations: 86.25 kB / 15.06 MB, free: 1.09 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.001288/0.001288, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.305/1.305, allocations: 223.3 MB / 240 MB, free: 5.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7475/0.7475, allocations: 132.3 MB / 423.4 MB, free: 2.082 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003086/0.000309, allocations: 16.56 kB / 0.5035 GB, free: 4.129 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4109/0.4113, allocations: 81.57 MB / 0.5832 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.0007644/0.4121, allocations: 317.1 kB / 0.5835 GB, free: 3.793 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.000274/0.4124, allocations: 32.98 kB / 0.5835 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.905e-05/0.4124, allocations: 0.75 kB / 0.5835 GB, free: 3.773 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 3.047e-05/0.4125, allocations: 3.938 kB / 0.5835 GB, free: 3.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 4.589e-05/0.4125, allocations: 6.328 kB / 0.5835 GB, free: 3.766 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.4128, allocations: 15.5 kB / 0.5835 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 6.27e-05/0.4129, allocations: 3.656 kB / 0.5835 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.517e-05/0.4129, allocations: 1.516 kB / 0.5835 GB, free: 3.758 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.822e-05/0.413, allocations: 6.156 kB / 0.5835 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.89e-05/0.413, allocations: 2.531 kB / 0.5835 GB, free: 3.754 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.704e-05/0.4131, allocations: 4.734 kB / 0.5835 GB, free: 3.75 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001323/0.4132, allocations: 20.33 kB / 0.5836 GB, free: 3.742 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 3.722e-05/0.4133, allocations: 6.531 kB / 0.5836 GB, free: 3.738 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 2.63e-05/0.4133, allocations: 27.17 kB / 0.5836 GB, free: 3.707 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 8.036e-05/0.4134, allocations: 15 kB / 0.5836 GB, free: 3.703 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.4134, allocations: 1.219 kB / 0.5836 GB, free: 3.703 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.4134, allocations: 0 / 0.5836 GB, free: 3.703 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.32e-06/0.4134, allocations: 0 / 0.5836 GB, free: 3.703 MB / 430.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.0003097/0.4138, allocations: 347.9 kB / 0.5839 GB, free: 3.32 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/0.4138, allocations: 9.156 kB / 0.584 GB, free: 3.32 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.262e-05/0.4139, allocations: 37.77 kB / 0.584 GB, free: 3.277 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.554e-05/0.4139, allocations: 8.891 kB / 0.584 GB, free: 3.27 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.612e-05/0.414, allocations: 163.5 kB / 0.5842 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.418e-05/0.414, allocations: 0.9688 kB / 0.5842 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.128e-05/0.4141, allocations: 0.9062 kB / 0.5842 GB, free: 3.074 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001756/0.4142, allocations: 59.05 kB / 0.5842 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.4143, allocations: 0 / 0.5842 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.034e-05/0.4143, allocations: 0.7812 kB / 0.5842 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.544e-05/0.4143, allocations: 7.094 kB / 0.5842 GB, free: 3.035 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.566e-05/0.4144, allocations: 23.25 kB / 0.5842 GB, free: 3.031 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003631/0.4148, allocations: 274.3 kB / 0.5845 GB, free: 2.742 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.747e-05/0.4149, allocations: 22.23 kB / 0.5845 GB, free: 2.715 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.092e-05/0.4149, allocations: 6.75 kB / 0.5845 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.4149, allocations: 0 / 0.5845 GB, free: 2.707 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.481e-05/0.4149, allocations: 36.47 kB / 0.5846 GB, free: 2.664 MB / 430.1 MB Notification: Performance of pre-optimization done (n=1): time 1.533e-06/0.4149, allocations: 0 / 0.5846 GB, free: 2.664 MB / 430.1 MB Notification: Performance of matching and sorting (n=1): time 0.0002017/0.4152, allocations: 75.47 kB / 0.5846 GB, free: 2.59 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.382e-05/0.4152, allocations: 78.55 kB / 0.5847 GB, free: 2.496 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.695e-05/0.4153, allocations: 118.9 kB / 0.5848 GB, free: 2.387 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 7.514e-06/0.4153, allocations: 26.92 kB / 0.5849 GB, free: 2.355 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.24e-05/0.4153, allocations: 104.3 kB / 0.585 GB, free: 2.254 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.444e-06/0.4153, allocations: 9.812 kB / 0.585 GB, free: 2.246 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.757e-06/0.4153, allocations: 1.25 kB / 0.585 GB, free: 2.246 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 4.34e-05/0.4154, allocations: 317.1 kB / 0.5853 GB, free: 1.93 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.498e-05/0.4154, allocations: 13.2 kB / 0.5853 GB, free: 1.926 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.096e-05/0.4155, allocations: 56.98 kB / 0.5853 GB, free: 1.859 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.395e-05/0.4155, allocations: 49.25 kB / 0.5854 GB, free: 1.82 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.4155, allocations: 0 / 0.5854 GB, free: 1.82 MB / 430.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001428/0.4157, allocations: 116.6 kB / 0.5855 GB, free: 1.738 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.22e-05/0.4157, allocations: 36.28 kB / 0.5855 GB, free: 1.703 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.308e-06/0.4157, allocations: 5.531 kB / 0.5855 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.163e-05/0.4158, allocations: 3.469 kB / 0.5855 GB, free: 1.699 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.268e-05/0.4159, allocations: 24.17 kB / 0.5856 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.506e-06/0.4159, allocations: 3.172 kB / 0.5856 GB, free: 1.688 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.21e-05/0.416, allocations: 12.59 kB / 0.5856 GB, free: 1.68 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.754e-05/0.416, allocations: 6.125 kB / 0.5856 GB, free: 1.68 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.969e-05/0.4161, allocations: 142.6 kB / 0.5857 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.805e-05/0.4161, allocations: 2.922 kB / 0.5857 GB, free: 1.531 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.381e-05/0.4161, allocations: 9.766 kB / 0.5857 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.4161, allocations: 0 / 0.5857 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.468e-06/0.4161, allocations: 1.312 kB / 0.5857 GB, free: 1.523 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.4161, allocations: 4.516 kB / 0.5857 GB, free: 1.52 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001132/0.4162, allocations: 148.8 kB / 0.5859 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.4163, allocations: 1.766 kB / 0.5859 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.92e-07/0.4163, allocations: 0 / 0.5859 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.426e-06/0.4163, allocations: 1.344 kB / 0.5859 GB, free: 1.332 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.4163, allocations: 4 kB / 0.5859 GB, free: 1.328 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4163, allocations: 5.125 kB / 0.5859 GB, free: 1.324 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.254e-06/0.4163, allocations: 5.375 kB / 0.5859 GB, free: 1.32 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.699e-05/0.4164, allocations: 164.5 kB / 0.586 GB, free: 1.152 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.4164, allocations: 82.3 kB / 0.5861 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.627e-05/0.4165, allocations: 1.406 kB / 0.5861 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.51e-05/0.4165, allocations: 2.031 kB / 0.5861 GB, free: 1.055 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.106e-05/0.4165, allocations: 5.375 kB / 0.5861 GB, free: 1.051 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.4166, allocations: 6.125 kB / 0.5861 GB, free: 1.047 MB / 430.1 MB Notification: Performance of sorting global known variables: time 3.792e-05/0.4166, allocations: 89.34 kB / 0.5862 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4166, allocations: 0 / 0.5862 GB, free: 0.9688 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0002867/0.4169, allocations: 13.78 kB / 0.5862 GB, free: 0.9648 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003298/0.4172, allocations: 0.7015 MB / 0.5869 GB, free: 272 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001496/0.4174, allocations: 84.36 kB / 0.587 GB, free: 200 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4174, allocations: 64 / 0.587 GB, free: 200 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 2.366e-05/0.4174, allocations: 60.17 kB / 0.5871 GB, free: 132 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002102/0.4177, allocations: 11.3 kB / 0.5871 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003774/0.418, allocations: 142.4 kB / 0.5872 GB, free: 15.97 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002315/0.4183, allocations: 0.678 MB / 0.5879 GB, free: 15.28 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 8.038e-05/0.4184, allocations: 15.95 kB / 0.5879 GB, free: 15.27 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.4184, allocations: 13.97 kB / 0.5879 GB, free: 15.26 MB / 446.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4184, allocations: 3.938 kB / 0.5879 GB, free: 15.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01152/0.4299, allocations: 1.219 MB / 0.5891 GB, free: 15.12 MB / 446.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/0.4302, allocations: 194.2 kB / 0.5893 GB, free: 14.88 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.64/2.07, allocations: 0 / 0.5893 GB, free: 14.88 MB / 446.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/linux/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) Environment - environmentSimulation: