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.001432/0.001432, allocations: 115.5 kB / 17.08 MB, free: 5.988 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.00131/0.001311, allocations: 194.2 kB / 20.03 MB, free: 3.059 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.396/1.396, allocations: 222.9 MB / 245.7 MB, free: 4.227 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 1.129/1.129, allocations: 173.4 MB / 471.3 MB, free: 6.57 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: translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") translateModel(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001985/0.001985, allocations: 74.83 kB / 0.649 GB, free: 22.84 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1588/0.1608, allocations: 89.52 MB / 0.7365 GB, free: 3.605 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration): time 0.001753/0.1626, allocations: 0.5912 MB / 0.737 GB, free: 3.016 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0002366/0.1629, allocations: 31.88 kB / 0.7371 GB, free: 2.984 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.849e-05/0.1629, allocations: 0 / 0.7371 GB, free: 2.984 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.151e-05/0.1629, allocations: 4 kB / 0.7371 GB, free: 2.98 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 3.123e-05/0.163, allocations: 0 / 0.7371 GB, free: 2.98 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.1632, allocations: 15.98 kB / 0.7371 GB, free: 2.965 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.587e-05/0.1633, allocations: 3.984 kB / 0.7371 GB, free: 2.961 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 3.438e-05/0.1633, allocations: 4 kB / 0.7371 GB, free: 2.957 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 1.917e-05/0.1634, allocations: 4 kB / 0.7371 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.721e-05/0.1634, allocations: 0 / 0.7371 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.185e-05/0.1634, allocations: 0 / 0.7371 GB, free: 2.953 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.817e-05/0.1635, allocations: 27.91 kB / 0.7371 GB, free: 2.926 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 2.842e-05/0.1635, allocations: 3.938 kB / 0.7371 GB, free: 2.922 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.1636, allocations: 15.94 kB / 0.7371 GB, free: 2.906 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 9.077e-05/0.1637, allocations: 19.91 kB / 0.7372 GB, free: 2.887 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.095e-06/0.1637, allocations: 0 / 0.7372 GB, free: 2.887 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1637, allocations: 0 / 0.7372 GB, free: 2.887 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.1637, allocations: 0 / 0.7372 GB, free: 2.887 MB / 0.545 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.0003901/0.1641, allocations: 357.1 kB / 0.7375 GB, free: 2.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.1641, allocations: 12.03 kB / 0.7375 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.581e-05/0.1641, allocations: 0.9375 kB / 0.7375 GB, free: 2.469 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001214/0.1643, allocations: 168.3 kB / 0.7377 GB, free: 2.266 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.329e-05/0.1643, allocations: 4.375 kB / 0.7377 GB, free: 2.262 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.281e-05/0.1643, allocations: 8.312 kB / 0.7377 GB, free: 2.254 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1644, allocations: 58.23 kB / 0.7377 GB, free: 2.191 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.764e-06/0.1645, allocations: 192 / 0.7377 GB, free: 2.191 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.807e-06/0.1645, allocations: 3.938 kB / 0.7377 GB, free: 2.188 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.1645, allocations: 11.94 kB / 0.7378 GB, free: 2.176 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.972e-05/0.1646, allocations: 23.98 kB / 0.7378 GB, free: 2.152 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003561/0.1649, allocations: 264.8 kB / 0.738 GB, free: 1.844 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 4.675e-05/0.165, allocations: 18.58 kB / 0.738 GB, free: 1.816 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.779e-05/0.165, allocations: 8.922 kB / 0.7381 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 7.524e-06/0.165, allocations: 0 / 0.7381 GB, free: 1.805 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.925e-05/0.165, allocations: 38.5 kB / 0.7381 GB, free: 1.758 MB / 0.545 GB Notification: Performance of pre-optimization done (n=1): time 7.92e-07/0.165, allocations: 0 / 0.7381 GB, free: 1.758 MB / 0.545 GB Notification: Performance of matching and sorting (n=1): time 0.0001666/0.1652, allocations: 67.39 kB / 0.7382 GB, free: 1.68 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.749e-05/0.1653, allocations: 77.64 kB / 0.7382 GB, free: 1.586 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.243e-05/0.1654, allocations: 117.8 kB / 0.7383 GB, free: 1.461 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.593e-05/0.1654, allocations: 25.7 kB / 0.7384 GB, free: 1.43 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.745e-05/0.1655, allocations: 111.9 kB / 0.7385 GB, free: 1.316 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 5.64e-06/0.1655, allocations: 0 / 0.7385 GB, free: 1.316 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.523e-05/0.1655, allocations: 29.67 kB / 0.7385 GB, free: 1.281 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1657, allocations: 322.8 kB / 0.7388 GB, free: 0.957 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.309e-05/0.1657, allocations: 4 kB / 0.7388 GB, free: 0.9531 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.965e-05/0.1658, allocations: 66.8 kB / 0.7389 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001192/0.1659, allocations: 134.2 kB / 0.739 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.1659, allocations: 0 / 0.739 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001626/0.1661, allocations: 119.2 kB / 0.7391 GB, free: 0.5664 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 3.052e-05/0.1661, allocations: 37.94 kB / 0.7392 GB, free: 0.5234 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.448e-06/0.1661, allocations: 4.469 kB / 0.7392 GB, free: 0.5195 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.426e-05/0.1662, allocations: 4 kB / 0.7392 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.124e-05/0.1662, allocations: 11.94 kB / 0.7392 GB, free: 0.5039 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.203e-06/0.1662, allocations: 4 kB / 0.7392 GB, free: 0.5 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.281e-05/0.1663, allocations: 11.89 kB / 0.7392 GB, free: 500 kB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.1663, allocations: 4 kB / 0.7392 GB, free: 496 kB / 0.545 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.00011/0.1665, allocations: 151.5 kB / 0.7393 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.1665, allocations: 0 / 0.7393 GB, free: 328 kB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.391e-05/0.1665, allocations: 7.531 kB / 0.7393 GB, free: 312 kB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.073e-06/0.1665, allocations: 8 kB / 0.7394 GB, free: 304 kB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.925e-06/0.1665, allocations: 3.938 kB / 0.7394 GB, free: 300 kB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-06/0.1665, allocations: 3.938 kB / 0.7394 GB, free: 296 kB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1667, allocations: 157.6 kB / 0.7395 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.1667, allocations: 0 / 0.7395 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.81e-07/0.1667, allocations: 0 / 0.7395 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.1667, allocations: 0 / 0.7395 GB, free: 88 kB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.1667, allocations: 4 kB / 0.7395 GB, free: 84 kB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.31e-07/0.1667, allocations: 3.938 kB / 0.7395 GB, free: 80 kB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.1667, allocations: 3.984 kB / 0.7395 GB, free: 76 kB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001513/0.1669, allocations: 169.2 kB / 0.7397 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.55e-05/0.167, allocations: 81.06 kB / 0.7398 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.261e-05/0.167, allocations: 3.984 kB / 0.7398 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.008e-05/0.167, allocations: 4 kB / 0.7398 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.315e-05/0.1671, allocations: 0 / 0.7398 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.348e-06/0.1671, allocations: 0 / 0.7398 GB, free: 15.78 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 6.249e-05/0.1671, allocations: 95.3 kB / 0.7399 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1671, allocations: 0 / 0.7399 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002488/0.1674, allocations: 15.94 kB / 0.7399 GB, free: 15.67 MB / 0.5606 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.0001535/0.1675, allocations: 99.25 kB / 0.74 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001483/0.1677, allocations: 87.27 kB / 0.7401 GB, free: 15.47 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.1677, allocations: 4 kB / 0.7401 GB, free: 15.46 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 4.143e-05/0.1678, allocations: 55.91 kB / 0.7401 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002044/0.168, allocations: 12.05 kB / 0.7401 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002252/0.1682, allocations: 126.7 kB / 0.7402 GB, free: 15.23 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.1685, allocations: 0.6789 MB / 0.7409 GB, free: 14.53 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.1686, allocations: 11.44 kB / 0.7409 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of SimCode: time 3.8e-07/0.1686, allocations: 0 / 0.7409 GB, free: 14.52 MB / 0.5606 GB Notification: Performance of Templates: time 0.002212/0.1708, allocations: 0.6775 MB / 0.7416 GB, free: 13.84 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.TrapezoidalIntegration.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.998545530019328] Failed to read output from testmodel.py, exit status != 0: 0.1768621588125825 0.19034420300000002 0.024012905 Calling exit ...