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.0008425/0.0008425, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001182/0.002025, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.001012/0.001012, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.003832/0.004844, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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.038/1.038, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09707/1.135, allocations: 53.67 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-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 4.0.0-master/package.mo): time 0.8032/0.8032, allocations: 155.3 MB / 399.5 MB, free: 15.8 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 4.0.0-master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2803/1.083, allocations: 49.13 MB / 448.6 MB, free: 5.902 MB / 426.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0-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 1.323e-06/1.323e-06, allocations: 0 / 450 MB, free: 4.582 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.322e-05/2.455e-05, allocations: 3.859 kB / 450 MB, free: 4.578 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002154/0.002179, allocations: 1.554 MB / 451.5 MB, free: 3.043 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005963/0.002775, allocations: 0.4892 MB / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.002804, allocations: 0 / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 2.38e-05/0.002828, allocations: 0 / 452 MB, free: 2.559 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 4.022e-05/0.002868, allocations: 11.98 kB / 452 MB, free: 2.551 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001176/0.002986, allocations: 23.91 kB / 452 MB, free: 2.527 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 6.409e-05/0.00305, allocations: 24.89 kB / 452.1 MB, free: 2.512 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.581e-05/0.003126, allocations: 9.078 kB / 452.1 MB, free: 2.504 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.311e-05/0.003209, allocations: 23.69 kB / 452.1 MB, free: 2.484 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.41e-05/0.003253, allocations: 8.766 kB / 452.1 MB, free: 2.477 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 1.282e-05/0.003266, allocations: 0 / 452.1 MB, free: 2.477 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.454e-05/0.00335, allocations: 17.06 kB / 452.1 MB, free: 2.461 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 1.651e-05/0.003367, allocations: 5.969 kB / 452.1 MB, free: 2.457 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 1.546e-05/0.003382, allocations: 4 kB / 452.1 MB, free: 2.453 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001085/0.003491, allocations: 22.75 kB / 452.2 MB, free: 2.434 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.219e-05/0.003503, allocations: 0 / 452.2 MB, free: 2.434 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.003504, allocations: 6.953 kB / 452.2 MB, free: 2.43 MB / 426.7 MB Notification: Performance of Transformations before backend: time 9.067e-06/0.003513, allocations: 0 / 452.2 MB, free: 2.43 MB / 426.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.0003643/0.003877, allocations: 238.7 kB / 452.4 MB, free: 2.176 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.444e-05/0.003912, allocations: 8.031 kB / 452.4 MB, free: 2.168 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002425/0.004154, allocations: 98.02 kB / 452.5 MB, free: 2.055 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.807e-05/0.004252, allocations: 119.1 kB / 452.6 MB, free: 1.914 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.004264, allocations: 4.312 kB / 452.6 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.075e-05/0.004274, allocations: 384 / 452.6 MB, free: 1.91 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001051/0.004379, allocations: 57.28 kB / 452.7 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.004387, allocations: 192 / 452.7 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.364e-06/0.004394, allocations: 1.875 kB / 452.7 MB, free: 1.848 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.683e-06/0.004401, allocations: 3.938 kB / 452.7 MB, free: 1.844 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.386e-05/0.004425, allocations: 9.172 kB / 452.7 MB, free: 1.836 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000217/0.004642, allocations: 144.3 kB / 452.8 MB, free: 1.68 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.627e-05/0.004688, allocations: 32.64 kB / 452.9 MB, free: 1.641 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.25e-05/0.004701, allocations: 4.859 kB / 452.9 MB, free: 1.633 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.582e-05/0.004716, allocations: 4.062 kB / 452.9 MB, free: 1.629 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.912e-05/0.004736, allocations: 31.44 kB / 452.9 MB, free: 1.59 MB / 426.7 MB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.004736, allocations: 0.9062 kB / 452.9 MB, free: 1.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001093/0.004846, allocations: 45.62 kB / 453 MB, free: 1.539 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.768e-05/0.004873, allocations: 56.31 kB / 453 MB, free: 1.473 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.086e-05/0.004924, allocations: 106.7 kB / 453.1 MB, free: 1.355 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 1.048e-05/0.004935, allocations: 26.61 kB / 453.1 MB, free: 1.324 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.826e-05/0.004963, allocations: 84.12 kB / 453.2 MB, free: 1.238 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.548e-05/0.004978, allocations: 7.953 kB / 453.2 MB, free: 1.23 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.308e-05/0.005001, allocations: 15 kB / 453.2 MB, free: 1.211 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 7.708e-05/0.005079, allocations: 316.1 kB / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.837e-06/0.005087, allocations: 0 / 453.6 MB, free: 0.8945 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.989e-06/0.005097, allocations: 4 kB / 453.6 MB, free: 0.8906 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.687e-05/0.005124, allocations: 17.5 kB / 453.6 MB, free: 0.8711 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.005127, allocations: 4.625 kB / 453.6 MB, free: 0.8672 MB / 426.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.215e-05/0.005169, allocations: 38.95 kB / 453.6 MB, free: 0.8242 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.005181, allocations: 8.531 kB / 453.6 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.276e-06/0.005184, allocations: 0 / 453.6 MB, free: 0.8164 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.884e-05/0.005203, allocations: 3.938 kB / 453.6 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.161e-05/0.005275, allocations: 8.5 kB / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.865e-06/0.005278, allocations: 1.375 kB / 453.6 MB, free: 0.8047 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.19e-05/0.005299, allocations: 8.531 kB / 453.6 MB, free: 0.7969 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.619e-06/0.005304, allocations: 256 / 453.6 MB, free: 0.7969 MB / 426.7 MB 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.806e-05/0.005352, allocations: 106.9 kB / 453.8 MB, free: 0.6836 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.342e-05/0.005366, allocations: 5.875 kB / 453.8 MB, free: 0.6797 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.199e-05/0.005398, allocations: 4 kB / 453.8 MB, free: 0.6758 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.005401, allocations: 8.484 kB / 453.8 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.794e-06/0.005403, allocations: 0.9062 kB / 453.8 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.005405, allocations: 0 / 453.8 MB, free: 0.668 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.634e-05/0.005492, allocations: 78.47 kB / 453.8 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.005492, allocations: 0 / 453.8 MB, free: 0.5742 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.71e-05/0.005519, allocations: 10.41 kB / 453.9 MB, free: 0.5664 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.452e-06/0.005526, allocations: 7.953 kB / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.005527, allocations: 0 / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.709e-06/0.005532, allocations: 0 / 453.9 MB, free: 0.5586 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.005533, allocations: 4.719 kB / 453.9 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.005534, allocations: 0 / 453.9 MB, free: 0.5547 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.325e-05/0.005607, allocations: 136.9 kB / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.596e-06/0.005616, allocations: 0 / 454 MB, free: 416 kB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.438e-05/0.00565, allocations: 4 kB / 454 MB, free: 412 kB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.522e-05/0.005675, allocations: 9.859 kB / 454 MB, free: 404 kB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.005678, allocations: 0 / 454 MB, free: 404 kB / 426.7 MB Notification: Performance of sorting global known variables: time 1.37e-05/0.005691, allocations: 13.48 kB / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005691, allocations: 0 / 454 MB, free: 388 kB / 426.7 MB Notification: Performance of remove unused functions: time 0.0001073/0.005799, allocations: 4.875 kB / 454 MB, free: 384 kB / 426.7 MB 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 7.308e-05/0.005872, allocations: 77.05 kB / 454.1 MB, free: 296 kB / 426.7 MB Notification: Performance of simCode: created initialization part: time 5.396e-05/0.005926, allocations: 14.59 kB / 454.1 MB, free: 280 kB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.419e-06/0.00593, allocations: 4.875 kB / 454.1 MB, free: 276 kB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 2e-05/0.00595, allocations: 8.859 kB / 454.1 MB, free: 264 kB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000167/0.006117, allocations: 72.55 kB / 454.2 MB, free: 180 kB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003235/0.006441, allocations: 114.2 kB / 454.3 MB, free: 44 kB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.487e-05/0.006486, allocations: 59.22 kB / 454.4 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 3.092e-05/0.006516, allocations: 7.938 kB / 454.4 MB, free: 15.96 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.45e-05/0.006571, allocations: 56.14 kB / 454.4 MB, free: 15.91 MB / 442.7 MB Notification: Performance of SimCode: time 5.21e-07/0.006571, allocations: 0 / 454.4 MB, free: 15.91 MB / 442.7 MB Notification: Performance of Templates: time 0.002112/0.008684, allocations: 0.6587 MB / 455.1 MB, free: 15.28 MB / 442.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothHeaviside.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.595902806147933]