Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.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.001488/0.001488, allocations: 110.2 kB / 17.08 MB, free: 6.016 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.001559/0.001559, allocations: 193.3 kB / 20.03 MB, free: 3.082 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.391/1.391, allocations: 222.9 MB / 245.7 MB, free: 4.23 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.188/1.188, allocations: 175.5 MB / 473.4 MB, free: 4.805 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.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") translateModel(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001854/0.001854, allocations: 68.61 kB / 0.6521 GB, free: 21.91 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1619/0.1638, allocations: 90.05 MB / 0.74 GB, free: 304 kB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001659/0.1655, allocations: 0.5892 MB / 0.7406 GB, free: 15.71 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001344/0.1669, allocations: 1.116 MB / 0.7417 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.562e-05/0.1669, allocations: 0 / 0.7417 GB, free: 14.58 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.468e-05/0.1669, allocations: 3.938 kB / 0.7417 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0002032/0.1671, allocations: 11.94 kB / 0.7417 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 3.136e-06/0.1672, allocations: 0 / 0.7417 GB, free: 14.56 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 4.211e-05/0.1672, allocations: 11.98 kB / 0.7417 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.425e-05/0.1673, allocations: 0 / 0.7417 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 1.415e-05/0.1673, allocations: 3.984 kB / 0.7417 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 2.475e-05/0.1673, allocations: 11.94 kB / 0.7417 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 6.633e-06/0.1673, allocations: 0 / 0.7417 GB, free: 14.54 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001049/0.1674, allocations: 23.92 kB / 0.7417 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 6.011e-06/0.1674, allocations: 0 / 0.7417 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 1.24e-05/0.1675, allocations: 0 / 0.7417 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 8.312e-05/0.1675, allocations: 15.91 kB / 0.7418 GB, free: 14.5 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.62e-06/0.1676, allocations: 4 kB / 0.7418 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.223e-06/0.1676, allocations: 3.938 kB / 0.7418 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.009e-06/0.1676, allocations: 0 / 0.7418 GB, free: 14.49 MB / 0.5606 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.0003057/0.1679, allocations: 319.5 kB / 0.7421 GB, free: 14.13 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.1679, allocations: 12.03 kB / 0.7421 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.863e-05/0.168, allocations: 0.9375 kB / 0.7421 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001075/0.1681, allocations: 168.3 kB / 0.7422 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.11e-05/0.1681, allocations: 384 / 0.7422 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.915e-05/0.1681, allocations: 384 / 0.7422 GB, free: 13.91 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.559e-05/0.1682, allocations: 42 kB / 0.7423 GB, free: 13.87 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.19e-05/0.1682, allocations: 3.953 kB / 0.7423 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.314e-06/0.1682, allocations: 0 / 0.7423 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1683, allocations: 4 kB / 0.7423 GB, free: 13.86 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.523e-05/0.1683, allocations: 7.984 kB / 0.7423 GB, free: 13.85 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001519/0.1684, allocations: 153.7 kB / 0.7424 GB, free: 13.65 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001703/0.1686, allocations: 38.55 kB / 0.7425 GB, free: 13.61 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.966e-05/0.1687, allocations: 8.859 kB / 0.7425 GB, free: 13.59 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00015/0.1688, allocations: 85.19 kB / 0.7426 GB, free: 13.49 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.824e-05/0.1688, allocations: 34.5 kB / 0.7426 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.1689, allocations: 0 / 0.7426 GB, free: 13.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.00425/0.1731, allocations: 0.5718 MB / 0.7432 GB, free: 12.87 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/0.1732, allocations: 55.41 kB / 0.7432 GB, free: 12.8 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.393e-05/0.1732, allocations: 89.86 kB / 0.7433 GB, free: 12.71 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.259e-05/0.1733, allocations: 33.64 kB / 0.7433 GB, free: 12.67 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.1733, allocations: 80.14 kB / 0.7434 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.4e-05/0.1733, allocations: 15.8 kB / 0.7434 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.2e-05/0.1734, allocations: 29.7 kB / 0.7435 GB, free: 12.54 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001381/0.1736, allocations: 310.8 kB / 0.7438 GB, free: 12.22 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006427/0.1742, allocations: 83.95 kB / 0.7438 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006385/0.1749, allocations: 110.5 kB / 0.7439 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001222/0.1761, allocations: 186.5 kB / 0.7441 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1761, allocations: 0 / 0.7441 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001326/0.1774, allocations: 213.5 kB / 0.7443 GB, free: 11.62 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.79e-05/0.1775, allocations: 8 kB / 0.7443 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.441e-06/0.1775, allocations: 4.062 kB / 0.7443 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.1775, allocations: 0 / 0.7443 GB, free: 11.61 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004172/0.1779, allocations: 63.84 kB / 0.7444 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.111e-06/0.1779, allocations: 0 / 0.7444 GB, free: 11.54 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003644/0.1783, allocations: 43.97 kB / 0.7444 GB, free: 11.5 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.349e-05/0.1783, allocations: 0 / 0.7444 GB, free: 11.5 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 (5): * Single equations (assignments): 5 * 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 9.545e-05/0.1784, allocations: 109.8 kB / 0.7445 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.858e-05/0.1785, allocations: 3.938 kB / 0.7445 GB, free: 11.38 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001393/0.1799, allocations: 233.1 kB / 0.7448 GB, free: 11.15 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.969e-06/0.1799, allocations: 8 kB / 0.7448 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.223e-06/0.1799, allocations: 3.984 kB / 0.7448 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.045e-06/0.1799, allocations: 0 / 0.7448 GB, free: 11.14 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001552/0.1815, allocations: 458.6 kB / 0.7452 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.1815, allocations: 64 / 0.7452 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003897/0.1819, allocations: 51.97 kB / 0.7453 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.1819, allocations: 0 / 0.7453 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.409e-05/0.1819, allocations: 4 kB / 0.7453 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.1819, allocations: 0 / 0.7453 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.707e-06/0.1819, allocations: 0 / 0.7453 GB, free: 10.58 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.1833, allocations: 315.3 kB / 0.7456 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.181e-05/0.1833, allocations: 77.11 kB / 0.7456 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.437e-05/0.1833, allocations: 4 kB / 0.7456 GB, free: 10.16 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003866/0.1837, allocations: 43.97 kB / 0.7457 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.213e-05/0.1837, allocations: 0 / 0.7457 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.453e-05/0.1838, allocations: 4 kB / 0.7457 GB, free: 10.11 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.786e-05/0.1838, allocations: 76.5 kB / 0.7458 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.4e-07/0.1838, allocations: 0 / 0.7458 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002461/0.1841, allocations: 12 kB / 0.7458 GB, free: 10.02 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 (5): * Single equations (assignments): 5 * 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.000195/0.1843, allocations: 111.2 kB / 0.7459 GB, free: 9.902 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.001312/0.1856, allocations: 183.8 kB / 0.7461 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.1856, allocations: 0 / 0.7461 GB, free: 9.723 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.0006203/0.1862, allocations: 92.02 kB / 0.7461 GB, free: 9.633 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002244/0.1865, allocations: 5.891 kB / 0.7461 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001186/0.1877, allocations: 250.4 kB / 0.7464 GB, free: 9.352 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002848/0.188, allocations: 0.6729 MB / 0.747 GB, free: 8.652 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.681e-05/0.1881, allocations: 15.42 kB / 0.7471 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of SimCode: time 2.064e-06/0.1881, allocations: 0 / 0.7471 GB, free: 8.637 MB / 0.5606 GB Notification: Performance of Templates: time 0.00267/0.1907, allocations: 1.095 MB / 0.7481 GB, free: 7.547 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.789468322007451] Failed to read output from testmodel.py, exit status != 0: 0.19691405699995812 0.210530983 0.04040458 Calling exit ...