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.001618/0.001618, allocations: 173.5 kB / 7.646 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8219/0.8219, allocations: 133.6 MB / 141.6 MB, free: 2.84 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.553/1.553, allocations: 221.5 MB / 395.4 MB, free: 10.79 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.0008522/0.000852, allocations: 103.4 kB / 478.2 MB, free: 1.316 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.283e-05/2.278e-05, allocations: 8 kB / 0.5536 GB, free: 8.961 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4841/0.4842, allocations: 82.31 MB / 0.6339 GB, free: 40.69 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.138/0.6222, allocations: 109.8 MB / 0.7412 GB, free: 12.89 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002137/0.6225, allocations: 79.94 kB / 0.7412 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001196/0.6237, allocations: 0.5536 MB / 0.7418 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.322e-06/0.6237, allocations: 0 / 0.7418 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.6237, allocations: 0 / 0.7418 GB, free: 12.26 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.00026/0.624, allocations: 343.7 kB / 0.7421 GB, free: 11.88 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.624, allocations: 8.031 kB / 0.7421 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.081e-05/0.6241, allocations: 3.906 kB / 0.7421 GB, free: 11.87 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.6242, allocations: 171 kB / 0.7423 GB, free: 11.66 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.6242, allocations: 8 kB / 0.7423 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.368e-06/0.6242, allocations: 0 / 0.7423 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.891e-05/0.6243, allocations: 23.98 kB / 0.7423 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.283e-05/0.6244, allocations: 53.62 kB / 0.7424 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.6244, allocations: 4 kB / 0.7424 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.6244, allocations: 0 / 0.7424 GB, free: 11.57 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.6245, allocations: 11.92 kB / 0.7424 GB, free: 11.55 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002913/0.6248, allocations: 245.3 kB / 0.7426 GB, free: 11.28 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.692e-05/0.6248, allocations: 14.58 kB / 0.7426 GB, free: 11.25 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.659e-05/0.6248, allocations: 12.92 kB / 0.7426 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 4.038e-06/0.6248, allocations: 0 / 0.7426 GB, free: 11.24 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.319e-05/0.6249, allocations: 30.56 kB / 0.7427 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 1.984e-06/0.6249, allocations: 0 / 0.7427 GB, free: 11.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001528/0.625, allocations: 41.62 kB / 0.7427 GB, free: 11.15 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.6251, allocations: 81.14 kB / 0.7428 GB, free: 11.05 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.223e-05/0.6252, allocations: 108.9 kB / 0.7429 GB, free: 10.94 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.317e-05/0.6252, allocations: 29.64 kB / 0.7429 GB, free: 10.91 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.863e-05/0.6253, allocations: 103.8 kB / 0.743 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.552e-06/0.6253, allocations: 3.906 kB / 0.743 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.696e-06/0.6253, allocations: 0 / 0.743 GB, free: 10.8 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.925e-05/0.6254, allocations: 318.8 kB / 0.7433 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.859e-05/0.6254, allocations: 8 kB / 0.7433 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.582e-05/0.6255, allocations: 58.86 kB / 0.7434 GB, free: 10.39 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.881e-05/0.6255, allocations: 27.92 kB / 0.7434 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.6255, allocations: 0 / 0.7434 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001199/0.6257, allocations: 77.55 kB / 0.7435 GB, free: 10.28 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.797e-05/0.6257, allocations: 35.58 kB / 0.7435 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.6257, allocations: 0 / 0.7435 GB, free: 10.24 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.6257, allocations: 4 kB / 0.7435 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.55e-05/0.6258, allocations: 8 kB / 0.7435 GB, free: 10.23 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.452e-06/0.6258, allocations: 8.188 kB / 0.7435 GB, free: 10.22 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.862e-05/0.6259, allocations: 15.84 kB / 0.7436 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.6259, allocations: 7.953 kB / 0.7436 GB, free: 10.2 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 () * 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.909e-05/0.6259, allocations: 134.7 kB / 0.7437 GB, free: 10.05 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.791e-05/0.626, allocations: 41.7 kB / 0.7437 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.938e-05/0.6261, allocations: 0 / 0.7437 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.102e-05/0.6261, allocations: 7.953 kB / 0.7437 GB, free: 10 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.18e-06/0.6261, allocations: 7.984 kB / 0.7437 GB, free: 9.992 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.6261, allocations: 7.891 kB / 0.7438 GB, free: 9.984 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.794e-06/0.6261, allocations: 4.031 kB / 0.7438 GB, free: 9.98 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001117/0.6262, allocations: 126.2 kB / 0.7439 GB, free: 9.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.6262, allocations: 3.984 kB / 0.7439 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.01e-07/0.6262, allocations: 0 / 0.7439 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.382e-06/0.6262, allocations: 0 / 0.7439 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.701e-06/0.6263, allocations: 0 / 0.7439 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.12e-07/0.6263, allocations: 0 / 0.7439 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.714e-06/0.6263, allocations: 4 kB / 0.7439 GB, free: 9.812 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.566e-05/0.6264, allocations: 139.4 kB / 0.744 GB, free: 9.66 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.67e-05/0.6264, allocations: 85.03 kB / 0.7441 GB, free: 9.559 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.266e-05/0.6264, allocations: 4 kB / 0.7441 GB, free: 9.555 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.375e-05/0.6265, allocations: 4 kB / 0.7441 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.354e-05/0.6265, allocations: 0 / 0.7441 GB, free: 9.551 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.792e-06/0.6265, allocations: 11.94 kB / 0.7441 GB, free: 9.539 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.63e-05/0.6266, allocations: 83.73 kB / 0.7442 GB, free: 9.457 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6266, allocations: 4 kB / 0.7442 GB, free: 9.453 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002236/0.6268, allocations: 8 kB / 0.7442 GB, free: 9.445 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 () * 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.0003791/0.6272, allocations: 0.6812 MB / 0.7449 GB, free: 8.734 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001109/0.6273, allocations: 79.34 kB / 0.745 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6273, allocations: 0 / 0.745 GB, free: 8.645 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.617e-05/0.6273, allocations: 59.92 kB / 0.745 GB, free: 8.574 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000122/0.6275, allocations: 8.297 kB / 0.745 GB, free: 8.566 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003031/0.6278, allocations: 97.58 kB / 0.7451 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002325/0.628, allocations: 0.6806 MB / 0.7458 GB, free: 7.727 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.368e-05/0.6281, allocations: 12.17 kB / 0.7458 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.068e-05/0.6281, allocations: 11.44 kB / 0.7458 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of SimCode: time 2.51e-07/0.6281, allocations: 0 / 0.7458 GB, free: 7.699 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0191/0.6472, allocations: 0.9057 MB / 0.7467 GB, free: 6.801 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001967/0.6475, allocations: 150.3 kB / 0.7468 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.506/2.154, allocations: 0 / 0.7468 GB, free: 6.605 MB / 0.5261 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)