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.001546/0.001546, allocations: 114 kB / 17.13 MB, free: 6.047 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.001629/0.001629, allocations: 196.6 kB / 20.08 MB, free: 3.109 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.432/1.432, allocations: 225.6 MB / 248.5 MB, free: 3.613 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.065/1.065, allocations: 175.7 MB / 479.1 MB, free: 3.688 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.001906/0.001906, allocations: 70.52 kB / 0.6664 GB, free: 10.86 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1972/0.1991, allocations: 94.54 MB / 0.7587 GB, free: 1.074 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Functions.Examples.SmoothHeavisideDerivatives): time 0.001728/0.2008, allocations: 0.5989 MB / 0.7593 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001436/0.2022, allocations: 1.11 MB / 0.7604 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.005e-05/0.2023, allocations: 0 / 0.7604 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.648e-05/0.2023, allocations: 3.938 kB / 0.7604 GB, free: 15.35 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0002338/0.2025, allocations: 19.92 kB / 0.7604 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 3.968e-06/0.2025, allocations: 0 / 0.7604 GB, free: 15.33 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 4.724e-05/0.2026, allocations: 7.984 kB / 0.7604 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 5.121e-05/0.2026, allocations: 4 kB / 0.7604 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 1.388e-05/0.2026, allocations: 0 / 0.7604 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 2.563e-05/0.2027, allocations: 3.938 kB / 0.7604 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.815e-06/0.2027, allocations: 4 kB / 0.7604 GB, free: 15.31 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.2028, allocations: 23.92 kB / 0.7604 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 9.288e-06/0.2028, allocations: 3.984 kB / 0.7605 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 1.359e-05/0.2028, allocations: 4 kB / 0.7605 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 9.598e-05/0.2029, allocations: 11.92 kB / 0.7605 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.2029, allocations: 0 / 0.7605 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.854e-06/0.2029, allocations: 0 / 0.7605 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.442e-06/0.2029, allocations: 0 / 0.7605 GB, free: 15.27 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003517/0.2033, allocations: 323.5 kB / 0.7608 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.736e-05/0.2033, allocations: 12.03 kB / 0.7608 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.825e-05/0.2033, allocations: 4.938 kB / 0.7608 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001262/0.2035, allocations: 164.3 kB / 0.7609 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.106e-05/0.2035, allocations: 384 / 0.7609 GB, free: 14.69 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.641e-05/0.2035, allocations: 4.375 kB / 0.761 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001052/0.2036, allocations: 42 kB / 0.761 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.55e-05/0.2036, allocations: 3.953 kB / 0.761 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.2036, allocations: 0 / 0.761 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.238e-06/0.2036, allocations: 0 / 0.761 GB, free: 14.63 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.508e-05/0.2037, allocations: 7.984 kB / 0.761 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001953/0.2039, allocations: 153.7 kB / 0.7612 GB, free: 14.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001915/0.2041, allocations: 34.55 kB / 0.7612 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.896e-05/0.2041, allocations: 8.859 kB / 0.7612 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001591/0.2042, allocations: 89.12 kB / 0.7613 GB, free: 14.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.832e-05/0.2043, allocations: 34.5 kB / 0.7613 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.2043, allocations: 0 / 0.7613 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.004344/0.2086, allocations: 0.5758 MB / 0.7619 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.756e-05/0.2087, allocations: 51.41 kB / 0.7619 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.085e-05/0.2087, allocations: 89.86 kB / 0.762 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.439e-05/0.2087, allocations: 25.7 kB / 0.762 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.005e-05/0.2088, allocations: 80.14 kB / 0.7621 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.91e-05/0.2088, allocations: 23.8 kB / 0.7621 GB, free: 13.34 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.956e-05/0.2089, allocations: 21.7 kB / 0.7622 GB, free: 13.32 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001413/0.209, allocations: 314.8 kB / 0.7625 GB, free: 13 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000617/0.2096, allocations: 83.95 kB / 0.7625 GB, free: 12.92 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006207/0.2103, allocations: 106.5 kB / 0.7626 GB, free: 12.8 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001203/0.2115, allocations: 186.5 kB / 0.7628 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.72e-07/0.2115, allocations: 0 / 0.7628 GB, free: 12.61 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.001269/0.2127, allocations: 213.5 kB / 0.763 GB, free: 12.4 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.864e-05/0.2128, allocations: 8 kB / 0.763 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.281e-06/0.2128, allocations: 0 / 0.763 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.2128, allocations: 4.078 kB / 0.763 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004012/0.2132, allocations: 55.89 kB / 0.7631 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.58e-06/0.2132, allocations: 4 kB / 0.7631 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003475/0.2135, allocations: 44.16 kB / 0.7631 GB, free: 12.29 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.559e-05/0.2135, allocations: 11.94 kB / 0.7631 GB, free: 12.27 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 (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.748e-05/0.2136, allocations: 109.8 kB / 0.7632 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.035e-05/0.2137, allocations: 3.938 kB / 0.7632 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001394/0.2151, allocations: 237.1 kB / 0.7635 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.2151, allocations: 3.984 kB / 0.7635 GB, free: 11.91 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.978e-06/0.2151, allocations: 4 kB / 0.7635 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.2151, allocations: 0 / 0.7635 GB, free: 11.9 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001539/0.2166, allocations: 454.4 kB / 0.7639 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.2166, allocations: 0 / 0.7639 GB, free: 11.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003846/0.217, allocations: 51.97 kB / 0.764 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.785e-06/0.217, allocations: 0 / 0.764 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.422e-05/0.217, allocations: 0 / 0.764 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.217, allocations: 0 / 0.764 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.217, allocations: 0 / 0.764 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001301/0.2183, allocations: 315.3 kB / 0.7643 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 4.803e-05/0.2184, allocations: 77.11 kB / 0.7643 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.108e-05/0.2184, allocations: 0 / 0.7643 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003813/0.2188, allocations: 51.97 kB / 0.7644 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.358e-05/0.2188, allocations: 0 / 0.7644 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.519e-05/0.2188, allocations: 4 kB / 0.7644 GB, free: 10.88 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.248e-05/0.2188, allocations: 79.22 kB / 0.7645 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.2188, allocations: 0 / 0.7645 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002647/0.2191, allocations: 8 kB / 0.7645 GB, free: 10.79 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 (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.0001931/0.2193, allocations: 115.2 kB / 0.7646 GB, free: 10.67 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00128/0.2206, allocations: 184 kB / 0.7648 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.2206, allocations: 0 / 0.7648 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0006117/0.2212, allocations: 92.08 kB / 0.7648 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.2214, allocations: 0 / 0.7648 GB, free: 10.4 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001228/0.2226, allocations: 254.5 kB / 0.7651 GB, free: 10.12 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003318/0.223, allocations: 0.6729 MB / 0.7657 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.86e-05/0.2231, allocations: 15.42 kB / 0.7658 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.2231, allocations: 0 / 0.7658 GB, free: 9.406 MB / 0.5762 GB Notification: Performance of Templates: time 0.003119/0.2262, allocations: 1.102 MB / 0.7668 GB, free: 8.301 MB / 0.5762 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.918768613832071] Failed to read output from testmodel.py, exit status != 0: 0.23387529700994492 0.24775724400000002 0.042042392000000005 Calling exit ...