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/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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001103/0.001103, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001085/0.001085, allocations: 194 kB / 16.25 MB, free: 6.617 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.298/1.298, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.702/0.702, allocations: 132.2 MB / 422.3 MB, free: 1.945 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001255/0.001255, allocations: 71.52 kB / 0.5014 GB, free: 9 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1381, allocations: 80.19 MB / 0.5797 GB, free: 9.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001629/0.1398, allocations: 0.6505 MB / 0.5803 GB, free: 8.371 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002068/0.14, allocations: 43.84 kB / 0.5804 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.438e-05/0.14, allocations: 0 / 0.5804 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.7e-05/0.1401, allocations: 0 / 0.5804 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 3.038e-05/0.1401, allocations: 0 / 0.5804 GB, free: 8.328 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000166/0.1403, allocations: 15.94 kB / 0.5804 GB, free: 8.312 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.906e-05/0.1403, allocations: 4 kB / 0.5804 GB, free: 8.309 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.444e-05/0.1404, allocations: 7.984 kB / 0.5804 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.447e-05/0.1404, allocations: 0 / 0.5804 GB, free: 8.301 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 1.888e-05/0.1404, allocations: 7.922 kB / 0.5804 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 9.748e-06/0.1404, allocations: 0 / 0.5804 GB, free: 8.293 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.592e-05/0.1405, allocations: 23.98 kB / 0.5804 GB, free: 8.27 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.301e-05/0.1405, allocations: 0 / 0.5804 GB, free: 8.27 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.124e-05/0.1406, allocations: 7.938 kB / 0.5804 GB, free: 8.262 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 7.658e-05/0.1406, allocations: 23.97 kB / 0.5804 GB, free: 8.238 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.196e-06/0.1407, allocations: 7.938 kB / 0.5805 GB, free: 8.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.173e-06/0.1407, allocations: 0 / 0.5805 GB, free: 8.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1407, allocations: 0 / 0.5805 GB, free: 8.23 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.0002735/0.1409, allocations: 353.2 kB / 0.5808 GB, free: 7.828 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.364e-05/0.141, allocations: 12.03 kB / 0.5808 GB, free: 7.816 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.395e-05/0.141, allocations: 30.75 kB / 0.5808 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.971e-05/0.141, allocations: 0.9375 kB / 0.5808 GB, free: 7.777 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.564e-05/0.1411, allocations: 172.5 kB / 0.581 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.247e-06/0.1411, allocations: 384 / 0.581 GB, free: 7.57 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.017e-05/0.1411, allocations: 4.359 kB / 0.581 GB, free: 7.566 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.1413, allocations: 58.25 kB / 0.5811 GB, free: 7.504 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.432e-06/0.1413, allocations: 3.938 kB / 0.5811 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.811e-06/0.1413, allocations: 0 / 0.5811 GB, free: 7.5 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.25e-05/0.1413, allocations: 11.98 kB / 0.5811 GB, free: 7.488 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.151e-05/0.1414, allocations: 23.98 kB / 0.5811 GB, free: 7.465 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002787/0.1416, allocations: 264.7 kB / 0.5813 GB, free: 7.156 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 3.832e-05/0.1417, allocations: 22.56 kB / 0.5814 GB, free: 7.125 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.439e-05/0.1417, allocations: 8.859 kB / 0.5814 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.36e-06/0.1417, allocations: 0 / 0.5814 GB, free: 7.113 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.114e-05/0.1417, allocations: 42.62 kB / 0.5814 GB, free: 7.062 MB / 494.1 MB Notification: Performance of pre-optimization done (n=1): time 9.31e-07/0.1417, allocations: 0 / 0.5814 GB, free: 7.062 MB / 494.1 MB Notification: Performance of matching and sorting (n=1): time 0.0001399/0.1419, allocations: 67.33 kB / 0.5815 GB, free: 6.984 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.772e-05/0.1419, allocations: 77.11 kB / 0.5816 GB, free: 6.891 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.012e-05/0.142, allocations: 117.8 kB / 0.5817 GB, free: 6.766 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.112e-05/0.142, allocations: 29.83 kB / 0.5817 GB, free: 6.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.523e-05/0.1421, allocations: 95.8 kB / 0.5818 GB, free: 6.633 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.014e-05/0.1421, allocations: 11.89 kB / 0.5818 GB, free: 6.621 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.48e-05/0.1421, allocations: 21.72 kB / 0.5818 GB, free: 6.594 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 8.56e-05/0.1422, allocations: 318.8 kB / 0.5821 GB, free: 6.273 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.39e-05/0.1423, allocations: 11.98 kB / 0.5821 GB, free: 6.262 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.049e-05/0.1423, allocations: 63.23 kB / 0.5822 GB, free: 6.176 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.053e-05/0.1424, allocations: 134.1 kB / 0.5823 GB, free: 6.008 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.1424, allocations: 3.938 kB / 0.5823 GB, free: 6.004 MB / 494.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001316/0.1426, allocations: 115.2 kB / 0.5824 GB, free: 5.879 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.821e-05/0.1426, allocations: 37.7 kB / 0.5825 GB, free: 5.836 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.967e-06/0.1426, allocations: 4.188 kB / 0.5825 GB, free: 5.832 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.184e-05/0.1426, allocations: 8 kB / 0.5825 GB, free: 5.824 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.009e-05/0.1427, allocations: 15.98 kB / 0.5825 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1427, allocations: 160 / 0.5825 GB, free: 5.809 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.197e-05/0.1428, allocations: 11.84 kB / 0.5825 GB, free: 5.797 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.599e-05/0.1428, allocations: 19.86 kB / 0.5825 GB, free: 5.777 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.842e-05/0.1429, allocations: 139.5 kB / 0.5827 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.178e-05/0.1429, allocations: 0 / 0.5827 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.617e-05/0.1429, allocations: 11.52 kB / 0.5827 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.123e-06/0.1429, allocations: 0 / 0.5827 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.078e-06/0.1429, allocations: 8 kB / 0.5827 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.573e-06/0.1429, allocations: 0 / 0.5827 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.1431, allocations: 157.6 kB / 0.5828 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.1431, allocations: 0 / 0.5828 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.1431, allocations: 0 / 0.5828 GB, free: 5.402 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.1431, allocations: 4 kB / 0.5828 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.071e-06/0.1431, allocations: 0 / 0.5828 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.31e-07/0.1431, allocations: 0 / 0.5828 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.1431, allocations: 0 / 0.5828 GB, free: 5.398 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.1432, allocations: 177 kB / 0.583 GB, free: 5.203 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.776e-05/0.1433, allocations: 77.11 kB / 0.5831 GB, free: 5.109 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.297e-05/0.1433, allocations: 4 kB / 0.5831 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.575e-05/0.1433, allocations: 0 / 0.5831 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.192e-05/0.1433, allocations: 0 / 0.5831 GB, free: 5.105 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.181e-06/0.1434, allocations: 4 kB / 0.5831 GB, free: 5.102 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.904e-05/0.1434, allocations: 95.2 kB / 0.5832 GB, free: 5.008 MB / 494.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1434, allocations: 0 / 0.5832 GB, free: 5.008 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002317/0.1437, allocations: 8.031 kB / 0.5832 GB, free: 5 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.0003682/0.144, allocations: 0.7025 MB / 0.5839 GB, free: 4.262 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001157/0.1442, allocations: 87.67 kB / 0.584 GB, free: 4.164 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.1442, allocations: 4.125 kB / 0.584 GB, free: 4.16 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.891e-05/0.1442, allocations: 59.41 kB / 0.584 GB, free: 4.09 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001943/0.1444, allocations: 1.719 kB / 0.584 GB, free: 4.09 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003604/0.1448, allocations: 158.4 kB / 0.5842 GB, free: 3.895 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002885/0.1451, allocations: 0.6845 MB / 0.5848 GB, free: 3.184 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 7.689e-05/0.1451, allocations: 15.8 kB / 0.5849 GB, free: 3.168 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.903e-05/0.1452, allocations: 15.38 kB / 0.5849 GB, free: 3.156 MB / 494.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1452, allocations: 0 / 0.5849 GB, free: 3.156 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2054/0.3505, allocations: 1.327 MB / 0.5862 GB, free: 1.996 MB / 494.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002598/0.3508, allocations: 209.3 kB / 0.5864 GB, free: 1.742 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.611/1.962, allocations: 0 / 0.5864 GB, free: 1.742 MB / 494.1 MB (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/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)