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.006134/0.006134, allocations: 100.8 kB / 15.73 MB, free: 6.055 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.001301/0.001301, allocations: 192.4 kB / 16.67 MB, free: 5.969 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.38/1.38, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8333/0.8333, allocations: 135.6 MB / 426.1 MB, free: 3.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001839/0.001839, allocations: 80.78 kB / 0.5858 GB, free: 21.5 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.143, allocations: 81.02 MB / 0.6649 GB, free: 5.562 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001701/0.1447, allocations: 0.5643 MB / 0.6654 GB, free: 5 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0002499/0.145, allocations: 47.86 kB / 0.6655 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.228e-05/0.145, allocations: 0 / 0.6655 GB, free: 4.953 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 2.941e-05/0.1451, allocations: 4 kB / 0.6655 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 3.506e-05/0.1451, allocations: 0 / 0.6655 GB, free: 4.949 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002174/0.1453, allocations: 11.94 kB / 0.6655 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 7.94e-05/0.1454, allocations: 11.92 kB / 0.6655 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.1455, allocations: 0 / 0.6655 GB, free: 4.926 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 2.265e-05/0.1455, allocations: 7.984 kB / 0.6655 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 3.891e-05/0.1456, allocations: 0 / 0.6655 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 1.281e-05/0.1456, allocations: 0 / 0.6655 GB, free: 4.918 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 8.05e-05/0.1457, allocations: 23.92 kB / 0.6656 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 3.213e-05/0.1457, allocations: 4 kB / 0.6656 GB, free: 4.891 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 2.505e-05/0.1457, allocations: 7.938 kB / 0.6656 GB, free: 4.883 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0001082/0.1458, allocations: 28.19 kB / 0.6656 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.1458, allocations: 0 / 0.6656 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.385e-06/0.1459, allocations: 0 / 0.6656 GB, free: 4.855 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 4.919e-06/0.1459, allocations: 0 / 0.6656 GB, free: 4.855 MB / 0.4981 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.0003773/0.1462, allocations: 355 kB / 0.6659 GB, free: 4.453 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.958e-05/0.1463, allocations: 9.109 kB / 0.6659 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.634e-05/0.1463, allocations: 38.73 kB / 0.666 GB, free: 4.398 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.029e-05/0.1464, allocations: 4.891 kB / 0.666 GB, free: 4.395 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001113/0.1465, allocations: 163 kB / 0.6661 GB, free: 4.199 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.121e-05/0.1465, allocations: 4.375 kB / 0.6661 GB, free: 4.195 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.209e-05/0.1465, allocations: 8.312 kB / 0.6661 GB, free: 4.188 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000141/0.1467, allocations: 62.22 kB / 0.6662 GB, free: 4.121 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.1467, allocations: 3.938 kB / 0.6662 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.744e-06/0.1467, allocations: 0 / 0.6662 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.1467, allocations: 8 kB / 0.6662 GB, free: 4.109 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.091e-05/0.1468, allocations: 23.98 kB / 0.6662 GB, free: 4.086 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003579/0.1471, allocations: 268.8 kB / 0.6665 GB, free: 3.773 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 4.664e-05/0.1472, allocations: 18.52 kB / 0.6665 GB, free: 3.746 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.225e-05/0.1472, allocations: 12.91 kB / 0.6665 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.386e-06/0.1472, allocations: 0 / 0.6665 GB, free: 3.73 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.1473, allocations: 34.56 kB / 0.6666 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=1): time 1.062e-06/0.1473, allocations: 0 / 0.6666 GB, free: 3.688 MB / 0.4981 GB Notification: Performance of matching and sorting (n=1): time 0.0001703/0.1474, allocations: 71.34 kB / 0.6666 GB, free: 3.605 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.344e-05/0.1475, allocations: 81.23 kB / 0.6667 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.731e-05/0.1476, allocations: 121.7 kB / 0.6668 GB, free: 3.379 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.769e-05/0.1476, allocations: 25.7 kB / 0.6668 GB, free: 3.348 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.509e-05/0.1477, allocations: 103.9 kB / 0.6669 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 9.608e-06/0.1477, allocations: 8.016 kB / 0.667 GB, free: 3.234 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.828e-05/0.1478, allocations: 22.06 kB / 0.667 GB, free: 3.207 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.1479, allocations: 326.8 kB / 0.6673 GB, free: 2.879 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.391e-05/0.148, allocations: 4 kB / 0.6673 GB, free: 2.875 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.879e-05/0.148, allocations: 62.86 kB / 0.6673 GB, free: 2.789 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001333/0.1482, allocations: 138.1 kB / 0.6675 GB, free: 2.617 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.107e-06/0.1482, allocations: 4 kB / 0.6675 GB, free: 2.613 MB / 0.4981 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001629/0.1483, allocations: 119.4 kB / 0.6676 GB, free: 2.484 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.706e-05/0.1484, allocations: 37.64 kB / 0.6676 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.179e-06/0.1484, allocations: 4 kB / 0.6676 GB, free: 2.438 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.717e-05/0.1484, allocations: 7.984 kB / 0.6676 GB, free: 2.43 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.849e-05/0.1485, allocations: 8 kB / 0.6677 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.1485, allocations: 7.938 kB / 0.6677 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.557e-05/0.1486, allocations: 4 kB / 0.6677 GB, free: 2.41 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.666e-05/0.1486, allocations: 7.938 kB / 0.6677 GB, free: 2.402 MB / 0.4981 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 () * 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 0.0001235/0.1487, allocations: 155.4 kB / 0.6678 GB, free: 2.234 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.591e-05/0.1488, allocations: 7.984 kB / 0.6678 GB, free: 2.227 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.469e-05/0.1488, allocations: 7.531 kB / 0.6678 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-06/0.1488, allocations: 0 / 0.6678 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.045e-06/0.1488, allocations: 0 / 0.6678 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1488, allocations: 0 / 0.6678 GB, free: 2.219 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001743/0.149, allocations: 157.6 kB / 0.668 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.149, allocations: 0 / 0.668 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.31e-07/0.149, allocations: 0 / 0.668 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.142e-06/0.149, allocations: 0 / 0.668 GB, free: 2.016 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.149, allocations: 4 kB / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.149, allocations: 0 / 0.668 GB, free: 2.012 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.149, allocations: 4 kB / 0.668 GB, free: 2.008 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001435/0.1492, allocations: 165.2 kB / 0.6682 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.669e-05/0.1492, allocations: 77.11 kB / 0.6682 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.1492, allocations: 0 / 0.6682 GB, free: 1.73 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.74e-05/0.1493, allocations: 7.984 kB / 0.6682 GB, free: 1.723 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.663e-05/0.1493, allocations: 3.938 kB / 0.6682 GB, free: 1.719 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.439e-06/0.1493, allocations: 3.938 kB / 0.6682 GB, free: 1.715 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.513e-05/0.1494, allocations: 99.23 kB / 0.6683 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1494, allocations: 0 / 0.6683 GB, free: 1.617 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002392/0.1496, allocations: 12 kB / 0.6683 GB, free: 1.605 MB / 0.4981 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 () * 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.0004535/0.1501, allocations: 0.6985 MB / 0.669 GB, free: 0.875 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1503, allocations: 87.36 kB / 0.6691 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1503, allocations: 0 / 0.6691 GB, free: 0.7773 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 3.795e-05/0.1503, allocations: 63.34 kB / 0.6692 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001905/0.1505, allocations: 1.875 kB / 0.6692 GB, free: 0.7031 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003487/0.1509, allocations: 146.5 kB / 0.6693 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003215/0.1512, allocations: 0.6807 MB / 0.67 GB, free: 15.81 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 7.501e-05/0.1513, allocations: 16.3 kB / 0.67 GB, free: 15.8 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.462e-05/0.1513, allocations: 11.44 kB / 0.67 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of SimCode: time 2.5e-07/0.1513, allocations: 0 / 0.67 GB, free: 15.79 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02068/0.172, allocations: 1.435 MB / 0.6714 GB, free: 14.45 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.659/7.831, allocations: 8.859 kB / 0.6714 GB, free: 14.44 MB / 0.5137 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)