Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.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.001354/0.001354, allocations: 118.9 kB / 17.13 MB, free: 5.914 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.001351/0.001351, allocations: 198.2 kB / 20.08 MB, free: 2.98 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.444/1.444, allocations: 225.6 MB / 248.5 MB, free: 3.629 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.084/1.084, allocations: 175.7 MB / 479.1 MB, free: 3.664 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.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") translateModel(IDEAS.Utilities.Math.Functions.Examples.Polynomial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001922/0.001922, allocations: 82.06 kB / 0.6664 GB, free: 10.9 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1636/0.1656, allocations: 94.54 MB / 0.7587 GB, free: 1.07 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.Polynomial): time 0.001728/0.1673, allocations: 0.5795 MB / 0.7593 GB, free: 0.4922 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0002273/0.1675, allocations: 31.88 kB / 0.7593 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.127e-05/0.1675, allocations: 0 / 0.7593 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.05e-05/0.1675, allocations: 0 / 0.7593 GB, free: 472 kB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 5.5e-06/0.1675, allocations: 8 kB / 0.7593 GB, free: 464 kB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002552/0.1678, allocations: 8 kB / 0.7593 GB, free: 456 kB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.797e-05/0.1678, allocations: 3.984 kB / 0.7593 GB, free: 452 kB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.501e-05/0.1679, allocations: 4 kB / 0.7593 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.146e-05/0.1679, allocations: 0 / 0.7593 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 3.548e-05/0.1679, allocations: 0 / 0.7593 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 8.306e-06/0.1679, allocations: 0 / 0.7593 GB, free: 448 kB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 9.676e-05/0.168, allocations: 23.92 kB / 0.7594 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 7.795e-06/0.168, allocations: 0 / 0.7594 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.753e-05/0.1681, allocations: 4 kB / 0.7594 GB, free: 420 kB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.98e-05/0.1682, allocations: 19.89 kB / 0.7594 GB, free: 400 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.1682, allocations: 7.938 kB / 0.7594 GB, free: 392 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.463e-06/0.1682, allocations: 0 / 0.7594 GB, free: 392 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 8.536e-06/0.1682, allocations: 0 / 0.7594 GB, free: 392 kB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003408/0.1685, allocations: 311.6 kB / 0.7597 GB, free: 28 kB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.1685, allocations: 12.03 kB / 0.7597 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.578e-05/0.1686, allocations: 0.9375 kB / 0.7597 GB, free: 16 kB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001366/0.1687, allocations: 164.4 kB / 0.7599 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.124e-05/0.1687, allocations: 384 / 0.7599 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.167e-05/0.1687, allocations: 384 / 0.7599 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.911e-05/0.1688, allocations: 34.27 kB / 0.7599 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.1688, allocations: 192 / 0.7599 GB, free: 15.78 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.044e-05/0.1688, allocations: 7.938 kB / 0.7599 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-06/0.1688, allocations: 0 / 0.7599 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.784e-05/0.1689, allocations: 3.938 kB / 0.7599 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000157/0.169, allocations: 153.7 kB / 0.7601 GB, free: 15.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 4.618e-05/0.1691, allocations: 14.58 kB / 0.7601 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.903e-05/0.1691, allocations: 16.89 kB / 0.7601 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 3.181e-05/0.1691, allocations: 0 / 0.7601 GB, free: 15.52 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.1691, allocations: 30.56 kB / 0.7601 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=1): time 7.52e-07/0.1691, allocations: 0 / 0.7601 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1): time 0.0001434/0.1693, allocations: 45.58 kB / 0.7602 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.069e-05/0.1693, allocations: 55.39 kB / 0.7602 GB, free: 15.37 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.516e-05/0.1694, allocations: 89.86 kB / 0.7603 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.154e-05/0.1694, allocations: 25.7 kB / 0.7603 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.454e-05/0.1694, allocations: 84.27 kB / 0.7604 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.513e-05/0.1695, allocations: 3.953 kB / 0.7604 GB, free: 15.15 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.778e-05/0.1695, allocations: 13.72 kB / 0.7604 GB, free: 15.13 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.1696, allocations: 310.8 kB / 0.7607 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.638e-06/0.1696, allocations: 0 / 0.7607 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-06/0.1696, allocations: 4 kB / 0.7607 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.07e-05/0.1697, allocations: 8.859 kB / 0.7607 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.1697, allocations: 4 kB / 0.7607 GB, free: 14.8 MB / 0.5762 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.585e-05/0.1697, allocations: 41.69 kB / 0.7608 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.225e-05/0.1698, allocations: 4 kB / 0.7608 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.1698, allocations: 0 / 0.7608 GB, free: 14.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.1698, allocations: 7.875 kB / 0.7608 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.279e-05/0.1698, allocations: 4 kB / 0.7608 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.027e-06/0.1698, allocations: 0 / 0.7608 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.173e-05/0.1698, allocations: 0 / 0.7608 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.094e-05/0.1699, allocations: 0 / 0.7608 GB, free: 14.73 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.591e-05/0.1699, allocations: 114.3 kB / 0.7609 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.843e-06/0.1699, allocations: 0 / 0.7609 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001032/0.17, allocations: 52.62 kB / 0.7609 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.17, allocations: 0 / 0.7609 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.17, allocations: 4 kB / 0.7609 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.17, allocations: 0 / 0.7609 GB, free: 14.55 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000113/0.1702, allocations: 145.7 kB / 0.7611 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.1702, allocations: 0 / 0.7611 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.782e-05/0.1702, allocations: 8.031 kB / 0.7611 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.1702, allocations: 0 / 0.7611 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.434e-06/0.1702, allocations: 3.938 kB / 0.7611 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1702, allocations: 0 / 0.7611 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1702, allocations: 0 / 0.7611 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.136e-05/0.1703, allocations: 61.12 kB / 0.7612 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.248e-05/0.1703, allocations: 81.09 kB / 0.7612 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.325e-05/0.1703, allocations: 7.938 kB / 0.7612 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.093e-05/0.1703, allocations: 7.969 kB / 0.7612 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.593e-05/0.1704, allocations: 0 / 0.7612 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.431e-06/0.1704, allocations: 7.938 kB / 0.7613 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.402e-05/0.1704, allocations: 75.28 kB / 0.7613 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7e-08/0.1704, allocations: 0 / 0.7613 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0001956/0.1706, allocations: 4 kB / 0.7613 GB, free: 14.07 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): 1 * Array equations: 0 * Algorithm blocks: 0 * 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.0001588/0.1707, allocations: 103.2 kB / 0.7614 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 9.086e-05/0.1708, allocations: 12 kB / 0.7614 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.1708, allocations: 0 / 0.7614 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 9.898e-06/0.1709, allocations: 4 kB / 0.7614 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001215/0.171, allocations: 2.188 kB / 0.7614 GB, free: 13.94 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002144/0.1712, allocations: 106.8 kB / 0.7615 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002981/0.1715, allocations: 0.6767 MB / 0.7622 GB, free: 13.1 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.671e-05/0.1715, allocations: 7.438 kB / 0.7622 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.1715, allocations: 8.062 kB / 0.7622 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of Templates: time 0.001889/0.1734, allocations: 449.5 kB / 0.7627 GB, free: 12.65 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.Polynomial.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.106553285149857] Failed to read output from testmodel.py, exit status != 0: 0.18086642702110112 0.19505619800000001 0.024008797000000002 Calling exit ...