Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.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.001172/0.001172, allocations: 110.6 kB / 17.08 MB, free: 5.984 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.001338/0.001338, allocations: 191.7 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.203 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.173/1.173, allocations: 173.4 MB / 471.3 MB, free: 6.621 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.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") translateModel(IDEAS.Utilities.Math.Examples.SmoothLimit,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001955/0.001955, allocations: 69.02 kB / 0.649 GB, free: 22.81 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1709/0.1729, allocations: 89.52 MB / 0.7364 GB, free: 3.621 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothLimit): time 0.002615/0.1756, allocations: 1.459 MB / 0.7378 GB, free: 2.148 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0009603/0.1765, allocations: 0.5648 MB / 0.7384 GB, free: 1.578 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.785e-05/0.1766, allocations: 4 kB / 0.7384 GB, free: 1.574 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 3.159e-05/0.1766, allocations: 3.938 kB / 0.7384 GB, free: 1.57 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 4.273e-05/0.1767, allocations: 3.938 kB / 0.7384 GB, free: 1.566 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002711/0.177, allocations: 51.81 kB / 0.7385 GB, free: 1.516 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.492e-05/0.177, allocations: 23.92 kB / 0.7385 GB, free: 1.492 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.1771, allocations: 15.94 kB / 0.7385 GB, free: 1.477 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.343e-05/0.1772, allocations: 19.86 kB / 0.7385 GB, free: 1.457 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.415e-05/0.1773, allocations: 11.94 kB / 0.7385 GB, free: 1.445 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.199e-05/0.1773, allocations: 0 / 0.7385 GB, free: 1.445 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001236/0.1774, allocations: 55.94 kB / 0.7386 GB, free: 1.391 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.356e-05/0.1775, allocations: 4 kB / 0.7386 GB, free: 1.387 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.868e-05/0.1775, allocations: 15.92 kB / 0.7386 GB, free: 1.371 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001573/0.1776, allocations: 63.8 kB / 0.7387 GB, free: 1.309 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.761e-06/0.1777, allocations: 0 / 0.7387 GB, free: 1.309 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.373e-06/0.1777, allocations: 3.938 kB / 0.7387 GB, free: 1.305 MB / 0.545 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.1777, allocations: 0 / 0.7387 GB, free: 1.305 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004733/0.1782, allocations: 355.2 kB / 0.739 GB, free: 0.9102 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.558e-05/0.1782, allocations: 12.03 kB / 0.739 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.964e-05/0.1782, allocations: 0.9375 kB / 0.739 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.1784, allocations: 168.3 kB / 0.7392 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.1784, allocations: 384 / 0.7392 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.805e-06/0.1784, allocations: 384 / 0.7392 GB, free: 0.6953 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.1785, allocations: 47.03 kB / 0.7392 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.1786, allocations: 0 / 0.7392 GB, free: 0.6445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.548e-06/0.1786, allocations: 7.984 kB / 0.7392 GB, free: 0.6367 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.745e-06/0.1786, allocations: 4 kB / 0.7392 GB, free: 0.6328 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.788e-05/0.1787, allocations: 23.91 kB / 0.7392 GB, free: 0.6094 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003439/0.179, allocations: 256.9 kB / 0.7395 GB, free: 316 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 8.784e-05/0.1791, allocations: 34.5 kB / 0.7395 GB, free: 272 kB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.651e-05/0.1792, allocations: 16.92 kB / 0.7395 GB, free: 252 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008371/0.18, allocations: 477.4 kB / 0.74 GB, free: 15.69 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.442e-05/0.1801, allocations: 34.5 kB / 0.74 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1801, allocations: 0 / 0.74 GB, free: 15.64 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0002414/0.1803, allocations: 65.62 kB / 0.7401 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.351e-05/0.1804, allocations: 59.41 kB / 0.7401 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.659e-05/0.1805, allocations: 105.8 kB / 0.7402 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.1805, allocations: 25.7 kB / 0.7403 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.823e-05/0.1806, allocations: 84.14 kB / 0.7404 GB, free: 15.27 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.661e-05/0.1806, allocations: 11.89 kB / 0.7404 GB, free: 15.26 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/0.1806, allocations: 13.7 kB / 0.7404 GB, free: 15.24 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.1808, allocations: 323 kB / 0.7407 GB, free: 14.92 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.281e-05/0.1808, allocations: 7.984 kB / 0.7407 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.1809, allocations: 8 kB / 0.7407 GB, free: 14.9 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.635e-05/0.181, allocations: 36.72 kB / 0.7407 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.462e-06/0.181, allocations: 0 / 0.7407 GB, free: 14.86 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001194/0.1811, allocations: 49.69 kB / 0.7408 GB, free: 14.81 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.1811, allocations: 12.03 kB / 0.7408 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.1811, allocations: 3.984 kB / 0.7408 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.251e-05/0.1811, allocations: 0 / 0.7408 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.626e-05/0.1812, allocations: 8 kB / 0.7408 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.509e-06/0.1812, allocations: 0 / 0.7408 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.852e-05/0.1813, allocations: 0 / 0.7408 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.1813, allocations: 4 kB / 0.7408 GB, free: 14.78 MB / 0.5606 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 (2): * Single equations (assignments): 2 * 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 8.847e-05/0.1814, allocations: 121.8 kB / 0.7409 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.405e-05/0.1814, allocations: 3.953 kB / 0.7409 GB, free: 14.65 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001679/0.1816, allocations: 65.14 kB / 0.741 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.1816, allocations: 4 kB / 0.741 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.1816, allocations: 0 / 0.741 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.1816, allocations: 0 / 0.741 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001771/0.1818, allocations: 161.6 kB / 0.7412 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.1818, allocations: 0 / 0.7412 GB, free: 14.36 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.1818, allocations: 11.98 kB / 0.7412 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.683e-06/0.1818, allocations: 0 / 0.7412 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.021e-06/0.1819, allocations: 0 / 0.7412 GB, free: 14.35 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1819, allocations: 4.031 kB / 0.7412 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1819, allocations: 0 / 0.7412 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.182, allocations: 151.4 kB / 0.7413 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.362e-05/0.1821, allocations: 85.06 kB / 0.7414 GB, free: 14.08 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.417e-05/0.1821, allocations: 4 kB / 0.7414 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.651e-05/0.1822, allocations: 0 / 0.7414 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.831e-05/0.1822, allocations: 7.938 kB / 0.7414 GB, free: 14.07 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.206e-06/0.1822, allocations: 4.031 kB / 0.7414 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.579e-05/0.1823, allocations: 91.27 kB / 0.7415 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1823, allocations: 0 / 0.7415 GB, free: 13.97 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002306/0.1825, allocations: 15.94 kB / 0.7415 GB, free: 13.96 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 (2): * Single equations (assignments): 2 * 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.0001986/0.1827, allocations: 111.2 kB / 0.7416 GB, free: 13.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001313/0.1829, allocations: 19.98 kB / 0.7416 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 4.148e-06/0.1829, allocations: 64 / 0.7416 GB, free: 13.82 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.669e-05/0.1829, allocations: 27.86 kB / 0.7417 GB, free: 13.79 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002038/0.1832, allocations: 11.88 kB / 0.7417 GB, free: 13.78 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003035/0.1835, allocations: 144.3 kB / 0.7418 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003019/0.1838, allocations: 0.6768 MB / 0.7425 GB, free: 12.9 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.438e-05/0.1838, allocations: 11.44 kB / 0.7425 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of SimCode: time 2.1e-07/0.1838, allocations: 0 / 0.7425 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of Templates: time 0.002397/0.1862, allocations: 0.8189 MB / 0.7433 GB, free: 12.07 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothLimit.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.784139396855608] Failed to read output from testmodel.py, exit status != 0: 0.19273527199402452 0.206210001 0.026056477 Calling exit ...