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.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.001465/0.001465, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001689/0.001689, allocations: 157.6 kB / 22.75 MB, free: 1.684 MB / 18.57 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.27/1.27, allocations: 154.8 MB / 414.4 MB, free: 452 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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_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 9.117e-06/9.117e-06, allocations: 4.656 kB / 0.5199 GB, free: 2.258 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.603e-05/4.515e-05, allocations: 4.141 kB / 0.5199 GB, free: 2.254 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.00417/0.004215, allocations: 1.442 MB / 0.5213 GB, free: 0.8203 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.001332/0.005548, allocations: 484.5 kB / 0.5217 GB, free: 352 kB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.798e-05/0.005596, allocations: 0 / 0.5217 GB, free: 352 kB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 3.227e-05/0.005628, allocations: 0 / 0.5217 GB, free: 352 kB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 8.914e-05/0.005717, allocations: 5.656 kB / 0.5218 GB, free: 348 kB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002852/0.006002, allocations: 23.97 kB / 0.5218 GB, free: 324 kB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001071/0.006109, allocations: 27.8 kB / 0.5218 GB, free: 296 kB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001121/0.006221, allocations: 11.98 kB / 0.5218 GB, free: 284 kB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.52e-05/0.006317, allocations: 9.562 kB / 0.5218 GB, free: 276 kB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.101e-05/0.006368, allocations: 11.98 kB / 0.5218 GB, free: 264 kB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 1.881e-05/0.006386, allocations: 4 kB / 0.5218 GB, free: 260 kB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.568e-05/0.006482, allocations: 19.91 kB / 0.5219 GB, free: 240 kB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 2.319e-05/0.006505, allocations: 8.688 kB / 0.5219 GB, free: 232 kB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 3.233e-05/0.006538, allocations: 4 kB / 0.5219 GB, free: 228 kB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000156/0.006694, allocations: 29.42 kB / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.006698, allocations: 0 / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.884e-06/0.0067, allocations: 0 / 0.5219 GB, free: 200 kB / 490.7 MB Notification: Performance of Transformations before backend: time 5.26e-06/0.006705, allocations: 0 / 0.5219 GB, free: 200 kB / 490.7 MB 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.0005845/0.007289, allocations: 267.6 kB / 0.5222 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/0.007338, allocations: 15.97 kB / 0.5222 GB, free: 15.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003537/0.007692, allocations: 12.92 kB / 0.5222 GB, free: 15.88 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001632/0.007855, allocations: 126.6 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.5e-05/0.00787, allocations: 384 / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.316e-05/0.007883, allocations: 3.344 kB / 0.5223 GB, free: 15.73 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002311/0.008114, allocations: 54.23 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.558e-05/0.00813, allocations: 4.172 kB / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.242e-05/0.008142, allocations: 384 / 0.5224 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/0.008151, allocations: 7.938 kB / 0.5224 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002381/0.008389, allocations: 35.95 kB / 0.5224 GB, free: 15.62 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000516/0.008905, allocations: 209.1 kB / 0.5226 GB, free: 15.39 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.009092, allocations: 39.88 kB / 0.5226 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001317/0.009224, allocations: 28.89 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 2.544e-05/0.009249, allocations: 0.5312 kB / 0.5227 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.895e-05/0.009298, allocations: 35.97 kB / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.009299, allocations: 0 / 0.5227 GB, free: 15.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2): time 0.000496/0.009795, allocations: 90.52 kB / 0.5228 GB, free: 15.18 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.871e-05/0.009854, allocations: 52.81 kB / 0.5228 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.00998, allocations: 101.9 kB / 0.5229 GB, free: 15 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.451e-05/0.01001, allocations: 29.69 kB / 0.523 GB, free: 14.97 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 8.542e-05/0.0101, allocations: 84.14 kB / 0.523 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.537e-05/0.01012, allocations: 9.109 kB / 0.5231 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.701e-05/0.01017, allocations: 9.719 kB / 0.5231 GB, free: 14.86 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0002263/0.0104, allocations: 318.8 kB / 0.5234 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001172/0.01052, allocations: 20.72 kB / 0.5234 GB, free: 14.52 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.01062, allocations: 17.28 kB / 0.5234 GB, free: 14.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002118/0.01083, allocations: 42.17 kB / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.01083, allocations: 0 / 0.5234 GB, free: 14.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003061/0.01114, allocations: 80.56 kB / 0.5235 GB, free: 14.38 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.01116, allocations: 7.938 kB / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.01117, allocations: 0 / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.507e-05/0.01119, allocations: 0 / 0.5235 GB, free: 14.37 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000146/0.01134, allocations: 11.98 kB / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.033e-06/0.01135, allocations: 0 / 0.5235 GB, free: 14.36 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.272e-05/0.01144, allocations: 10.73 kB / 0.5235 GB, free: 14.35 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.304e-06/0.01145, allocations: 3.938 kB / 0.5236 GB, free: 14.35 MB / 0.4948 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.0001231/0.01157, allocations: 109.8 kB / 0.5237 GB, free: 14.23 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.177e-05/0.01161, allocations: 7.891 kB / 0.5237 GB, free: 14.22 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.26e-05/0.01165, allocations: 11.31 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.01166, allocations: 0.5625 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/0.01166, allocations: 0 / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.753e-06/0.01167, allocations: 5.266 kB / 0.5237 GB, free: 14.21 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002125/0.01188, allocations: 101.3 kB / 0.5238 GB, free: 14.08 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.859e-06/0.01189, allocations: 4 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001236/0.01201, allocations: 8.828 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.01201, allocations: 0.5 kB / 0.5238 GB, free: 14.07 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.288e-05/0.01203, allocations: 11.94 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.01204, allocations: 1.781 kB / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.01204, allocations: 0 / 0.5238 GB, free: 14.05 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003828/0.01242, allocations: 173.9 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 1.263e-05/0.01243, allocations: 3.984 kB / 0.524 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.004e-05/0.01245, allocations: 3.938 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.01259, allocations: 4 kB / 0.524 GB, free: 13.86 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.227e-05/0.01264, allocations: 7.984 kB / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.299e-06/0.01264, allocations: 0 / 0.524 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 7.611e-05/0.01272, allocations: 85.75 kB / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.01272, allocations: 0 / 0.5241 GB, free: 13.77 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003315/0.01305, allocations: 4 kB / 0.5241 GB, free: 13.77 MB / 0.4948 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.0001602/0.01321, allocations: 91.25 kB / 0.5242 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002929/0.0135, allocations: 48.92 kB / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01351, allocations: 0 / 0.5242 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.0001166/0.01362, allocations: 16.92 kB / 0.5242 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004479/0.01407, allocations: 17.7 kB / 0.5242 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004674/0.01454, allocations: 108.6 kB / 0.5243 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.619e-05/0.01462, allocations: 63.34 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 5.287e-05/0.01468, allocations: 3.188 kB / 0.5244 GB, free: 13.38 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.937e-05/0.01473, allocations: 12.5 kB / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of SimCode: time 9.12e-07/0.01473, allocations: 0 / 0.5244 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of Templates: time 0.004077/0.0188, allocations: 0.6122 MB / 0.525 GB, free: 12.77 MB / 0.4948 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: 5.876894900924526]