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.001437/0.001437, allocations: 174.7 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7432/0.7432, allocations: 133.4 MB / 146.7 MB, free: 10.77 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.622/1.622, allocations: 221.3 MB / 400.4 MB, free: 5.832 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009573/0.0009573, allocations: 89.86 kB / 483.3 MB, free: 5.871 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.924e-05/4.94e-05, allocations: 6.094 kB / 0.5601 GB, free: 87.91 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1685/0.1686, allocations: 82.31 MB / 0.6405 GB, free: 7.719 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5773/0.746, allocations: 110.5 MB / 0.7484 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002205/0.7462, allocations: 72.19 kB / 0.7485 GB, free: 11.98 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001641/0.7479, allocations: 0.5618 MB / 0.749 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.525e-06/0.7479, allocations: 3.875 kB / 0.749 GB, free: 27.66 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.943e-06/0.7479, allocations: 0 / 0.749 GB, free: 27.66 MB / 0.5105 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.0002891/0.7482, allocations: 339.9 kB / 0.7493 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.393e-05/0.7483, allocations: 11.5 kB / 0.7493 GB, free: 27.29 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.396e-05/0.7483, allocations: 40.89 kB / 0.7494 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.724e-05/0.7484, allocations: 7.719 kB / 0.7494 GB, free: 27.24 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.729e-05/0.7485, allocations: 172.7 kB / 0.7496 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.096e-05/0.7485, allocations: 0 / 0.7496 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.7485, allocations: 4 kB / 0.7496 GB, free: 27.03 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.7486, allocations: 54.03 kB / 0.7496 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.017e-06/0.7486, allocations: 0 / 0.7496 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.067e-06/0.7487, allocations: 0 / 0.7496 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.431e-05/0.7487, allocations: 10 kB / 0.7496 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.624e-05/0.7487, allocations: 18.66 kB / 0.7496 GB, free: 27 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002897/0.749, allocations: 268.5 kB / 0.7499 GB, free: 26.73 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.803e-05/0.7491, allocations: 26.36 kB / 0.7499 GB, free: 26.7 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.452e-05/0.7491, allocations: 8.109 kB / 0.7499 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 6.652e-06/0.7491, allocations: 0 / 0.7499 GB, free: 26.69 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.614e-05/0.7492, allocations: 37.12 kB / 0.75 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 8.32e-07/0.7492, allocations: 0 / 0.75 GB, free: 26.65 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.0001435/0.7493, allocations: 62.86 kB / 0.75 GB, free: 26.58 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.693e-05/0.7494, allocations: 77.11 kB / 0.7501 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.352e-05/0.7494, allocations: 117.6 kB / 0.7502 GB, free: 26.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.099e-05/0.7495, allocations: 25.7 kB / 0.7502 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 4.419e-05/0.7495, allocations: 102 kB / 0.7503 GB, free: 26.26 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.955e-06/0.7495, allocations: 9.781 kB / 0.7503 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.927e-06/0.7495, allocations: 3.844 kB / 0.7503 GB, free: 26.25 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7496, allocations: 314.7 kB / 0.7506 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.084e-05/0.7497, allocations: 10.3 kB / 0.7507 GB, free: 25.94 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.639e-05/0.7497, allocations: 57.66 kB / 0.7507 GB, free: 25.88 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.934e-05/0.7498, allocations: 46.08 kB / 0.7508 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.315e-06/0.7498, allocations: 4 kB / 0.7508 GB, free: 25.84 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001281/0.7499, allocations: 115.8 kB / 0.7509 GB, free: 25.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.972e-05/0.75, allocations: 33.42 kB / 0.7509 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.75, allocations: 0 / 0.7509 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.298e-05/0.75, allocations: 3.969 kB / 0.7509 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.668e-05/0.7501, allocations: 14.09 kB / 0.7509 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.7501, allocations: 8.047 kB / 0.7509 GB, free: 25.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.081e-05/0.7501, allocations: 18.17 kB / 0.7509 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.411e-05/0.7501, allocations: 11.25 kB / 0.751 GB, free: 25.71 MB / 0.5105 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 () * 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 7.093e-05/0.7502, allocations: 126.7 kB / 0.7511 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.311e-05/0.7502, allocations: 3.938 kB / 0.7511 GB, free: 25.58 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.403e-05/0.7503, allocations: 3.656 kB / 0.7511 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.665e-06/0.7503, allocations: 2.578 kB / 0.7511 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.658e-06/0.7503, allocations: 3.844 kB / 0.7511 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7503, allocations: 3.953 kB / 0.7511 GB, free: 25.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.7504, allocations: 159.8 kB / 0.7512 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.7504, allocations: 0 / 0.7512 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.152e-06/0.7504, allocations: 3.938 kB / 0.7512 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.7505, allocations: 0 / 0.7512 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.672e-06/0.7505, allocations: 0 / 0.7512 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.7505, allocations: 0 / 0.7512 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.7505, allocations: 3.844 kB / 0.7513 GB, free: 25.37 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001102/0.7506, allocations: 166.1 kB / 0.7514 GB, free: 25.21 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.433e-05/0.7506, allocations: 85.05 kB / 0.7515 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.191e-05/0.7507, allocations: 0 / 0.7515 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.964e-05/0.7507, allocations: 3.844 kB / 0.7515 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.84e-05/0.7507, allocations: 3.062 kB / 0.7515 GB, free: 25.11 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.55e-06/0.7507, allocations: 3.938 kB / 0.7515 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.308e-05/0.7508, allocations: 87.02 kB / 0.7516 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7508, allocations: 0 / 0.7516 GB, free: 25.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002228/0.751, allocations: 14.16 kB / 0.7516 GB, free: 25.03 MB / 0.5105 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 () * 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.0004314/0.7515, allocations: 0.712 MB / 0.7523 GB, free: 24.33 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001108/0.7516, allocations: 81.62 kB / 0.7524 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.7516, allocations: 0 / 0.7524 GB, free: 24.26 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 2.695e-05/0.7516, allocations: 58.73 kB / 0.7524 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001236/0.7518, allocations: 7.906 kB / 0.7524 GB, free: 24.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003244/0.7521, allocations: 104 kB / 0.7525 GB, free: 24.09 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002836/0.7524, allocations: 0.6837 MB / 0.7532 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.161e-05/0.7524, allocations: 10.88 kB / 0.7532 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.106e-05/0.7525, allocations: 10.81 kB / 0.7532 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of SimCode: time 5.81e-07/0.7525, allocations: 0 / 0.7532 GB, free: 23.38 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0129/0.7654, allocations: 1.208 MB / 0.7544 GB, free: 23.21 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002771/0.7658, allocations: 160.1 kB / 0.7546 GB, free: 22.99 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.488/2.254, allocations: 3.125 kB / 0.7546 GB, free: 22.99 MB / 0.5105 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)