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.001608/0.001608, allocations: 113.8 kB / 17.61 MB, free: 4.703 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.002054/0.002054, allocations: 186 kB / 20.78 MB, free: 1.547 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.488/1.488, allocations: 225.6 MB / 249.4 MB, free: 3.148 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.095/1.095, allocations: 175.7 MB / 480.2 MB, free: 2.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.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.002012/0.002012, allocations: 69.47 kB / 0.6684 GB, free: 10.65 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2248/0.2268, allocations: 94.52 MB / 0.7607 GB, free: 336 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.00289/0.2297, allocations: 1.465 MB / 0.7621 GB, free: 14.85 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0009086/0.2306, allocations: 481 kB / 0.7626 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.2306, allocations: 0 / 0.7626 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.018e-05/0.2307, allocations: 7.875 kB / 0.7626 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.789e-05/0.2307, allocations: 7.938 kB / 0.7626 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001981/0.2309, allocations: 11.98 kB / 0.7626 GB, free: 14.35 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 7.711e-05/0.231, allocations: 31.92 kB / 0.7626 GB, free: 14.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.2311, allocations: 7.984 kB / 0.7626 GB, free: 14.31 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.668e-05/0.2312, allocations: 11.94 kB / 0.7627 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 4.385e-05/0.2312, allocations: 19.84 kB / 0.7627 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.433e-05/0.2312, allocations: 4 kB / 0.7627 GB, free: 14.28 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.009e-05/0.2313, allocations: 19.98 kB / 0.7627 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.071e-05/0.2313, allocations: 0 / 0.7627 GB, free: 14.26 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.667e-05/0.2313, allocations: 15.92 kB / 0.7627 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.2314, allocations: 35.83 kB / 0.7627 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.2314, allocations: 0 / 0.7627 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2314, allocations: 4 kB / 0.7627 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.312e-06/0.2314, allocations: 4 kB / 0.7628 GB, free: 14.2 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.0005158/0.232, allocations: 339.4 kB / 0.7631 GB, free: 13.82 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.232, allocations: 8.031 kB / 0.7631 GB, free: 13.81 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.232, allocations: 8.891 kB / 0.7631 GB, free: 13.8 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001486/0.2322, allocations: 164.4 kB / 0.7632 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.459e-05/0.2322, allocations: 4.312 kB / 0.7633 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.125e-05/0.2322, allocations: 4.375 kB / 0.7633 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001924/0.2324, allocations: 54 kB / 0.7633 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.2324, allocations: 3.984 kB / 0.7633 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.876e-06/0.2324, allocations: 0 / 0.7633 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.2324, allocations: 0 / 0.7633 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001647/0.2326, allocations: 31.97 kB / 0.7633 GB, free: 13.5 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004199/0.233, allocations: 248.9 kB / 0.7636 GB, free: 13.21 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001362/0.2331, allocations: 42.5 kB / 0.7636 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.029e-05/0.2332, allocations: 20.91 kB / 0.7636 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000156/0.2334, allocations: 89.08 kB / 0.7637 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.754e-05/0.2334, allocations: 30.56 kB / 0.7638 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.2334, allocations: 0 / 0.7638 GB, free: 12.99 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003554/0.2338, allocations: 85.64 kB / 0.7638 GB, free: 12.9 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.544e-05/0.2338, allocations: 59.34 kB / 0.7639 GB, free: 12.83 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001105/0.2339, allocations: 105.8 kB / 0.764 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.069e-05/0.234, allocations: 25.7 kB / 0.764 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 6.594e-05/0.234, allocations: 92.03 kB / 0.7641 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.888e-05/0.234, allocations: 7.953 kB / 0.7641 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.432e-05/0.2341, allocations: 9.844 kB / 0.7641 GB, free: 12.57 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0002215/0.2343, allocations: 318.8 kB / 0.7644 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.39e-05/0.2344, allocations: 19.97 kB / 0.7644 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.942e-05/0.2345, allocations: 11.98 kB / 0.7645 GB, free: 12.22 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001504/0.2346, allocations: 48.7 kB / 0.7645 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.2346, allocations: 4 kB / 0.7645 GB, free: 12.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001878/0.2348, allocations: 69.66 kB / 0.7646 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.2348, allocations: 4 kB / 0.7646 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.98e-06/0.2348, allocations: 3.938 kB / 0.7646 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.666e-05/0.2348, allocations: 0 / 0.7646 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.452e-05/0.2349, allocations: 11.98 kB / 0.7646 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.2349, allocations: 0 / 0.7646 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.338e-05/0.235, allocations: 4 kB / 0.7646 GB, free: 12.07 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.855e-06/0.235, allocations: 8.016 kB / 0.7646 GB, free: 12.06 MB / 0.5762 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 0.0001102/0.2351, allocations: 117.8 kB / 0.7647 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.2351, allocations: 0 / 0.7647 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002281/0.2353, allocations: 68.78 kB / 0.7648 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.2353, allocations: 0 / 0.7648 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.2354, allocations: 0 / 0.7648 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.544e-06/0.2354, allocations: 0 / 0.7648 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003486/0.2357, allocations: 165.6 kB / 0.7649 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.133e-06/0.2357, allocations: 0 / 0.7649 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.828e-05/0.2358, allocations: 15.94 kB / 0.765 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.433e-06/0.2358, allocations: 0 / 0.765 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.2358, allocations: 3.984 kB / 0.765 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.2358, allocations: 0 / 0.765 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.41e-07/0.2358, allocations: 0 / 0.765 GB, free: 11.63 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002941/0.2361, allocations: 167.4 kB / 0.7651 GB, free: 11.45 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 5.583e-05/0.2361, allocations: 81.11 kB / 0.7652 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.2361, allocations: 0 / 0.7652 GB, free: 11.35 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.133e-05/0.2362, allocations: 8 kB / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.754e-05/0.2363, allocations: 3.984 kB / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.055e-06/0.2363, allocations: 256 / 0.7652 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 5.561e-05/0.2363, allocations: 83.28 kB / 0.7653 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.2363, allocations: 0 / 0.7653 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002145/0.2365, allocations: 12.03 kB / 0.7653 GB, free: 11.25 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 (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.0001988/0.2367, allocations: 107.2 kB / 0.7654 GB, free: 11.13 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002492/0.237, allocations: 39.91 kB / 0.7654 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.237, allocations: 0 / 0.7654 GB, free: 11.09 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 7.869e-05/0.2371, allocations: 11.98 kB / 0.7654 GB, free: 11.08 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003474/0.2374, allocations: 25.86 kB / 0.7655 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000376/0.2378, allocations: 113.6 kB / 0.7656 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003671/0.2382, allocations: 0.6767 MB / 0.7662 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.147e-05/0.2382, allocations: 7.984 kB / 0.7663 GB, free: 10.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.2382, allocations: 7.438 kB / 0.7663 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of SimCode: time 4.61e-07/0.2382, allocations: 0 / 0.7663 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of Templates: time 0.003517/0.2417, allocations: 0.5609 MB / 0.7668 GB, free: 9.641 MB / 0.5762 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: 6.138687448576093]