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.001385/0.001385, allocations: 117 kB / 17.08 MB, free: 5.977 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.001339/0.001339, allocations: 191.7 kB / 20.03 MB, free: 3.047 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.414/1.414, allocations: 222.9 MB / 245.7 MB, free: 4.215 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.15/1.15, allocations: 173.4 MB / 471.3 MB, free: 6.637 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.001987/0.001987, allocations: 74.05 kB / 0.649 GB, free: 22.8 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1601, allocations: 89.52 MB / 0.7364 GB, free: 3.633 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003017/0.1632, allocations: 1.769 MB / 0.7381 GB, free: 1.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.1644, allocations: 0.6748 MB / 0.7388 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.608e-05/0.1645, allocations: 0 / 0.7388 GB, free: 1.172 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 4.067e-05/0.1645, allocations: 7.875 kB / 0.7388 GB, free: 1.164 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.703e-05/0.1646, allocations: 23.78 kB / 0.7388 GB, free: 1.141 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005433/0.1652, allocations: 170.5 kB / 0.739 GB, free: 0.9766 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001754/0.1653, allocations: 123.6 kB / 0.7391 GB, free: 0.8555 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001421/0.1655, allocations: 53.03 kB / 0.7392 GB, free: 0.8008 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001323/0.1656, allocations: 55.83 kB / 0.7392 GB, free: 0.7461 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.848e-05/0.1657, allocations: 43.78 kB / 0.7393 GB, free: 0.7031 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 3.443e-05/0.1658, allocations: 12 kB / 0.7393 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000117/0.1659, allocations: 51.95 kB / 0.7393 GB, free: 0.6406 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 4.189e-05/0.1659, allocations: 31.84 kB / 0.7393 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.515e-05/0.166, allocations: 55.7 kB / 0.7394 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002286/0.1662, allocations: 151.4 kB / 0.7395 GB, free: 416 kB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.1663, allocations: 0 / 0.7395 GB, free: 416 kB / 0.545 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1663, allocations: 3.938 kB / 0.7396 GB, free: 412 kB / 0.545 GB Notification: Performance of Transformations before backend: time 5.711e-06/0.1663, allocations: 4 kB / 0.7396 GB, free: 408 kB / 0.545 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.000646/0.1669, allocations: 438.8 kB / 0.74 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.325e-05/0.167, allocations: 8.031 kB / 0.74 GB, free: 15.91 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008456/0.1678, allocations: 116.7 kB / 0.7401 GB, free: 15.8 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001573/0.168, allocations: 180.2 kB / 0.7403 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.1681, allocations: 59.95 kB / 0.7403 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.943e-05/0.1681, allocations: 12.38 kB / 0.7403 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005338/0.1687, allocations: 177.5 kB / 0.7405 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.1687, allocations: 0 / 0.7405 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.379e-05/0.1687, allocations: 8 kB / 0.7405 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.322e-06/0.1687, allocations: 3.984 kB / 0.7405 GB, free: 15.31 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000655/0.1694, allocations: 151.8 kB / 0.7407 GB, free: 15.16 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001154/0.1706, allocations: 0.49 MB / 0.7411 GB, free: 14.62 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001055/0.1716, allocations: 214.3 kB / 0.7413 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003222/0.172, allocations: 80.91 kB / 0.7414 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.172, allocations: 0 / 0.7414 GB, free: 14.32 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.43e-05/0.172, allocations: 42.56 kB / 0.7415 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 9.72e-07/0.172, allocations: 0 / 0.7415 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.001076/0.1731, allocations: 265.5 kB / 0.7417 GB, free: 14.01 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.158e-05/0.1732, allocations: 51.41 kB / 0.7418 GB, free: 13.95 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.1733, allocations: 139.9 kB / 0.7419 GB, free: 13.8 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.437e-05/0.1733, allocations: 29.7 kB / 0.7419 GB, free: 13.77 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.052e-05/0.1734, allocations: 112.2 kB / 0.742 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3e-05/0.1735, allocations: 27.73 kB / 0.7421 GB, free: 13.62 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.531e-05/0.1735, allocations: 25.64 kB / 0.7421 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.1737, allocations: 326.8 kB / 0.7424 GB, free: 13.27 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003298/0.174, allocations: 67.98 kB / 0.7425 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003317/0.1744, allocations: 94.5 kB / 0.7425 GB, free: 13.1 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006417/0.175, allocations: 170.4 kB / 0.7427 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.863e-06/0.175, allocations: 0 / 0.7427 GB, free: 12.92 MB / 0.5606 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007084/0.1757, allocations: 205.4 kB / 0.7429 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.457e-05/0.1758, allocations: 4 kB / 0.7429 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.1758, allocations: 0 / 0.7429 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.646e-05/0.1758, allocations: 7.938 kB / 0.7429 GB, free: 12.7 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002649/0.1761, allocations: 36.02 kB / 0.743 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.765e-06/0.1761, allocations: 7.938 kB / 0.743 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.1763, allocations: 19.97 kB / 0.743 GB, free: 12.64 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.1763, allocations: 7.984 kB / 0.743 GB, free: 12.63 MB / 0.5606 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.0001119/0.1764, allocations: 117.8 kB / 0.7431 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.068e-05/0.1765, allocations: 7.953 kB / 0.7431 GB, free: 12.5 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007615/0.1772, allocations: 206.2 kB / 0.7433 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.1772, allocations: 0 / 0.7433 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.226e-06/0.1773, allocations: 0 / 0.7433 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.1773, allocations: 0 / 0.7433 GB, free: 12.29 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003003/0.1776, allocations: 242.1 kB / 0.7435 GB, free: 12 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.342e-06/0.1776, allocations: 8 kB / 0.7435 GB, free: 11.99 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002304/0.1778, allocations: 27.95 kB / 0.7436 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.174e-06/0.1778, allocations: 4 kB / 0.7436 GB, free: 11.96 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.595e-05/0.1779, allocations: 7.938 kB / 0.7436 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.1779, allocations: 128 / 0.7436 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.025e-06/0.1779, allocations: 4 kB / 0.7436 GB, free: 11.95 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000747/0.1786, allocations: 283.3 kB / 0.7439 GB, free: 11.65 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 6.09e-05/0.1787, allocations: 92.98 kB / 0.7439 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.616e-05/0.1787, allocations: 3.938 kB / 0.7439 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003004/0.179, allocations: 27.95 kB / 0.744 GB, free: 11.51 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.672e-05/0.1791, allocations: 12 kB / 0.744 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.377e-05/0.1791, allocations: 7.984 kB / 0.744 GB, free: 11.49 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 7.747e-05/0.1792, allocations: 113 kB / 0.7441 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1792, allocations: 0 / 0.7441 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002614/0.1795, allocations: 23.95 kB / 0.7441 GB, free: 11.36 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 (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.0001346/0.1796, allocations: 99.25 kB / 0.7442 GB, free: 11.25 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0007133/0.1803, allocations: 163.8 kB / 0.7444 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.999e-06/0.1803, allocations: 0 / 0.7444 GB, free: 11.09 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0003274/0.1807, allocations: 79.86 kB / 0.7444 GB, free: 11.02 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.181, allocations: 18.41 kB / 0.7445 GB, free: 11 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006902/0.1817, allocations: 281.1 kB / 0.7447 GB, free: 10.69 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003329/0.182, allocations: 0.704 MB / 0.7454 GB, free: 9.961 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.549e-05/0.1821, allocations: 15.42 kB / 0.7454 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of SimCode: time 4.61e-07/0.1821, allocations: 8 kB / 0.7454 GB, free: 9.941 MB / 0.5606 GB Notification: Performance of Templates: time 0.003307/0.1854, allocations: 1.598 MB / 0.747 GB, free: 8.348 MB / 0.5606 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.901553704869002] Failed to read output from testmodel.py, exit status != 0: 0.19211070518940687 0.21380903 0.043193099000000006 Calling exit ...