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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.008743/0.008743, allocations: 173.6 kB / 15.12 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.874/0.874, allocations: 135.2 MB / 151 MB, free: 13.85 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.448/1.448, allocations: 223.2 MB / 406.8 MB, free: 3.168 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000878/0.0008781, allocations: 98.42 kB / 489.9 MB, free: 10.92 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003491/0.0003492, allocations: 8 kB / 0.5692 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4231, allocations: 82.31 MB / 0.6495 GB, free: 36.13 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1423/0.5655, allocations: 110.5 MB / 0.7575 GB, free: 5.465 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003812/0.566, allocations: 75.95 kB / 0.7575 GB, free: 5.391 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.002118/0.5681, allocations: 0.5614 MB / 0.7581 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.374e-06/0.5681, allocations: 0 / 0.7581 GB, free: 4.828 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.209e-06/0.5681, allocations: 0 / 0.7581 GB, free: 4.828 MB / 0.5261 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.000383/0.5685, allocations: 352.6 kB / 0.7584 GB, free: 4.434 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.963e-05/0.5686, allocations: 8.031 kB / 0.7584 GB, free: 4.426 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.571e-05/0.5687, allocations: 30.56 kB / 0.7585 GB, free: 4.387 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.264e-05/0.5687, allocations: 11.89 kB / 0.7585 GB, free: 4.375 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.5689, allocations: 174.9 kB / 0.7586 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.413e-05/0.5689, allocations: 0 / 0.7586 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/0.5689, allocations: 0 / 0.7586 GB, free: 4.164 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001873/0.5691, allocations: 53.69 kB / 0.7587 GB, free: 4.105 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.5691, allocations: 4 kB / 0.7587 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.196e-05/0.5692, allocations: 0 / 0.7587 GB, free: 4.102 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.814e-05/0.5692, allocations: 7.984 kB / 0.7587 GB, free: 4.094 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.189e-05/0.5693, allocations: 19.98 kB / 0.7587 GB, free: 4.074 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004809/0.5698, allocations: 272.7 kB / 0.759 GB, free: 3.758 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 6.143e-05/0.5699, allocations: 26.56 kB / 0.759 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 8.586e-06/0.5699, allocations: 0 / 0.759 GB, free: 3.723 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.668e-05/0.57, allocations: 30.56 kB / 0.759 GB, free: 3.684 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.844e-06/0.57, allocations: 3.938 kB / 0.759 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.000256/0.5702, allocations: 71.34 kB / 0.7591 GB, free: 3.598 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.153e-05/0.5703, allocations: 85.23 kB / 0.7592 GB, free: 3.496 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001255/0.5705, allocations: 105 kB / 0.7593 GB, free: 3.387 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.508e-05/0.5705, allocations: 29.7 kB / 0.7593 GB, free: 3.352 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 8.069e-05/0.5706, allocations: 99.78 kB / 0.7594 GB, free: 3.25 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.869e-05/0.5706, allocations: 7.906 kB / 0.7594 GB, free: 3.242 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.598e-06/0.5707, allocations: 4 kB / 0.7594 GB, free: 3.238 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001613/0.5708, allocations: 310.8 kB / 0.7597 GB, free: 2.926 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.542e-05/0.5709, allocations: 11.98 kB / 0.7597 GB, free: 2.914 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001183/0.571, allocations: 62.86 kB / 0.7598 GB, free: 2.828 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.916e-05/0.5711, allocations: 49.56 kB / 0.7598 GB, free: 2.773 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.5712, allocations: 4 kB / 0.7598 GB, free: 2.77 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002574/0.5714, allocations: 115.2 kB / 0.76 GB, free: 2.645 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 6.847e-05/0.5715, allocations: 34.64 kB / 0.76 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/0.5715, allocations: 0 / 0.76 GB, free: 2.605 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.584e-05/0.5716, allocations: 4 kB / 0.76 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001031/0.5717, allocations: 15.94 kB / 0.76 GB, free: 2.586 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.63e-05/0.5717, allocations: 8.188 kB / 0.76 GB, free: 2.578 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.622e-05/0.5718, allocations: 15.84 kB / 0.76 GB, free: 2.562 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.856e-05/0.5719, allocations: 8 kB / 0.76 GB, free: 2.555 MB / 0.5261 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001542/0.5721, allocations: 144.2 kB / 0.7602 GB, free: 2.398 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.379e-05/0.5721, allocations: 4 kB / 0.7602 GB, free: 2.395 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.512e-05/0.5721, allocations: 7.516 kB / 0.7602 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.5722, allocations: 0 / 0.7602 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.5722, allocations: 0 / 0.7602 GB, free: 2.383 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.913e-06/0.5722, allocations: 3.953 kB / 0.7602 GB, free: 2.379 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.5724, allocations: 153.7 kB / 0.7603 GB, free: 2.18 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.5725, allocations: 4 kB / 0.7603 GB, free: 2.176 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.112e-06/0.5725, allocations: 4 kB / 0.7603 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.445e-06/0.5725, allocations: 0 / 0.7603 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.688e-06/0.5725, allocations: 0 / 0.7603 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.804e-06/0.5725, allocations: 0 / 0.7603 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.5725, allocations: 0 / 0.7603 GB, free: 2.172 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001904/0.5727, allocations: 165.2 kB / 0.7605 GB, free: 1.988 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.506e-05/0.5728, allocations: 81.05 kB / 0.7606 GB, free: 1.891 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.349e-05/0.5728, allocations: 11.94 kB / 0.7606 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.805e-05/0.573, allocations: 0 / 0.7606 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.535e-05/0.573, allocations: 0 / 0.7606 GB, free: 1.879 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.523e-05/0.573, allocations: 4 kB / 0.7606 GB, free: 1.875 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 6.827e-05/0.5731, allocations: 95.67 kB / 0.7607 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of sort global known variables: time 4e-07/0.5731, allocations: 0 / 0.7607 GB, free: 1.781 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0004387/0.5736, allocations: 8 kB / 0.7607 GB, free: 1.773 MB / 0.5261 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 (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.0006724/0.5742, allocations: 0.7063 MB / 0.7614 GB, free: 1.035 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002232/0.5745, allocations: 87.33 kB / 0.7615 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.5745, allocations: 0 / 0.7615 GB, free: 0.9375 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 5.397e-05/0.5746, allocations: 63.86 kB / 0.7615 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.5748, allocations: 64 / 0.7615 GB, free: 0.8633 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005807/0.5754, allocations: 148.3 kB / 0.7617 GB, free: 0.6758 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.5758, allocations: 0.6809 MB / 0.7623 GB, free: 15.97 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.379e-05/0.5759, allocations: 16.11 kB / 0.7624 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.786e-05/0.5759, allocations: 7.438 kB / 0.7624 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of SimCode: time 5.21e-07/0.576, allocations: 0 / 0.7624 GB, free: 15.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01587/0.5919, allocations: 1.204 MB / 0.7635 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003104/0.5922, allocations: 184.7 kB / 0.7637 GB, free: 14.64 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.526/2.118, allocations: 0 / 0.7637 GB, free: 14.64 MB / 0.5417 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/linux/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)