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.001318/0.001318, allocations: 110 kB / 18.93 MB, free: 2.945 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.001386/0.001386, allocations: 190.9 kB / 22.23 MB, free: 5.16 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.48/1.48, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.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.138/1.138, allocations: 177.9 MB / 484.2 MB, free: 5.367 MB / 382.1 MB " [Timeout remaining time 178] 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.001982/0.001982, allocations: 67.52 kB / 0.674 GB, free: 10.78 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7326/0.7345, allocations: 95.18 MB / 0.7669 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002623/0.7372, allocations: 1.44 MB / 0.7683 GB, free: 7.285 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.0007815/0.7379, allocations: 483.7 kB / 0.7688 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.488e-05/0.738, allocations: 0 / 0.7688 GB, free: 6.957 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 3.123e-05/0.738, allocations: 3.938 kB / 0.7688 GB, free: 6.953 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 6.3e-05/0.7381, allocations: 5.922 kB / 0.7688 GB, free: 6.949 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002139/0.7383, allocations: 27.39 kB / 0.7688 GB, free: 6.934 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.779e-05/0.7384, allocations: 24.48 kB / 0.7689 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 9.136e-05/0.7384, allocations: 4.219 kB / 0.7689 GB, free: 6.922 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 6.205e-05/0.7385, allocations: 13.88 kB / 0.7689 GB, free: 6.914 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 3.896e-05/0.7385, allocations: 13.23 kB / 0.7689 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.209e-05/0.7386, allocations: 2.375 kB / 0.7689 GB, free: 6.906 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 7.729e-05/0.7386, allocations: 23.19 kB / 0.7689 GB, free: 6.898 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.234e-05/0.7386, allocations: 5.531 kB / 0.7689 GB, free: 6.895 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.295e-05/0.7387, allocations: 15.08 kB / 0.7689 GB, free: 6.883 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.7388, allocations: 34.89 kB / 0.769 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7388, allocations: 0 / 0.769 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.735e-06/0.7388, allocations: 3.141 kB / 0.769 GB, free: 6.871 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.49e-06/0.7388, allocations: 0.9375 kB / 0.769 GB, free: 6.871 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.0003729/0.7392, allocations: 261.7 kB / 0.7692 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.668e-05/0.7392, allocations: 9.156 kB / 0.7692 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.7392, allocations: 2.062 kB / 0.7692 GB, free: 6.613 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.805e-05/0.7393, allocations: 114.6 kB / 0.7693 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.483e-05/0.7393, allocations: 5.562 kB / 0.7693 GB, free: 6.477 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.7393, allocations: 5.406 kB / 0.7694 GB, free: 6.473 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001746/0.7395, allocations: 66.2 kB / 0.7694 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.7395, allocations: 0 / 0.7694 GB, free: 6.422 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.837e-06/0.7395, allocations: 5.156 kB / 0.7694 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.068e-06/0.7395, allocations: 0 / 0.7694 GB, free: 6.418 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001705/0.7397, allocations: 32.86 kB / 0.7695 GB, free: 6.414 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002775/0.74, allocations: 225.8 kB / 0.7697 GB, free: 6.168 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.7401, allocations: 44.5 kB / 0.7697 GB, free: 6.137 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.102e-05/0.7402, allocations: 20.69 kB / 0.7697 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001011/0.7403, allocations: 5.078 kB / 0.7697 GB, free: 6.125 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.993e-05/0.7403, allocations: 36.03 kB / 0.7698 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.7403, allocations: 0 / 0.7698 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2): time 0.0003673/0.7407, allocations: 80.44 kB / 0.7698 GB, free: 6.043 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.194e-05/0.7407, allocations: 52.66 kB / 0.7699 GB, free: 5.98 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.7408, allocations: 102.3 kB / 0.77 GB, free: 5.879 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.195e-06/0.7408, allocations: 28.14 kB / 0.77 GB, free: 5.848 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 2.922e-05/0.7408, allocations: 89.62 kB / 0.7701 GB, free: 5.758 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 1.523e-05/0.7408, allocations: 5.281 kB / 0.7701 GB, free: 5.754 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.643e-05/0.7409, allocations: 15.09 kB / 0.7701 GB, free: 5.734 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 3.986e-05/0.7409, allocations: 313.6 kB / 0.7704 GB, free: 5.422 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.86e-05/0.741, allocations: 21.39 kB / 0.7704 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.826e-05/0.7411, allocations: 15.59 kB / 0.7705 GB, free: 5.414 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001581/0.7412, allocations: 47.77 kB / 0.7705 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-06/0.7412, allocations: 0 / 0.7705 GB, free: 5.395 MB / 0.5762 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001882/0.7414, allocations: 71.36 kB / 0.7706 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.7414, allocations: 5.094 kB / 0.7706 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.7415, allocations: 1.406 kB / 0.7706 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.7415, allocations: 0 / 0.7706 GB, free: 5.352 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.883e-05/0.7416, allocations: 14.14 kB / 0.7706 GB, free: 5.348 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.7416, allocations: 4.031 kB / 0.7706 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.593e-05/0.7416, allocations: 4.188 kB / 0.7706 GB, free: 5.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.819e-06/0.7416, allocations: 0 / 0.7706 GB, free: 5.344 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 4.927e-05/0.7417, allocations: 113.8 kB / 0.7707 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.33e-05/0.7417, allocations: 1.156 kB / 0.7707 GB, free: 5.227 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002323/0.7419, allocations: 73.27 kB / 0.7708 GB, free: 5.184 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-06/0.7419, allocations: 5.594 kB / 0.7708 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.7419, allocations: 0 / 0.7708 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.756e-06/0.7419, allocations: 0 / 0.7708 GB, free: 5.18 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001142/0.742, allocations: 132 kB / 0.7709 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.742, allocations: 0 / 0.7709 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.873e-05/0.7421, allocations: 10.8 kB / 0.7709 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.7421, allocations: 0 / 0.7709 GB, free: 5.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.927e-06/0.7421, allocations: 5.5 kB / 0.7709 GB, free: 5.016 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.7421, allocations: 7.875 kB / 0.7709 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.7421, allocations: 0 / 0.7709 GB, free: 5.008 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002173/0.7423, allocations: 171 kB / 0.7711 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.754e-06/0.7423, allocations: 3.656 kB / 0.7711 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.314e-05/0.7424, allocations: 1.25 kB / 0.7711 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.502e-05/0.7424, allocations: 4.5 kB / 0.7711 GB, free: 4.859 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.116e-05/0.7425, allocations: 6.406 kB / 0.7711 GB, free: 4.855 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/0.7425, allocations: 5.062 kB / 0.7711 GB, free: 4.852 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 2.554e-05/0.7425, allocations: 81.12 kB / 0.7712 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of sort global known variables: time 6e-08/0.7425, allocations: 0 / 0.7712 GB, free: 4.777 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002206/0.7427, allocations: 9.156 kB / 0.7712 GB, free: 4.773 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.0001249/0.7428, allocations: 96.45 kB / 0.7713 GB, free: 4.684 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0002476/0.7431, allocations: 48.28 kB / 0.7713 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.7431, allocations: 4.062 kB / 0.7713 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 8.792e-05/0.7432, allocations: 15.91 kB / 0.7714 GB, free: 4.664 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000302/0.7435, allocations: 7.375 kB / 0.7714 GB, free: 4.66 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002611/0.7437, allocations: 111.1 kB / 0.7715 GB, free: 4.547 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001008/0.7438, allocations: 0.6756 MB / 0.7721 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 2.496e-05/0.7439, allocations: 3.828 kB / 0.7721 GB, free: 3.852 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.144e-05/0.7439, allocations: 13.12 kB / 0.7721 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of SimCode: time 3.21e-07/0.7439, allocations: 0 / 0.7721 GB, free: 3.84 MB / 0.5762 GB Notification: Performance of Templates: time 0.003177/0.7471, allocations: 0.5764 MB / 0.7727 GB, free: 3.762 MB / 0.5762 GB " [Timeout remaining time 659] 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.596018010750413] Failed to read output from testmodel.py, exit status != 0: 0.7552814157679677 0.770145296 0.026511906000000002 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fe978b657b0>