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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001406/0.001406, allocations: 111.9 kB / 17.54 MB, free: 4.641 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 189.9 kB / 20.71 MB, free: 1.484 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.3/1.3, allocations: 225.6 MB / 249.3 MB, free: 3.055 MB / 190.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.987/0.987, allocations: 175.7 MB / 480.1 MB, free: 2.727 MB / 366.1 MB " [Timeout remaining time 179] 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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001772/0.001772, allocations: 69.2 kB / 0.6678 GB, free: 10.91 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1513/0.1531, allocations: 94.52 MB / 0.7601 GB, free: 0.7383 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001595/0.1547, allocations: 0.6044 MB / 0.7607 GB, free: 140 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0001979/0.1549, allocations: 31.88 kB / 0.7607 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.492e-05/0.1549, allocations: 0 / 0.7607 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.646e-05/0.1549, allocations: 0 / 0.7607 GB, free: 108 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.612e-05/0.155, allocations: 7.938 kB / 0.7607 GB, free: 100 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001673/0.1551, allocations: 11.98 kB / 0.7608 GB, free: 88 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.651e-05/0.1552, allocations: 19.97 kB / 0.7608 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.378e-05/0.1552, allocations: 0 / 0.7608 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.501e-05/0.1552, allocations: 0 / 0.7608 GB, free: 68 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.906e-05/0.1553, allocations: 4 kB / 0.7608 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.021e-05/0.1553, allocations: 0 / 0.7608 GB, free: 64 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 6.791e-05/0.1554, allocations: 15.98 kB / 0.7608 GB, free: 48 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.92e-05/0.1554, allocations: 7.938 kB / 0.7608 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.988e-05/0.1554, allocations: 4 kB / 0.7608 GB, free: 36 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.729e-05/0.1555, allocations: 28.11 kB / 0.7608 GB, free: 8 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.1555, allocations: 4 kB / 0.7608 GB, free: 4 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1555, allocations: 4 kB / 0.7608 GB, free: 0 / 0.5606 GB Notification: Performance of Transformations before backend: time 2.095e-05/0.1555, allocations: 4.047 kB / 0.7608 GB, free: 15.99 MB / 0.5762 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.0003374/0.1559, allocations: 349.5 kB / 0.7612 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.1559, allocations: 8.031 kB / 0.7612 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.463e-05/0.1559, allocations: 30.75 kB / 0.7612 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.664e-05/0.156, allocations: 12.88 kB / 0.7612 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000107/0.1561, allocations: 164.3 kB / 0.7614 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.398e-06/0.1561, allocations: 384 / 0.7614 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.973e-06/0.1561, allocations: 384 / 0.7614 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001161/0.1562, allocations: 66.17 kB / 0.7614 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1562, allocations: 7.938 kB / 0.7615 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.582e-06/0.1562, allocations: 3.938 kB / 0.7615 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.954e-05/0.1562, allocations: 4 kB / 0.7615 GB, free: 15.25 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.582e-05/0.1563, allocations: 27.92 kB / 0.7615 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003181/0.1566, allocations: 260.8 kB / 0.7617 GB, free: 14.92 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.518e-05/0.1567, allocations: 26.58 kB / 0.7618 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.579e-05/0.1567, allocations: 8.859 kB / 0.7618 GB, free: 14.88 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 5.72e-06/0.1567, allocations: 4.062 kB / 0.7618 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.1567, allocations: 30.56 kB / 0.7618 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 1.072e-06/0.1567, allocations: 0 / 0.7618 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001582/0.1569, allocations: 71.33 kB / 0.7619 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.7e-05/0.1569, allocations: 81.11 kB / 0.7619 GB, free: 14.65 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.174e-05/0.157, allocations: 109.8 kB / 0.7621 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.196e-05/0.157, allocations: 25.7 kB / 0.7621 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.223e-05/0.1571, allocations: 120.1 kB / 0.7622 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.681e-06/0.1571, allocations: 0 / 0.7622 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.963e-05/0.1571, allocations: 25.67 kB / 0.7622 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.1572, allocations: 318.8 kB / 0.7625 GB, free: 14.03 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.518e-05/0.1573, allocations: 12 kB / 0.7625 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.867e-05/0.1573, allocations: 62.86 kB / 0.7626 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001147/0.1574, allocations: 130.1 kB / 0.7627 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.1574, allocations: 0 / 0.7627 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001436/0.1576, allocations: 119.2 kB / 0.7628 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.77e-05/0.1576, allocations: 29.7 kB / 0.7629 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.501e-06/0.1576, allocations: 4 kB / 0.7629 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.145e-05/0.1576, allocations: 256 / 0.7629 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.021e-05/0.1577, allocations: 19.98 kB / 0.7629 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.1577, allocations: 3.938 kB / 0.7629 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.272e-05/0.1578, allocations: 19.89 kB / 0.7629 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.577e-05/0.1578, allocations: 11.94 kB / 0.7629 GB, free: 13.55 MB / 0.5762 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 8.567e-05/0.1579, allocations: 143 kB / 0.763 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.344e-05/0.1579, allocations: 4 kB / 0.7631 GB, free: 13.39 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.249e-05/0.1579, allocations: 3.531 kB / 0.7631 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.002e-06/0.1579, allocations: 0 / 0.7631 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.016e-06/0.1579, allocations: 0 / 0.7631 GB, free: 13.38 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.513e-06/0.1579, allocations: 7.938 kB / 0.7631 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001465/0.1581, allocations: 161.6 kB / 0.7632 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.22e-07/0.1581, allocations: 0 / 0.7632 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.1581, allocations: 0 / 0.7632 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-06/0.1581, allocations: 0 / 0.7632 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.671e-06/0.1581, allocations: 0 / 0.7632 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1581, allocations: 480 / 0.7632 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.72e-07/0.1581, allocations: 0 / 0.7632 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001266/0.1582, allocations: 181 kB / 0.7634 GB, free: 12.96 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.521e-05/0.1582, allocations: 85.06 kB / 0.7635 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.1582, allocations: 0 / 0.7635 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.224e-05/0.1583, allocations: 3.984 kB / 0.7635 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.387e-06/0.1583, allocations: 0 / 0.7635 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1583, allocations: 4 kB / 0.7635 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.054e-05/0.1584, allocations: 95.2 kB / 0.7636 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.1584, allocations: 0 / 0.7636 GB, free: 12.76 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002241/0.1586, allocations: 11.98 kB / 0.7636 GB, free: 12.75 MB / 0.5762 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.0004295/0.159, allocations: 0.7063 MB / 0.7643 GB, free: 12.01 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001216/0.1591, allocations: 83.33 kB / 0.7644 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1591, allocations: 0.5312 kB / 0.7644 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.585e-05/0.1592, allocations: 59.41 kB / 0.7644 GB, free: 11.85 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001834/0.1594, allocations: 9.969 kB / 0.7644 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003391/0.1597, allocations: 140.8 kB / 0.7646 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002712/0.16, allocations: 0.6807 MB / 0.7652 GB, free: 10.96 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 5.386e-05/0.16, allocations: 7.984 kB / 0.7652 GB, free: 10.95 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.478e-05/0.16, allocations: 15.44 kB / 0.7652 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1601, allocations: 4.062 kB / 0.7652 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02258/0.1826, allocations: 1.411 MB / 0.7666 GB, free: 9.605 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.014/7.197, allocations: 9.891 kB / 0.7666 GB, free: 9.598 MB / 0.5762 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 10.595010728007765]