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.001037/0.001037, allocations: 80.94 kB / 19.94 MB, free: 4.543 MB / 18.57 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.001397/0.001397, allocations: 177 kB / 23.36 MB, free: 1.129 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 0.9781/0.9781, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] 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 0.7675/0.7675, allocations: 154.9 MB / 415.1 MB, free: 244 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 179] 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 1.513e-06/1.513e-06, allocations: 0 / 480.4 MB, free: 6.562 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.9e-05/2.051e-05, allocations: 8.766 kB / 480.4 MB, free: 6.559 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.002114/0.002135, allocations: 1.485 MB / 481.9 MB, free: 5.094 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007331/0.002868, allocations: 0.5024 MB / 482.4 MB, free: 4.602 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.16e-05/0.002909, allocations: 4 kB / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 2.892e-05/0.002938, allocations: 0 / 482.4 MB, free: 4.598 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 7.268e-05/0.003011, allocations: 5.578 kB / 482.4 MB, free: 4.594 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002064/0.003217, allocations: 24.62 kB / 482.4 MB, free: 4.57 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 5.918e-05/0.003277, allocations: 25.12 kB / 482.4 MB, free: 4.551 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.689e-05/0.003343, allocations: 4.844 kB / 482.4 MB, free: 4.547 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.726e-05/0.003421, allocations: 21.06 kB / 482.4 MB, free: 4.527 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.174e-05/0.003452, allocations: 10.72 kB / 482.5 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.003463, allocations: 0.9844 kB / 482.5 MB, free: 4.52 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 5.432e-05/0.003517, allocations: 16 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 1.435e-05/0.003532, allocations: 0.875 kB / 482.5 MB, free: 4.504 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 1.767e-05/0.003549, allocations: 14.95 kB / 482.5 MB, free: 4.492 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 9.186e-05/0.003641, allocations: 26.36 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.124e-06/0.003643, allocations: 1.125 kB / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of FrontEnd: time 6.31e-07/0.003644, allocations: 0 / 482.5 MB, free: 4.469 MB / 442.7 MB Notification: Performance of Transformations before backend: time 2.826e-06/0.003647, allocations: 0 / 482.5 MB, free: 4.469 MB / 442.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.0002726/0.003919, allocations: 236.7 kB / 482.7 MB, free: 4.219 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.247e-05/0.003952, allocations: 12.03 kB / 482.8 MB, free: 4.207 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001694/0.004121, allocations: 21.81 kB / 482.8 MB, free: 4.188 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.645e-05/0.004198, allocations: 117.7 kB / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-06/0.004206, allocations: 3.062 kB / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.438e-06/0.004215, allocations: 384 / 482.9 MB, free: 4.047 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.903e-05/0.004304, allocations: 62.89 kB / 483 MB, free: 3.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.969e-06/0.004309, allocations: 4.188 kB / 483 MB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.472e-06/0.004316, allocations: 384 / 483 MB, free: 3.977 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.039e-06/0.004321, allocations: 3.938 kB / 483 MB, free: 3.973 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.16e-05/0.004342, allocations: 4 kB / 483 MB, free: 3.969 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.004532, allocations: 149.2 kB / 483.1 MB, free: 3.809 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.263e-05/0.004575, allocations: 22.61 kB / 483.1 MB, free: 3.777 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.396e-05/0.004589, allocations: 15.61 kB / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.077e-05/0.0046, allocations: 0 / 483.2 MB, free: 3.762 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.004618, allocations: 30.56 kB / 483.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.004619, allocations: 0 / 483.2 MB, free: 3.723 MB / 442.7 MB Notification: Performance of matching and sorting (n=2): time 0.0001025/0.004721, allocations: 50.47 kB / 483.2 MB, free: 3.668 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.004749, allocations: 52.16 kB / 483.3 MB, free: 3.605 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.707e-05/0.004796, allocations: 102.7 kB / 483.4 MB, free: 3.492 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.211e-05/0.004808, allocations: 26.33 kB / 483.4 MB, free: 3.461 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.004836, allocations: 88.12 kB / 483.5 MB, free: 3.371 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.525e-05/0.004852, allocations: 5.266 kB / 483.5 MB, free: 3.367 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.801e-05/0.00488, allocations: 22.47 kB / 483.5 MB, free: 3.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 7.284e-05/0.004952, allocations: 310.8 kB / 483.8 MB, free: 3.027 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.015e-05/0.004963, allocations: 4.531 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.218e-06/0.004972, allocations: 1.062 kB / 483.8 MB, free: 3.023 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.842e-05/0.005, allocations: 20.84 kB / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.005002, allocations: 1.125 kB / 483.9 MB, free: 3 MB / 442.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.414e-05/0.005046, allocations: 41.62 kB / 483.9 MB, free: 2.953 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.005061, allocations: 4.984 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.299e-06/0.005065, allocations: 1.031 kB / 483.9 MB, free: 2.949 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.005078, allocations: 3.938 kB / 483.9 MB, free: 2.945 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.725e-05/0.005135, allocations: 9.344 kB / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.795e-06/0.005138, allocations: 0 / 483.9 MB, free: 2.938 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.367e-05/0.005162, allocations: 7.984 kB / 483.9 MB, free: 2.93 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.848e-06/0.005166, allocations: 0 / 483.9 MB, free: 2.93 MB / 442.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 5.59e-05/0.005222, allocations: 106.7 kB / 484 MB, free: 2.816 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.347e-05/0.005235, allocations: 4 kB / 484 MB, free: 2.812 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.704e-05/0.005262, allocations: 12.75 kB / 484 MB, free: 2.805 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.005264, allocations: 3.938 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.793e-06/0.005266, allocations: 0 / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.005269, allocations: 0.8438 kB / 484 MB, free: 2.801 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.486e-05/0.005354, allocations: 77.83 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.005355, allocations: 1.031 kB / 484.1 MB, free: 2.707 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.432e-05/0.005379, allocations: 8 kB / 484.1 MB, free: 2.699 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-06/0.00538, allocations: 4.812 kB / 484.1 MB, free: 2.695 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.471e-06/0.005385, allocations: 3.984 kB / 484.1 MB, free: 2.691 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.72e-07/0.005386, allocations: 5.062 kB / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-07/0.005387, allocations: 0 / 484.1 MB, free: 2.688 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.137e-05/0.005458, allocations: 132.1 kB / 484.3 MB, free: 2.543 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.282e-06/0.005464, allocations: 7.984 kB / 484.3 MB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.426e-06/0.005473, allocations: 0.625 kB / 484.3 MB, free: 2.535 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.655e-05/0.005509, allocations: 11.39 kB / 484.3 MB, free: 2.527 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.273e-05/0.005532, allocations: 3.938 kB / 484.3 MB, free: 2.523 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.487e-06/0.005536, allocations: 4.609 kB / 484.3 MB, free: 2.52 MB / 442.7 MB Notification: Performance of sorting global known variables: time 1.011e-05/0.005546, allocations: 8.859 kB / 484.3 MB, free: 2.508 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005546, allocations: 0.625 kB / 484.3 MB, free: 2.508 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0001131/0.005659, allocations: 4.625 kB / 484.3 MB, free: 2.504 MB / 442.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 6.233e-05/0.005721, allocations: 73.14 kB / 484.4 MB, free: 2.422 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 5.212e-05/0.005773, allocations: 17.33 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.704e-06/0.005775, allocations: 0.5 kB / 484.4 MB, free: 2.402 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 1.657e-05/0.005792, allocations: 14.28 kB / 484.4 MB, free: 2.387 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001267/0.005918, allocations: 8 kB / 484.4 MB, free: 2.379 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001916/0.00611, allocations: 114.6 kB / 484.5 MB, free: 2.242 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.982e-05/0.00614, allocations: 55.34 kB / 484.6 MB, free: 2.168 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 2.579e-05/0.006165, allocations: 7.344 kB / 484.6 MB, free: 2.164 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.701e-05/0.006212, allocations: 55.38 kB / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of SimCode: time 2.6e-07/0.006213, allocations: 0 / 484.7 MB, free: 2.109 MB / 442.7 MB Notification: Performance of Templates: time 0.001867/0.00808, allocations: 0.5826 MB / 485.2 MB, free: 1.555 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.5039770090952516]