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/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_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/Complex 4.0.0+maint.om/package.mo): time 0.005429/0.005429, allocations: 169.5 kB / 15.11 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7296/0.7296, allocations: 135.2 MB / 151 MB, free: 13.8 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.381/1.381, allocations: 223.2 MB / 406.8 MB, free: 3.23 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.0008541/0.0008541, allocations: 102.4 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000316/0.000316, allocations: 8 kB / 0.5692 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4456/0.4459, allocations: 82.3 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1794/0.6254, allocations: 110.5 MB / 0.7575 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002308/0.6257, allocations: 75.94 kB / 0.7576 GB, free: 5.34 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.00138/0.6271, allocations: 0.5575 MB / 0.7581 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.854e-06/0.6271, allocations: 0 / 0.7581 GB, free: 4.781 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.719e-06/0.6271, allocations: 0 / 0.7581 GB, free: 4.781 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.0002649/0.6274, allocations: 356.6 kB / 0.7584 GB, free: 4.383 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.6274, allocations: 11.97 kB / 0.7584 GB, free: 4.371 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.752e-05/0.6275, allocations: 34.5 kB / 0.7585 GB, free: 4.328 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.793e-05/0.6275, allocations: 7.906 kB / 0.7585 GB, free: 4.32 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.619e-05/0.6276, allocations: 171 kB / 0.7587 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.104e-05/0.6276, allocations: 0 / 0.7587 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.454e-06/0.6276, allocations: 0 / 0.7587 GB, free: 4.113 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.6278, allocations: 61.67 kB / 0.7587 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.252e-06/0.6278, allocations: 0 / 0.7587 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.6278, allocations: 0 / 0.7587 GB, free: 4.047 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.035e-05/0.6278, allocations: 4 kB / 0.7587 GB, free: 4.043 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.745e-05/0.6279, allocations: 23.92 kB / 0.7587 GB, free: 4.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003163/0.6282, allocations: 268.8 kB / 0.759 GB, free: 3.707 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.93e-05/0.6283, allocations: 18.58 kB / 0.759 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 3.196e-06/0.6283, allocations: 0 / 0.759 GB, free: 3.68 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.278e-05/0.6283, allocations: 30.56 kB / 0.759 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 2.134e-06/0.6283, allocations: 0 / 0.759 GB, free: 3.641 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001717/0.6285, allocations: 75.28 kB / 0.7591 GB, free: 3.555 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.6285, allocations: 85.11 kB / 0.7592 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.584e-05/0.6286, allocations: 105.1 kB / 0.7593 GB, free: 3.344 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.3e-05/0.6287, allocations: 29.7 kB / 0.7593 GB, free: 3.309 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.209e-05/0.6287, allocations: 99.86 kB / 0.7594 GB, free: 3.207 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 1.249e-05/0.6287, allocations: 15.89 kB / 0.7594 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.557e-06/0.6287, allocations: 0 / 0.7594 GB, free: 3.191 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001104/0.6289, allocations: 310.8 kB / 0.7597 GB, free: 2.879 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.567e-05/0.6289, allocations: 15.98 kB / 0.7597 GB, free: 2.863 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.512e-05/0.6289, allocations: 59.17 kB / 0.7598 GB, free: 2.781 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.967e-05/0.629, allocations: 49.62 kB / 0.7598 GB, free: 2.727 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.447e-06/0.629, allocations: 4 kB / 0.7599 GB, free: 2.723 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001493/0.6292, allocations: 111.2 kB / 0.76 GB, free: 2.602 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.756e-05/0.6292, allocations: 37.64 kB / 0.76 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.539e-06/0.6292, allocations: 0 / 0.76 GB, free: 2.559 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.463e-05/0.6292, allocations: 7.984 kB / 0.76 GB, free: 2.551 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.035e-05/0.6293, allocations: 12 kB / 0.76 GB, free: 2.539 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.6293, allocations: 3.953 kB / 0.76 GB, free: 2.535 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.878e-05/0.6294, allocations: 20.08 kB / 0.76 GB, free: 2.516 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.729e-05/0.6294, allocations: 12 kB / 0.76 GB, free: 2.504 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 9.565e-05/0.6295, allocations: 143.5 kB / 0.7602 GB, free: 2.348 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.386e-05/0.6295, allocations: 4 kB / 0.7602 GB, free: 2.344 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.64e-05/0.6296, allocations: 3.531 kB / 0.7602 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.6296, allocations: 0 / 0.7602 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.627e-06/0.6296, allocations: 0 / 0.7602 GB, free: 2.336 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.6296, allocations: 3.953 kB / 0.7602 GB, free: 2.332 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001455/0.6297, allocations: 157.6 kB / 0.7603 GB, free: 2.129 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.6297, allocations: 4 kB / 0.7603 GB, free: 2.125 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.31e-07/0.6297, allocations: 4 kB / 0.7604 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.402e-06/0.6297, allocations: 0 / 0.7604 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.352e-06/0.6298, allocations: 0 / 0.7604 GB, free: 2.121 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.6298, allocations: 4 kB / 0.7604 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.6298, allocations: 0 / 0.7604 GB, free: 2.117 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001224/0.6299, allocations: 165.2 kB / 0.7605 GB, free: 1.934 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.564e-05/0.6299, allocations: 81.02 kB / 0.7606 GB, free: 1.836 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.793e-05/0.63, allocations: 8.031 kB / 0.7606 GB, free: 1.828 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.583e-05/0.63, allocations: 7.922 kB / 0.7606 GB, free: 1.82 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.493e-05/0.6301, allocations: 3.938 kB / 0.7606 GB, free: 1.816 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.6301, allocations: 4 kB / 0.7606 GB, free: 1.812 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 4.152e-05/0.6301, allocations: 87.28 kB / 0.7607 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.71e-07/0.6301, allocations: 0 / 0.7607 GB, free: 1.727 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002489/0.6304, allocations: 11.98 kB / 0.7607 GB, free: 1.715 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.0004791/0.6309, allocations: 0.7102 MB / 0.7614 GB, free: 0.9727 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001232/0.631, allocations: 83.33 kB / 0.7615 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.631, allocations: 0 / 0.7615 GB, free: 0.8789 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 3.148e-05/0.631, allocations: 59.34 kB / 0.7615 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000117/0.6312, allocations: 0.5938 kB / 0.7615 GB, free: 0.8086 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003682/0.6315, allocations: 152.3 kB / 0.7617 GB, free: 0.6172 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.6318, allocations: 0.6781 MB / 0.7623 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.677e-05/0.6319, allocations: 16.16 kB / 0.7624 GB, free: 15.89 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.381e-05/0.6319, allocations: 11.44 kB / 0.7624 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of SimCode: time 3.21e-07/0.6319, allocations: 0 / 0.7624 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0114/0.6433, allocations: 1.187 MB / 0.7635 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001845/0.6436, allocations: 181.7 kB / 0.7637 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.487/2.13, allocations: 0 / 0.7637 GB, free: 14.59 MB / 0.5417 GB (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)