Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.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.001516/0.001516, allocations: 114.8 kB / 17.08 MB, free: 5.957 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.001562/0.001562, allocations: 191.7 kB / 20.03 MB, free: 3.031 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.403/1.403, allocations: 222.9 MB / 245.7 MB, free: 4.211 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.161/1.161, allocations: 173.4 MB / 471.3 MB, free: 6.645 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.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001962/0.001962, allocations: 68.64 kB / 0.649 GB, free: 22.82 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.164/0.166, allocations: 89.53 MB / 0.7364 GB, free: 3.641 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.0025/0.1685, allocations: 1.438 MB / 0.7378 GB, free: 2.191 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007819/0.1693, allocations: 466.8 kB / 0.7383 GB, free: 1.73 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.782e-05/0.1694, allocations: 4 kB / 0.7383 GB, free: 1.727 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 2.174e-05/0.1694, allocations: 0 / 0.7383 GB, free: 1.727 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 5.504e-05/0.1695, allocations: 3.938 kB / 0.7383 GB, free: 1.723 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001776/0.1697, allocations: 23.91 kB / 0.7383 GB, free: 1.699 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 6.838e-05/0.1698, allocations: 23.98 kB / 0.7383 GB, free: 1.676 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 7.608e-05/0.1698, allocations: 11.94 kB / 0.7383 GB, free: 1.664 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.998e-05/0.1699, allocations: 15.92 kB / 0.7383 GB, free: 1.648 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 3.664e-05/0.1699, allocations: 11.92 kB / 0.7384 GB, free: 1.637 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 9.789e-06/0.17, allocations: 0 / 0.7384 GB, free: 1.637 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 7.08e-05/0.17, allocations: 23.98 kB / 0.7384 GB, free: 1.613 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.187e-05/0.1701, allocations: 3.984 kB / 0.7384 GB, free: 1.609 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.254e-05/0.1701, allocations: 7.938 kB / 0.7384 GB, free: 1.602 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0001035/0.1702, allocations: 39.83 kB / 0.7384 GB, free: 1.562 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.367e-06/0.1702, allocations: 3.938 kB / 0.7384 GB, free: 1.559 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.262e-06/0.1702, allocations: 4 kB / 0.7384 GB, free: 1.555 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.236e-06/0.1702, allocations: 0 / 0.7384 GB, free: 1.555 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.0004586/0.1707, allocations: 339.4 kB / 0.7388 GB, free: 1.176 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.1707, allocations: 12.03 kB / 0.7388 GB, free: 1.164 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.568e-05/0.1708, allocations: 4.891 kB / 0.7388 GB, free: 1.16 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001282/0.1709, allocations: 164.4 kB / 0.7389 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.046e-05/0.1709, allocations: 384 / 0.7389 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.086e-05/0.1709, allocations: 384 / 0.7389 GB, free: 0.9609 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001735/0.1711, allocations: 57.98 kB / 0.739 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.296e-06/0.1711, allocations: 0 / 0.739 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.025e-06/0.1711, allocations: 0 / 0.739 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.118e-06/0.1711, allocations: 0 / 0.739 GB, free: 0.8984 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001713/0.1713, allocations: 35.95 kB / 0.739 GB, free: 0.8633 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003238/0.1716, allocations: 256.8 kB / 0.7393 GB, free: 0.5625 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001271/0.1718, allocations: 38.59 kB / 0.7393 GB, free: 0.5156 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.771e-05/0.1719, allocations: 24.91 kB / 0.7393 GB, free: 500 kB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001317/0.172, allocations: 93.02 kB / 0.7394 GB, free: 388 kB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.721e-05/0.1721, allocations: 30.56 kB / 0.7394 GB, free: 348 kB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1721, allocations: 0 / 0.7394 GB, free: 348 kB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.000368/0.1724, allocations: 89.58 kB / 0.7395 GB, free: 252 kB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.563e-05/0.1725, allocations: 51.41 kB / 0.7396 GB, free: 188 kB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.243e-05/0.1726, allocations: 101.9 kB / 0.7397 GB, free: 76 kB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1726, allocations: 25.7 kB / 0.7397 GB, free: 44 kB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.797e-05/0.1727, allocations: 93.06 kB / 0.7398 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.629e-05/0.1727, allocations: 7.938 kB / 0.7398 GB, free: 15.94 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.34e-05/0.1727, allocations: 17.84 kB / 0.7398 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.1729, allocations: 314.8 kB / 0.7401 GB, free: 15.6 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.828e-05/0.173, allocations: 11.98 kB / 0.7401 GB, free: 15.59 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.1731, allocations: 23.97 kB / 0.7402 GB, free: 15.57 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.1732, allocations: 44.7 kB / 0.7402 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.1733, allocations: 4.062 kB / 0.7402 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002011/0.1735, allocations: 69.59 kB / 0.7403 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1735, allocations: 4 kB / 0.7403 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.1735, allocations: 0 / 0.7403 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.1735, allocations: 0 / 0.7403 GB, free: 15.44 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.36e-05/0.1736, allocations: 11.98 kB / 0.7403 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.178e-06/0.1736, allocations: 0 / 0.7403 GB, free: 15.43 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.619e-05/0.1737, allocations: 4.25 kB / 0.7403 GB, free: 15.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.843e-06/0.1737, allocations: 8.031 kB / 0.7403 GB, free: 15.41 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.238e-05/0.1738, allocations: 113.8 kB / 0.7404 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.648e-05/0.1738, allocations: 4 kB / 0.7404 GB, free: 15.29 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002305/0.174, allocations: 72.7 kB / 0.7405 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.174, allocations: 0 / 0.7405 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/0.1741, allocations: 0 / 0.7405 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.245e-06/0.1741, allocations: 4 kB / 0.7405 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001772/0.1742, allocations: 165.6 kB / 0.7406 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.1743, allocations: 0 / 0.7406 GB, free: 15 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.702e-05/0.1743, allocations: 7.984 kB / 0.7406 GB, free: 14.99 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.1743, allocations: 4 kB / 0.7406 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.581e-06/0.1743, allocations: 0 / 0.7406 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-06/0.1743, allocations: 0 / 0.7406 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.1743, allocations: 0 / 0.7406 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002565/0.1746, allocations: 167.4 kB / 0.7408 GB, free: 14.8 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 4.886e-05/0.1747, allocations: 81.11 kB / 0.7409 GB, free: 14.71 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.1747, allocations: 7.922 kB / 0.7409 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.508e-05/0.1748, allocations: 4 kB / 0.7409 GB, free: 14.7 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.645e-05/0.1748, allocations: 4 kB / 0.7409 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1748, allocations: 3.984 kB / 0.7409 GB, free: 14.69 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.1749, allocations: 83.22 kB / 0.741 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.21e-07/0.1749, allocations: 0 / 0.741 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002207/0.1751, allocations: 12.03 kB / 0.741 GB, free: 14.59 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.0001377/0.1752, allocations: 103.2 kB / 0.7411 GB, free: 14.48 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002122/0.1755, allocations: 35.95 kB / 0.7411 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.857e-06/0.1755, allocations: 0 / 0.7411 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.669e-05/0.1756, allocations: 23.92 kB / 0.7411 GB, free: 14.42 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000271/0.1759, allocations: 14.41 kB / 0.7412 GB, free: 14.41 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002633/0.1761, allocations: 135.1 kB / 0.7413 GB, free: 14.25 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000306/0.1764, allocations: 0.6768 MB / 0.742 GB, free: 13.54 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.493e-05/0.1765, allocations: 11.44 kB / 0.742 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of SimCode: time 2.31e-07/0.1765, allocations: 0 / 0.742 GB, free: 13.53 MB / 0.5606 GB Notification: Performance of Templates: time 0.002076/0.1786, allocations: 0.6677 MB / 0.7426 GB, free: 12.87 MB / 0.5606 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.779818499926478] Failed to read output from testmodel.py, exit status != 0: 0.18494469113647938 0.19793064700000002 0.025156419000000003 Calling exit ...