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.001361/0.001361, allocations: 105.6 kB / 16.45 MB, free: 6.445 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.001397/0.001397, allocations: 187.7 kB / 19.4 MB, free: 3.66 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.53/1.53, allocations: 225.6 MB / 247.8 MB, free: 3.754 MB / 190.1 MB " [Timeout remaining time 178] 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 1.099/1.099, allocations: 175.8 MB / 478.4 MB, free: 3.414 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.001953/0.001953, allocations: 74.69 kB / 0.6652 GB, free: 11.19 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1921, allocations: 94.55 MB / 0.7576 GB, free: 1.523 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001752/0.1939, allocations: 0.5778 MB / 0.7581 GB, free: 0.9492 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002288/0.1941, allocations: 35.88 kB / 0.7582 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.214e-05/0.1941, allocations: 0 / 0.7582 GB, free: 0.9141 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.548e-05/0.1941, allocations: 4 kB / 0.7582 GB, free: 0.9102 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.782e-05/0.1942, allocations: 3.938 kB / 0.7582 GB, free: 0.9062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001893/0.1944, allocations: 15.98 kB / 0.7582 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.547e-05/0.1944, allocations: 0 / 0.7582 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.757e-05/0.1945, allocations: 4 kB / 0.7582 GB, free: 0.8867 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 2.163e-05/0.1945, allocations: 7.969 kB / 0.7582 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 4.236e-05/0.1945, allocations: 0 / 0.7582 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.025e-05/0.1945, allocations: 0 / 0.7582 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001374/0.1947, allocations: 23.98 kB / 0.7582 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 3.011e-05/0.1947, allocations: 3.938 kB / 0.7582 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.356e-05/0.1947, allocations: 11.94 kB / 0.7582 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.119e-05/0.1948, allocations: 20.2 kB / 0.7583 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1948, allocations: 3.984 kB / 0.7583 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.774e-06/0.1948, allocations: 0 / 0.7583 GB, free: 0.8164 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.767e-06/0.1948, allocations: 0 / 0.7583 GB, free: 0.8164 MB / 0.5606 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.0003772/0.1952, allocations: 349.2 kB / 0.7586 GB, free: 428 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.095e-05/0.1953, allocations: 12.03 kB / 0.7586 GB, free: 416 kB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.767e-05/0.1953, allocations: 34.73 kB / 0.7586 GB, free: 372 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.485e-05/0.1953, allocations: 8.828 kB / 0.7587 GB, free: 364 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001607/0.1955, allocations: 168.3 kB / 0.7588 GB, free: 156 kB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.18e-05/0.1955, allocations: 8.312 kB / 0.7588 GB, free: 148 kB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.076e-05/0.1955, allocations: 384 / 0.7588 GB, free: 148 kB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001348/0.1956, allocations: 58.19 kB / 0.7589 GB, free: 84 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.947e-06/0.1957, allocations: 3.938 kB / 0.7589 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.293e-06/0.1957, allocations: 0 / 0.7589 GB, free: 80 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.232e-05/0.1957, allocations: 11.98 kB / 0.7589 GB, free: 68 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.963e-05/0.1957, allocations: 27.92 kB / 0.7589 GB, free: 40 kB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003498/0.1961, allocations: 264.8 kB / 0.7592 GB, free: 15.73 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 5.854e-05/0.1962, allocations: 26.56 kB / 0.7592 GB, free: 15.7 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.821e-05/0.1962, allocations: 4.859 kB / 0.7592 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.474e-06/0.1962, allocations: 0 / 0.7592 GB, free: 15.69 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.827e-05/0.1962, allocations: 34.62 kB / 0.7592 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 8.61e-07/0.1962, allocations: 0 / 0.7592 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001754/0.1964, allocations: 67.34 kB / 0.7593 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.397e-05/0.1964, allocations: 85.22 kB / 0.7594 GB, free: 15.46 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.291e-05/0.1965, allocations: 113.8 kB / 0.7595 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.1965, allocations: 29.7 kB / 0.7595 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.764e-05/0.1966, allocations: 108 kB / 0.7596 GB, free: 15.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 9.739e-06/0.1966, allocations: 7.984 kB / 0.7596 GB, free: 15.19 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.305e-05/0.1967, allocations: 25.67 kB / 0.7597 GB, free: 15.16 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001331/0.1968, allocations: 318.8 kB / 0.76 GB, free: 14.84 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.601e-05/0.1968, allocations: 11.98 kB / 0.76 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.676e-05/0.1969, allocations: 59.27 kB / 0.76 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001193/0.197, allocations: 138.1 kB / 0.7602 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.197, allocations: 0 / 0.7602 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001575/0.1972, allocations: 115.4 kB / 0.7603 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 3.521e-05/0.1972, allocations: 37.73 kB / 0.7603 GB, free: 14.41 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.1972, allocations: 3.984 kB / 0.7603 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.499e-05/0.1972, allocations: 4 kB / 0.7603 GB, free: 14.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.012e-05/0.1973, allocations: 19.98 kB / 0.7603 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/0.1973, allocations: 3.938 kB / 0.7603 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.898e-05/0.1974, allocations: 11.89 kB / 0.7603 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.848e-05/0.1974, allocations: 11.94 kB / 0.7604 GB, free: 14.35 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 0.0001067/0.1975, allocations: 139.5 kB / 0.7605 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.1975, allocations: 0 / 0.7605 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.99e-05/0.1975, allocations: 15.52 kB / 0.7605 GB, free: 14.18 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.263e-06/0.1975, allocations: 3.938 kB / 0.7605 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.1975, allocations: 0 / 0.7605 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1975, allocations: 0 / 0.7605 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001661/0.1977, allocations: 157.6 kB / 0.7607 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1977, allocations: 0 / 0.7607 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.1977, allocations: 0 / 0.7607 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.517e-06/0.1977, allocations: 4 kB / 0.7607 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.223e-06/0.1977, allocations: 0 / 0.7607 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.1977, allocations: 3.938 kB / 0.7607 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1977, allocations: 0 / 0.7607 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001421/0.1979, allocations: 173.1 kB / 0.7608 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.884e-05/0.1979, allocations: 81.06 kB / 0.7609 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.577e-05/0.1979, allocations: 4 kB / 0.7609 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.415e-05/0.198, allocations: 0 / 0.7609 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.676e-05/0.198, allocations: 0 / 0.7609 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.317e-06/0.198, allocations: 8 kB / 0.7609 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 6.486e-05/0.1981, allocations: 99.23 kB / 0.761 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1981, allocations: 0 / 0.761 GB, free: 13.56 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002469/0.1983, allocations: 8 kB / 0.761 GB, free: 13.55 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.0005274/0.1989, allocations: 0.7024 MB / 0.7617 GB, free: 12.82 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.199, allocations: 87.36 kB / 0.7618 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.199, allocations: 0 / 0.7618 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.957e-05/0.1991, allocations: 55.41 kB / 0.7618 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002054/0.1993, allocations: 5.547 kB / 0.7619 GB, free: 12.65 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003998/0.1997, allocations: 146.6 kB / 0.762 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000313/0.2, allocations: 0.6768 MB / 0.7627 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.000121/0.2001, allocations: 16.55 kB / 0.7627 GB, free: 11.75 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.169e-05/0.2001, allocations: 7.438 kB / 0.7627 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of SimCode: time 3.51e-07/0.2001, allocations: 4 kB / 0.7627 GB, free: 11.74 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02372/0.2238, allocations: 1.445 MB / 0.7641 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.01/8.233, allocations: 12.69 kB / 0.7641 GB, free: 10.39 MB / 0.5762 GB " [Timeout remaining time 652] (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 --stepSize=0.0004 --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: 12.226021603215486] Failed to read output from testmodel.py, exit status != 0: 8.304327576421201 8.333198507 8.133010637 Calling exit ...