Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.001252/0.001252, allocations: 111.2 kB / 17.13 MB, free: 6.008 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.001285/0.001285, allocations: 194.7 kB / 20.08 MB, free: 3.074 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.383/1.383, allocations: 225.6 MB / 248.5 MB, free: 3.625 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.089/1.089, allocations: 177.8 MB / 481.2 MB, free: 1.738 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.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 69.84 kB / 0.6695 GB, free: 9.195 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1657/0.1677, allocations: 95.09 MB / 0.7623 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003003/0.1707, allocations: 1.778 MB / 0.7641 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001097/0.1718, allocations: 0.6701 MB / 0.7647 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.841e-05/0.1718, allocations: 0 / 0.7647 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.358e-05/0.1719, allocations: 11.81 kB / 0.7647 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.129e-05/0.1719, allocations: 27.78 kB / 0.7648 GB, free: 11.19 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005183/0.1725, allocations: 159.1 kB / 0.7649 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0001625/0.1726, allocations: 119.7 kB / 0.765 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.1728, allocations: 56.86 kB / 0.7651 GB, free: 10.86 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001114/0.1729, allocations: 55.83 kB / 0.7651 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 8.13e-05/0.173, allocations: 43.78 kB / 0.7652 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 2.532e-05/0.173, allocations: 12 kB / 0.7652 GB, free: 10.75 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001045/0.1731, allocations: 51.95 kB / 0.7652 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 3.695e-05/0.1731, allocations: 31.84 kB / 0.7653 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 6.615e-05/0.1732, allocations: 55.72 kB / 0.7653 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.000212/0.1734, allocations: 151.3 kB / 0.7655 GB, free: 10.47 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.681e-06/0.1734, allocations: 4 kB / 0.7655 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.082e-06/0.1734, allocations: 0 / 0.7655 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.458e-06/0.1734, allocations: 4 kB / 0.7655 GB, free: 10.46 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0006198/0.174, allocations: 438.8 kB / 0.7659 GB, free: 9.984 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.228e-05/0.1741, allocations: 12.03 kB / 0.7659 GB, free: 9.973 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007987/0.1749, allocations: 112.7 kB / 0.766 GB, free: 9.863 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001465/0.175, allocations: 184.2 kB / 0.7662 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.327e-05/0.1751, allocations: 67.95 kB / 0.7662 GB, free: 9.566 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.909e-05/0.1751, allocations: 8.375 kB / 0.7662 GB, free: 9.559 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005073/0.1756, allocations: 173.6 kB / 0.7664 GB, free: 9.383 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/0.1756, allocations: 4 kB / 0.7664 GB, free: 9.379 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.209e-05/0.1757, allocations: 4 kB / 0.7664 GB, free: 9.375 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1757, allocations: 3.938 kB / 0.7664 GB, free: 9.371 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005616/0.1762, allocations: 155.8 kB / 0.7666 GB, free: 9.219 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001043/0.1773, allocations: 482 kB / 0.767 GB, free: 8.699 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009435/0.1782, allocations: 226.2 kB / 0.7673 GB, free: 8.469 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002716/0.1785, allocations: 72.91 kB / 0.7673 GB, free: 8.395 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 2.196e-05/0.1785, allocations: 4 kB / 0.7673 GB, free: 8.391 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.895e-05/0.1785, allocations: 38.56 kB / 0.7674 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=6): time 1.122e-06/0.1785, allocations: 0 / 0.7674 GB, free: 8.344 MB / 0.5762 GB Notification: Performance of matching and sorting (n=6): time 0.0009493/0.1795, allocations: 265.3 kB / 0.7676 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1795, allocations: 51.41 kB / 0.7677 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00012/0.1796, allocations: 144 kB / 0.7678 GB, free: 7.867 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.1797, allocations: 25.7 kB / 0.7678 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.129e-05/0.1798, allocations: 116.1 kB / 0.7679 GB, free: 7.719 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.1798, allocations: 23.8 kB / 0.768 GB, free: 7.695 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.653e-05/0.1798, allocations: 25.7 kB / 0.768 GB, free: 7.664 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.18, allocations: 322.8 kB / 0.7683 GB, free: 7.34 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.1803, allocations: 71.92 kB / 0.7684 GB, free: 7.27 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002807/0.1805, allocations: 94.48 kB / 0.7684 GB, free: 7.168 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005383/0.1811, allocations: 162.4 kB / 0.7686 GB, free: 7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.864e-06/0.1811, allocations: 0 / 0.7686 GB, free: 7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0006214/0.1817, allocations: 205.4 kB / 0.7688 GB, free: 6.793 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.597e-05/0.1817, allocations: 10.5 kB / 0.7688 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1817, allocations: 0 / 0.7688 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.486e-05/0.1817, allocations: 3.938 kB / 0.7688 GB, free: 6.781 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002634/0.182, allocations: 40.02 kB / 0.7689 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.458e-06/0.182, allocations: 0 / 0.7689 GB, free: 6.742 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.1822, allocations: 19.97 kB / 0.7689 GB, free: 6.723 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.61e-05/0.1822, allocations: 8.297 kB / 0.7689 GB, free: 6.715 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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): 8 * 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 0.0001059/0.1823, allocations: 117.8 kB / 0.769 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.032e-05/0.1823, allocations: 7.953 kB / 0.769 GB, free: 6.582 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006603/0.183, allocations: 214.1 kB / 0.7692 GB, free: 6.367 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.599e-06/0.183, allocations: 4 kB / 0.7692 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.366e-06/0.183, allocations: 0 / 0.7692 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.183, allocations: 0 / 0.7692 GB, free: 6.363 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002667/0.1833, allocations: 242 kB / 0.7694 GB, free: 6.078 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.1833, allocations: 4 kB / 0.7694 GB, free: 6.074 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.1835, allocations: 31.95 kB / 0.7695 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.1835, allocations: 0 / 0.7695 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.517e-05/0.1835, allocations: 7.938 kB / 0.7695 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1835, allocations: 0 / 0.7695 GB, free: 6.035 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.736e-06/0.1835, allocations: 4 kB / 0.7695 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006568/0.1842, allocations: 283.3 kB / 0.7698 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.722e-05/0.1842, allocations: 96.92 kB / 0.7698 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.255e-05/0.1842, allocations: 3.938 kB / 0.7698 GB, free: 5.621 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002774/0.1845, allocations: 31.95 kB / 0.7699 GB, free: 5.59 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.619e-05/0.1846, allocations: 8 kB / 0.7699 GB, free: 5.582 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1846, allocations: 11.92 kB / 0.7699 GB, free: 5.57 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 8.218e-05/0.1847, allocations: 109.3 kB / 0.77 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1847, allocations: 0 / 0.77 GB, free: 5.465 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002478/0.1849, allocations: 23.95 kB / 0.77 GB, free: 5.441 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 (6): * Single equations (assignments): 6 * 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.0001199/0.185, allocations: 99.25 kB / 0.7701 GB, free: 5.336 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0006201/0.1857, allocations: 163.8 kB / 0.7703 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.1857, allocations: 0 / 0.7703 GB, free: 5.176 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.000281/0.1859, allocations: 75.92 kB / 0.7703 GB, free: 5.102 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002901/0.1862, allocations: 16.11 kB / 0.7704 GB, free: 5.086 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006163/0.1868, allocations: 284.9 kB / 0.7706 GB, free: 4.773 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1872, allocations: 0.7002 MB / 0.7713 GB, free: 4.047 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.935e-05/0.1872, allocations: 19.42 kB / 0.7713 GB, free: 4.027 MB / 0.5762 GB Notification: Performance of SimCode: time 2.9e-07/0.1872, allocations: 4 kB / 0.7713 GB, free: 4.023 MB / 0.5762 GB Notification: Performance of Templates: time 0.003275/0.1905, allocations: 1.597 MB / 0.7729 GB, free: 2.434 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.687987288984004] Failed to read output from testmodel.py, exit status != 0: 0.19740385600016452 0.21083415400000002 0.034697286 Calling exit ...