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.001849/0.001848, allocations: 173.9 kB / 7.648 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.8/0.8, allocations: 133.6 MB / 141.6 MB, free: 2.918 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.607/1.607, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.0009038/0.0009043, allocations: 91.66 kB / 478.2 MB, free: 1.309 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.074e-05/3.075e-05, allocations: 8 kB / 0.5536 GB, free: 8.938 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4645/0.4646, allocations: 82.31 MB / 0.6339 GB, free: 40.76 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1433/0.6079, allocations: 109.8 MB / 0.7412 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002609/0.6083, allocations: 79.95 kB / 0.7412 GB, free: 12.79 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.001485/0.6098, allocations: 0.5497 MB / 0.7418 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6098, allocations: 0 / 0.7418 GB, free: 12.24 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.6098, allocations: 4 kB / 0.7418 GB, free: 12.23 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.0002766/0.6101, allocations: 347.7 kB / 0.7421 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.245e-05/0.6101, allocations: 8.031 kB / 0.7421 GB, free: 11.84 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.459e-05/0.6102, allocations: 7.906 kB / 0.7421 GB, free: 11.83 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001021/0.6103, allocations: 167 kB / 0.7423 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.286e-05/0.6103, allocations: 0 / 0.7423 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.156e-06/0.6103, allocations: 0 / 0.7423 GB, free: 11.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.012e-05/0.6104, allocations: 23.98 kB / 0.7423 GB, free: 11.61 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.481e-05/0.6105, allocations: 57.62 kB / 0.7424 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.843e-06/0.6105, allocations: 4 kB / 0.7424 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.041e-05/0.6105, allocations: 0 / 0.7424 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.282e-05/0.6105, allocations: 4 kB / 0.7424 GB, free: 11.54 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003083/0.6109, allocations: 245.3 kB / 0.7426 GB, free: 11.26 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 3.652e-05/0.6109, allocations: 18.58 kB / 0.7426 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.48e-05/0.6109, allocations: 4.859 kB / 0.7426 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.803e-06/0.6109, allocations: 0 / 0.7426 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.064e-05/0.611, allocations: 38.56 kB / 0.7427 GB, free: 11.18 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.611, allocations: 4.062 kB / 0.7427 GB, free: 11.17 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1): time 0.0001642/0.6111, allocations: 37.62 kB / 0.7427 GB, free: 11.13 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.825e-05/0.6112, allocations: 77.11 kB / 0.7428 GB, free: 11.04 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.111e-05/0.6113, allocations: 108.9 kB / 0.7429 GB, free: 10.92 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.6113, allocations: 25.7 kB / 0.7429 GB, free: 10.89 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.6114, allocations: 103.8 kB / 0.743 GB, free: 10.79 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 6.392e-06/0.6114, allocations: 7.844 kB / 0.743 GB, free: 10.78 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.6114, allocations: 4.031 kB / 0.743 GB, free: 10.77 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.6115, allocations: 322.8 kB / 0.7433 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.761e-05/0.6115, allocations: 4 kB / 0.7433 GB, free: 10.45 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.648e-05/0.6116, allocations: 54.86 kB / 0.7434 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.9e-05/0.6116, allocations: 23.92 kB / 0.7434 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.6117, allocations: 3.938 kB / 0.7434 GB, free: 10.34 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001292/0.6118, allocations: 77.81 kB / 0.7435 GB, free: 10.26 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.108e-05/0.6118, allocations: 41.69 kB / 0.7435 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6118, allocations: 480 / 0.7435 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.6119, allocations: 4 kB / 0.7435 GB, free: 10.21 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.989e-05/0.6119, allocations: 12 kB / 0.7435 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.077e-05/0.6119, allocations: 3.938 kB / 0.7435 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.132e-05/0.612, allocations: 11.84 kB / 0.7436 GB, free: 10.18 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.646e-05/0.612, allocations: 11.95 kB / 0.7436 GB, free: 10.17 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 7.499e-05/0.6121, allocations: 130.7 kB / 0.7437 GB, free: 10.03 MB / 0.5261 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.143e-05/0.6122, allocations: 45.7 kB / 0.7437 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.6122, allocations: 0 / 0.7437 GB, free: 9.977 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.317e-05/0.6122, allocations: 7.969 kB / 0.7437 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.6122, allocations: 0 / 0.7437 GB, free: 9.973 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.664e-06/0.6123, allocations: 11.94 kB / 0.7438 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.934e-06/0.6123, allocations: 0 / 0.7438 GB, free: 9.961 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.6124, allocations: 126.2 kB / 0.7439 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.31e-07/0.6124, allocations: 3.938 kB / 0.7439 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.6124, allocations: 0 / 0.7439 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.907e-06/0.6124, allocations: 3.984 kB / 0.7439 GB, free: 9.793 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.6124, allocations: 4 kB / 0.7439 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6124, allocations: 8.016 kB / 0.7439 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.6124, allocations: 0 / 0.7439 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001076/0.6126, allocations: 135.4 kB / 0.744 GB, free: 9.633 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.505e-05/0.6126, allocations: 85.09 kB / 0.7441 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.6126, allocations: 0 / 0.7441 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.996e-05/0.6127, allocations: 0 / 0.7441 GB, free: 9.531 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.953e-05/0.6127, allocations: 4 kB / 0.7441 GB, free: 9.527 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.428e-06/0.6127, allocations: 4.031 kB / 0.7441 GB, free: 9.523 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.921e-05/0.6128, allocations: 87.28 kB / 0.7442 GB, free: 9.438 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6128, allocations: 3.938 kB / 0.7442 GB, free: 9.434 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0002329/0.613, allocations: 11.98 kB / 0.7442 GB, free: 9.422 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.0003931/0.6134, allocations: 0.6812 MB / 0.7449 GB, free: 8.711 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0001154/0.6135, allocations: 79.34 kB / 0.7449 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.6135, allocations: 0 / 0.7449 GB, free: 8.621 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.636e-05/0.6136, allocations: 55.41 kB / 0.745 GB, free: 8.555 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001287/0.6137, allocations: 9.875 kB / 0.745 GB, free: 8.547 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003221/0.614, allocations: 97.58 kB / 0.7451 GB, free: 8.414 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002149/0.6143, allocations: 0.6807 MB / 0.7458 GB, free: 7.707 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.943e-05/0.6143, allocations: 16.72 kB / 0.7458 GB, free: 7.688 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.295e-05/0.6143, allocations: 19.38 kB / 0.7458 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of SimCode: time 2.6e-07/0.6144, allocations: 0 / 0.7458 GB, free: 7.668 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01925/0.6336, allocations: 0.914 MB / 0.7467 GB, free: 6.766 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001999/0.6339, allocations: 147.6 kB / 0.7468 GB, free: 6.578 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.374/2.007, allocations: 0 / 0.7468 GB, free: 6.578 MB / 0.5261 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)