Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.002252/0.002252, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0025/0.0025, allocations: 212.3 kB / 22.25 MB, free: 4.859 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.497/1.497, allocations: 230.6 MB / 256 MB, free: 7.801 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8831/0.8831, allocations: 134 MB / 446.4 MB, free: 9.949 MB / 350.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/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") translateModel(IDEAS.Utilities.Math.Examples.SmoothHeaviside,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside") [Timeout 660] "Notification: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002125/0.002125, allocations: 62.78 kB / 0.619 GB, free: 6.398 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2152/0.2173, allocations: 85.91 MB / 0.7029 GB, free: 0.5703 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.004274/0.2216, allocations: 1.452 MB / 0.7043 GB, free: 15.11 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001257/0.2229, allocations: 487.6 kB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.123e-05/0.2229, allocations: 0 / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 3.421e-05/0.2229, allocations: 0 / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.775e-05/0.223, allocations: 3.938 kB / 0.7047 GB, free: 14.62 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002864/0.2233, allocations: 23.91 kB / 0.7048 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001119/0.2234, allocations: 27.92 kB / 0.7048 GB, free: 14.57 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001217/0.2236, allocations: 7.984 kB / 0.7048 GB, free: 14.56 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 8.926e-05/0.2236, allocations: 11.94 kB / 0.7048 GB, free: 14.55 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.2237, allocations: 11.98 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.702e-05/0.2237, allocations: 4 kB / 0.7048 GB, free: 14.54 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000134/0.2238, allocations: 15.97 kB / 0.7048 GB, free: 14.52 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 2.067e-05/0.2239, allocations: 7.938 kB / 0.7049 GB, free: 14.51 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 2.729e-05/0.2239, allocations: 11.94 kB / 0.7049 GB, free: 14.5 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0001333/0.224, allocations: 31.83 kB / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.311e-06/0.224, allocations: 0 / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.293e-06/0.224, allocations: 0 / 0.7049 GB, free: 14.47 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 8.476e-06/0.224, allocations: 4 kB / 0.7049 GB, free: 14.46 MB / 0.5294 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.0004863/0.2245, allocations: 266.3 kB / 0.7052 GB, free: 14.18 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.2246, allocations: 12.03 kB / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.597e-05/0.2246, allocations: 4.891 kB / 0.7052 GB, free: 14.16 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000177/0.2248, allocations: 114.5 kB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.21e-05/0.2248, allocations: 4.375 kB / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.346e-05/0.2248, allocations: 384 / 0.7053 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001927/0.225, allocations: 53.98 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.059e-05/0.225, allocations: 0 / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.131e-05/0.225, allocations: 3.938 kB / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.17e-06/0.225, allocations: 0 / 0.7053 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001659/0.2252, allocations: 47.83 kB / 0.7054 GB, free: 13.91 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004249/0.2256, allocations: 188.6 kB / 0.7056 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001549/0.2258, allocations: 46.48 kB / 0.7056 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.009e-05/0.2259, allocations: 16.91 kB / 0.7056 GB, free: 13.62 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001068/0.226, allocations: 8 kB / 0.7056 GB, free: 13.61 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.472e-05/0.226, allocations: 34.5 kB / 0.7057 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.226, allocations: 0 / 0.7057 GB, free: 13.57 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2): time 0.0003965/0.2264, allocations: 85.59 kB / 0.7057 GB, free: 13.48 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.088e-05/0.2265, allocations: 55.41 kB / 0.7058 GB, free: 13.41 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001077/0.2266, allocations: 101.8 kB / 0.7059 GB, free: 13.3 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.2266, allocations: 25.7 kB / 0.7059 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.514e-05/0.2266, allocations: 88.14 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.2267, allocations: 7.891 kB / 0.706 GB, free: 13.18 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.2267, allocations: 17.7 kB / 0.706 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.00023/0.2269, allocations: 319 kB / 0.7063 GB, free: 12.83 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.476e-05/0.227, allocations: 11.98 kB / 0.7063 GB, free: 12.82 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.227e-05/0.2271, allocations: 19.98 kB / 0.7064 GB, free: 12.8 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001542/0.2273, allocations: 40.75 kB / 0.7064 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2273, allocations: 0 / 0.7064 GB, free: 12.76 MB / 0.5294 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002029/0.2275, allocations: 69.67 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.2275, allocations: 8 kB / 0.7065 GB, free: 12.68 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.064e-06/0.2275, allocations: 3.984 kB / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.2275, allocations: 0 / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.074e-05/0.2276, allocations: 4 kB / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.471e-06/0.2276, allocations: 0 / 0.7065 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.504e-05/0.2277, allocations: 11.98 kB / 0.7065 GB, free: 12.66 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.2277, allocations: 4 kB / 0.7065 GB, free: 12.65 MB / 0.5294 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 9.583e-05/0.2278, allocations: 111.8 kB / 0.7066 GB, free: 12.54 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.372e-05/0.2278, allocations: 4.031 kB / 0.7066 GB, free: 12.53 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000241/0.228, allocations: 76.91 kB / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.228, allocations: 3.984 kB / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.228, allocations: 0 / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.228, allocations: 0 / 0.7067 GB, free: 12.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001466/0.2282, allocations: 109.5 kB / 0.7068 GB, free: 12.31 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.901e-06/0.2282, allocations: 7.938 kB / 0.7068 GB, free: 12.3 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.678e-05/0.2282, allocations: 11.92 kB / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2283, allocations: 4.031 kB / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-06/0.2283, allocations: 0 / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2283, allocations: 4 kB / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.2283, allocations: 0 / 0.7068 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002586/0.2285, allocations: 163.4 kB / 0.707 GB, free: 12.11 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.653e-05/0.2285, allocations: 7.938 kB / 0.707 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.53e-05/0.2286, allocations: 4 kB / 0.707 GB, free: 12.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.2e-05/0.2286, allocations: 3.984 kB / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.932e-05/0.2287, allocations: 8.031 kB / 0.707 GB, free: 12.09 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.491e-06/0.2287, allocations: 3.984 kB / 0.707 GB, free: 12.08 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.032e-05/0.2287, allocations: 83.27 kB / 0.7071 GB, free: 12 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.2287, allocations: 0 / 0.7071 GB, free: 12 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0002312/0.229, allocations: 12 kB / 0.7071 GB, free: 11.99 MB / 0.5294 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.0001831/0.2291, allocations: 95.19 kB / 0.7072 GB, free: 11.88 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.000241/0.2294, allocations: 39.95 kB / 0.7072 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.2294, allocations: 4.062 kB / 0.7072 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 9.133e-05/0.2295, allocations: 23.92 kB / 0.7072 GB, free: 11.82 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003468/0.2298, allocations: 7.219 kB / 0.7073 GB, free: 11.81 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004344/0.2303, allocations: 109.7 kB / 0.7074 GB, free: 11.68 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.103e-05/0.2303, allocations: 63.2 kB / 0.7074 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 2.979e-05/0.2304, allocations: 0 / 0.7074 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.728e-05/0.2304, allocations: 11.44 kB / 0.7074 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of SimCode: time 3.81e-07/0.2304, allocations: 4.062 kB / 0.7074 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of Templates: time 0.003443/0.2338, allocations: 0.5932 MB / 0.708 GB, free: 11.01 MB / 0.5294 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.886323196813464] Failed to read output from testmodel.py, exit status != 0: 0.24279696308076382 0.25912806199999994 0.031785177000000005 Calling exit ...