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.001431/0.001431, allocations: 174.1 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.7417/0.7417, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.462/1.462, allocations: 221.3 MB / 400.4 MB, free: 5.824 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.001079/0.001079, allocations: 89.16 kB / 483.3 MB, free: 5.836 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.203e-05/5.227e-05, allocations: 4.594 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1558, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6164/0.7723, allocations: 110.5 MB / 0.7484 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002493/0.7726, allocations: 74.91 kB / 0.7485 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 0.001864/0.7744, allocations: 0.558 MB / 0.749 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.763e-06/0.7745, allocations: 0 / 0.749 GB, free: 27.64 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 8.336e-06/0.7745, allocations: 0 / 0.749 GB, free: 27.64 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.0003519/0.7748, allocations: 347.9 kB / 0.7493 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/0.7749, allocations: 11.66 kB / 0.7493 GB, free: 27.27 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.463e-05/0.775, allocations: 33.94 kB / 0.7494 GB, free: 27.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/0.775, allocations: 7.375 kB / 0.7494 GB, free: 27.22 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001164/0.7751, allocations: 176.7 kB / 0.7496 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.357e-06/0.7751, allocations: 3.812 kB / 0.7496 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.352e-05/0.7752, allocations: 4 kB / 0.7496 GB, free: 27.01 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001398/0.7753, allocations: 54.95 kB / 0.7496 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.7753, allocations: 0 / 0.7496 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.897e-06/0.7753, allocations: 0 / 0.7496 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.454e-05/0.7754, allocations: 7.188 kB / 0.7496 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.088e-05/0.7754, allocations: 22.25 kB / 0.7496 GB, free: 26.98 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.7758, allocations: 261.2 kB / 0.7499 GB, free: 26.71 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 3.772e-05/0.7759, allocations: 22.52 kB / 0.7499 GB, free: 26.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.368e-05/0.7759, allocations: 8.703 kB / 0.7499 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 8.285e-06/0.7759, allocations: 0 / 0.7499 GB, free: 26.67 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.7759, allocations: 30.56 kB / 0.7499 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=1): time 1.243e-06/0.7759, allocations: 0 / 0.7499 GB, free: 26.63 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1): time 0.000187/0.7761, allocations: 69.78 kB / 0.75 GB, free: 26.56 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.721e-05/0.7762, allocations: 84.95 kB / 0.7501 GB, free: 26.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.85e-05/0.7763, allocations: 110.7 kB / 0.7502 GB, free: 26.37 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 1.352e-05/0.7763, allocations: 29.64 kB / 0.7502 GB, free: 26.33 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.828e-05/0.7764, allocations: 110.1 kB / 0.7503 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 7.043e-06/0.7764, allocations: 3.906 kB / 0.7503 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.967e-06/0.7764, allocations: 0 / 0.7503 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.7765, allocations: 317.6 kB / 0.7506 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.318e-05/0.7765, allocations: 9.531 kB / 0.7507 GB, free: 25.92 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.907e-05/0.7766, allocations: 57.94 kB / 0.7507 GB, free: 25.85 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.96e-05/0.7766, allocations: 47.41 kB / 0.7508 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.7767, allocations: 7.938 kB / 0.7508 GB, free: 25.81 MB / 0.5105 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001364/0.7768, allocations: 110.9 kB / 0.7509 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 3.63e-05/0.7768, allocations: 34.8 kB / 0.7509 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.002e-06/0.7769, allocations: 0 / 0.7509 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.7769, allocations: 3.844 kB / 0.7509 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.341e-05/0.7769, allocations: 18.8 kB / 0.7509 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.777, allocations: 4.203 kB / 0.7509 GB, free: 25.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.248e-05/0.777, allocations: 15.66 kB / 0.7509 GB, free: 25.69 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.545e-05/0.777, allocations: 11.38 kB / 0.7509 GB, free: 25.69 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 8.36e-05/0.7771, allocations: 133.8 kB / 0.7511 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.517e-05/0.7772, allocations: 0 / 0.7511 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.649e-05/0.7772, allocations: 7.531 kB / 0.7511 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.7772, allocations: 0 / 0.7511 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.7772, allocations: 0.9375 kB / 0.7511 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.966e-06/0.7772, allocations: 3.953 kB / 0.7511 GB, free: 25.55 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001485/0.7774, allocations: 152.3 kB / 0.7512 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.953e-06/0.7774, allocations: 4 kB / 0.7512 GB, free: 25.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.32e-07/0.7774, allocations: 7.875 kB / 0.7512 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.7774, allocations: 0 / 0.7512 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.097e-06/0.7774, allocations: 6.031 kB / 0.7513 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.7774, allocations: 0 / 0.7513 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.7774, allocations: 0 / 0.7513 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001223/0.7775, allocations: 163.4 kB / 0.7514 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 4.296e-05/0.7776, allocations: 84.61 kB / 0.7515 GB, free: 25.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.041e-05/0.7776, allocations: 11.83 kB / 0.7515 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.285e-05/0.7777, allocations: 0 / 0.7515 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.828e-05/0.7777, allocations: 3.438 kB / 0.7515 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.7777, allocations: 3.875 kB / 0.7515 GB, free: 25.08 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 6.378e-05/0.7778, allocations: 90.25 kB / 0.7516 GB, free: 25 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7778, allocations: 0 / 0.7516 GB, free: 25 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0002924/0.7781, allocations: 11.38 kB / 0.7516 GB, free: 25 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.000512/0.7786, allocations: 0.7119 MB / 0.7523 GB, free: 24.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0001331/0.7788, allocations: 81.8 kB / 0.7524 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7788, allocations: 0 / 0.7524 GB, free: 24.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 3.94e-05/0.7788, allocations: 55.81 kB / 0.7524 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001331/0.779, allocations: 7.562 kB / 0.7524 GB, free: 24.17 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003383/0.7793, allocations: 108.8 kB / 0.7525 GB, free: 24.06 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000312/0.7796, allocations: 0.6794 MB / 0.7532 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 4.596e-05/0.7797, allocations: 10.86 kB / 0.7532 GB, free: 23.36 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.328e-05/0.7797, allocations: 11.41 kB / 0.7532 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of SimCode: time 2.4e-07/0.7797, allocations: 0 / 0.7532 GB, free: 23.35 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01313/0.7929, allocations: 1.198 MB / 0.7544 GB, free: 23.2 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001653/0.7931, allocations: 162.3 kB / 0.7545 GB, free: 22.97 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.48/2.273, allocations: 6.094 kB / 0.7546 GB, free: 22.97 MB / 0.5105 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)