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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001539/0.001539, allocations: 189.3 kB / 16.25 MB, free: 6.633 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.369/1.369, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9619/0.9619, allocations: 135.1 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001232/0.001232, allocations: 75.47 kB / 0.505 GB, free: 5.547 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1467, allocations: 80.92 MB / 0.584 GB, free: 4.789 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001757/0.1485, allocations: 0.631 MB / 0.5846 GB, free: 4.148 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002028/0.1487, allocations: 39.86 kB / 0.5847 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.589e-05/0.1488, allocations: 0 / 0.5847 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.812e-05/0.1488, allocations: 0 / 0.5847 GB, free: 4.109 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.171e-05/0.1488, allocations: 4 kB / 0.5847 GB, free: 4.105 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001883/0.149, allocations: 8 kB / 0.5847 GB, free: 4.098 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.003e-05/0.1491, allocations: 4 kB / 0.5847 GB, free: 4.094 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.724e-05/0.1491, allocations: 11.97 kB / 0.5847 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.681e-05/0.1492, allocations: 0 / 0.5847 GB, free: 4.082 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.098e-05/0.1492, allocations: 3.938 kB / 0.5847 GB, free: 4.078 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.1492, allocations: 7.938 kB / 0.5847 GB, free: 4.07 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.839e-05/0.1493, allocations: 15.98 kB / 0.5847 GB, free: 4.055 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.763e-05/0.1493, allocations: 4 kB / 0.5847 GB, free: 4.051 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.286e-05/0.1494, allocations: 11.94 kB / 0.5847 GB, free: 4.039 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.246e-05/0.1494, allocations: 27.95 kB / 0.5848 GB, free: 4.012 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1495, allocations: 3.938 kB / 0.5848 GB, free: 4.008 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.1495, allocations: 0 / 0.5848 GB, free: 4.008 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.669e-06/0.1495, allocations: 0 / 0.5848 GB, free: 4.008 MB / 494.1 MB 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.000287/0.1498, allocations: 345.3 kB / 0.5851 GB, free: 3.613 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.603e-05/0.1498, allocations: 12.03 kB / 0.5851 GB, free: 3.602 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.263e-05/0.1498, allocations: 34.75 kB / 0.5851 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.519e-05/0.1499, allocations: 8.844 kB / 0.5851 GB, free: 3.551 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/0.15, allocations: 168.6 kB / 0.5853 GB, free: 3.348 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.231e-05/0.15, allocations: 4.375 kB / 0.5853 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.037e-05/0.15, allocations: 384 / 0.5853 GB, free: 3.344 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001162/0.1501, allocations: 58.19 kB / 0.5854 GB, free: 3.281 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.293e-06/0.1501, allocations: 3.938 kB / 0.5854 GB, free: 3.277 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.1502, allocations: 3.984 kB / 0.5854 GB, free: 3.273 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.321e-05/0.1502, allocations: 11.98 kB / 0.5854 GB, free: 3.262 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.608e-05/0.1502, allocations: 23.98 kB / 0.5854 GB, free: 3.238 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002858/0.1505, allocations: 260.8 kB / 0.5856 GB, free: 2.934 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 4.21e-05/0.1506, allocations: 26.56 kB / 0.5857 GB, free: 2.898 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.602e-05/0.1506, allocations: 8.797 kB / 0.5857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.73e-06/0.1506, allocations: 0 / 0.5857 GB, free: 2.887 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.1506, allocations: 38.62 kB / 0.5857 GB, free: 2.84 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 1.052e-06/0.1506, allocations: 3.938 kB / 0.5857 GB, free: 2.836 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001489/0.1508, allocations: 67.39 kB / 0.5858 GB, free: 2.758 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/0.1508, allocations: 85.23 kB / 0.5859 GB, free: 2.656 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.023e-05/0.1509, allocations: 109.8 kB / 0.586 GB, free: 2.539 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.551e-05/0.1509, allocations: 25.7 kB / 0.586 GB, free: 2.508 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.594e-05/0.151, allocations: 107.9 kB / 0.5861 GB, free: 2.398 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.001e-05/0.151, allocations: 7.891 kB / 0.5861 GB, free: 2.391 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.151, allocations: 21.72 kB / 0.5861 GB, free: 2.363 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.878e-05/0.1511, allocations: 318.8 kB / 0.5864 GB, free: 2.043 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.532e-05/0.1512, allocations: 15.92 kB / 0.5864 GB, free: 2.027 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.805e-05/0.1512, allocations: 62.86 kB / 0.5865 GB, free: 1.941 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.185e-05/0.1513, allocations: 130.1 kB / 0.5866 GB, free: 1.777 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/0.1513, allocations: 0 / 0.5866 GB, free: 1.777 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001345/0.1515, allocations: 111.5 kB / 0.5867 GB, free: 1.656 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.123e-05/0.1515, allocations: 37.73 kB / 0.5868 GB, free: 1.613 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.1515, allocations: 3.938 kB / 0.5868 GB, free: 1.609 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.185e-05/0.1515, allocations: 4 kB / 0.5868 GB, free: 1.605 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.564e-05/0.1516, allocations: 19.92 kB / 0.5868 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.1516, allocations: 0 / 0.5868 GB, free: 1.586 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.499e-05/0.1517, allocations: 15.84 kB / 0.5868 GB, free: 1.57 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.1517, allocations: 11.94 kB / 0.5868 GB, free: 1.559 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.298e-05/0.1518, allocations: 135.5 kB / 0.587 GB, free: 1.41 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.646e-05/0.1518, allocations: 7.984 kB / 0.587 GB, free: 1.402 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.305e-05/0.1518, allocations: 11.53 kB / 0.587 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.1518, allocations: 0 / 0.587 GB, free: 1.387 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.536e-06/0.1519, allocations: 3.938 kB / 0.587 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.914e-06/0.1519, allocations: 0 / 0.587 GB, free: 1.383 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001284/0.152, allocations: 153.6 kB / 0.5871 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.152, allocations: 0 / 0.5871 GB, free: 1.184 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.51e-07/0.152, allocations: 4 kB / 0.5871 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.152, allocations: 0 / 0.5871 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.295e-06/0.152, allocations: 0 / 0.5871 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.152, allocations: 0 / 0.5871 GB, free: 1.18 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.1521, allocations: 4 kB / 0.5871 GB, free: 1.176 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001274/0.1522, allocations: 173.1 kB / 0.5873 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.796e-05/0.1522, allocations: 77.11 kB / 0.5874 GB, free: 0.8906 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.149e-05/0.1522, allocations: 4 kB / 0.5874 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.863e-05/0.1523, allocations: 0 / 0.5874 GB, free: 0.8867 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.524e-05/0.1523, allocations: 4 kB / 0.5874 GB, free: 0.8828 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.042e-06/0.1523, allocations: 4 kB / 0.5874 GB, free: 0.8789 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.531e-05/0.1524, allocations: 95.7 kB / 0.5875 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1524, allocations: 0 / 0.5875 GB, free: 0.7852 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002383/0.1526, allocations: 15.94 kB / 0.5875 GB, free: 0.7695 MB / 494.1 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003967/0.153, allocations: 0.7024 MB / 0.5882 GB, free: 36 kB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001378/0.1532, allocations: 87.36 kB / 0.5883 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.1532, allocations: 0 / 0.5883 GB, free: 15.94 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.558e-05/0.1532, allocations: 55.41 kB / 0.5883 GB, free: 15.87 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.1535, allocations: 14.75 kB / 0.5883 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003538/0.1538, allocations: 157.9 kB / 0.5885 GB, free: 15.67 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002277/0.1541, allocations: 0.6812 MB / 0.5891 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 7.876e-05/0.1541, allocations: 15.98 kB / 0.5892 GB, free: 14.95 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.53e-05/0.1542, allocations: 11.44 kB / 0.5892 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of SimCode: time 2.1e-07/0.1542, allocations: 0 / 0.5892 GB, free: 14.93 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.009997/0.1642, allocations: 1.331 MB / 0.5905 GB, free: 13.76 MB / 0.4981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.1644, allocations: 211 kB / 0.5907 GB, free: 13.5 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.658/1.823, allocations: 64 / 0.5907 GB, free: 13.5 MB / 0.4981 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/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)