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.001761/0.001761, 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.002159/0.002159, allocations: 216.4 kB / 22.25 MB, free: 4.855 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.582/1.582, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 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-531:190: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-531:198: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.263/1.263, allocations: 203.8 MB / 0.5041 GB, free: 4.613 MB / 414.1 MB " [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: 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.002092/0.002092, allocations: 64.19 kB / 0.7186 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6309/0.633, allocations: 102 MB / 0.8183 GB, free: 28.86 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.003084/0.6361, allocations: 1.457 MB / 0.8197 GB, free: 27.88 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.0009595/0.637, allocations: 484.4 kB / 0.8201 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.918e-05/0.6371, allocations: 3.938 kB / 0.8202 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 3.143e-05/0.6371, allocations: 1.531 kB / 0.8202 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 6.99e-05/0.6372, allocations: 7.016 kB / 0.8202 GB, free: 27.57 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002467/0.6374, allocations: 24.58 kB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 8.485e-05/0.6375, allocations: 20.31 kB / 0.8202 GB, free: 27.55 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.6376, allocations: 7.172 kB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 7.366e-05/0.6377, allocations: 14.06 kB / 0.8202 GB, free: 27.54 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 4.287e-05/0.6377, allocations: 14.28 kB / 0.8202 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 1.492e-05/0.6378, allocations: 3.438 kB / 0.8202 GB, free: 27.53 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 7.441e-05/0.6378, allocations: 16.84 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 1.655e-05/0.6378, allocations: 1.469 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 2.207e-05/0.6379, allocations: 11.41 kB / 0.8203 GB, free: 27.52 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.0001267/0.638, allocations: 30.3 kB / 0.8203 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.638, allocations: 1.203 kB / 0.8203 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.863e-06/0.638, allocations: 5 kB / 0.8203 GB, free: 27.5 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 6.622e-06/0.638, allocations: 0.6562 kB / 0.8203 GB, free: 27.5 MB / 0.6387 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.0004487/0.6385, allocations: 267 kB / 0.8206 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.6385, allocations: 15.73 kB / 0.8206 GB, free: 27.24 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003019/0.6388, allocations: 17.25 kB / 0.8206 GB, free: 27.23 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.699e-05/0.6389, allocations: 114.8 kB / 0.8207 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.6389, allocations: 2.938 kB / 0.8207 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.6389, allocations: 1.5 kB / 0.8207 GB, free: 27.1 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001893/0.6391, allocations: 55.75 kB / 0.8208 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.6391, allocations: 2.062 kB / 0.8208 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.176e-05/0.6391, allocations: 1.469 kB / 0.8208 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.222e-06/0.6391, allocations: 1.25 kB / 0.8208 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001874/0.6393, allocations: 34.81 kB / 0.8208 GB, free: 27.06 MB / 0.6387 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003544/0.6397, allocations: 204.8 kB / 0.821 GB, free: 26.85 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001317/0.6398, allocations: 47.2 kB / 0.821 GB, free: 26.82 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.697e-05/0.6399, allocations: 23.73 kB / 0.8211 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 2.603e-05/0.6399, allocations: 2.031 kB / 0.8211 GB, free: 26.8 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.64, allocations: 31.66 kB / 0.8211 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.64, allocations: 0.5625 kB / 0.8211 GB, free: 26.77 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2): time 0.0004076/0.6404, allocations: 97.52 kB / 0.8212 GB, free: 26.71 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.764e-05/0.6404, allocations: 53.39 kB / 0.8212 GB, free: 26.65 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.098e-05/0.6405, allocations: 102.5 kB / 0.8213 GB, free: 26.55 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 1.043e-05/0.6405, allocations: 29.7 kB / 0.8214 GB, free: 26.52 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 2.944e-05/0.6405, allocations: 82.56 kB / 0.8214 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 1.89e-05/0.6405, allocations: 5.734 kB / 0.8214 GB, free: 26.43 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.225e-05/0.6405, allocations: 25.12 kB / 0.8215 GB, free: 26.41 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.952e-05/0.6406, allocations: 313.8 kB / 0.8218 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.193e-05/0.6407, allocations: 19.22 kB / 0.8218 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.116e-05/0.6408, allocations: 17.31 kB / 0.8218 GB, free: 26.09 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001729/0.6409, allocations: 46.5 kB / 0.8218 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.6409, allocations: 0 / 0.8218 GB, free: 26.07 MB / 0.6387 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002072/0.6412, allocations: 78.12 kB / 0.8219 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.6412, allocations: 7.375 kB / 0.8219 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.6412, allocations: 1.125 kB / 0.8219 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.257e-05/0.6412, allocations: 0.9375 kB / 0.8219 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001289/0.6413, allocations: 10.09 kB / 0.8219 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.6413, allocations: 1.25 kB / 0.8219 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.771e-05/0.6414, allocations: 10.7 kB / 0.822 GB, free: 26.03 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.682e-06/0.6414, allocations: 0.5938 kB / 0.822 GB, free: 26.03 MB / 0.6387 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 5.389e-05/0.6415, allocations: 113.7 kB / 0.8221 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.605e-05/0.6415, allocations: 2.312 kB / 0.8221 GB, free: 25.91 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.853e-05/0.6415, allocations: 12.88 kB / 0.8221 GB, free: 25.9 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.815e-06/0.6415, allocations: 8.797 kB / 0.8221 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.6415, allocations: 0 / 0.8221 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.498e-06/0.6415, allocations: 1.531 kB / 0.8221 GB, free: 25.89 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001075/0.6417, allocations: 109.5 kB / 0.8222 GB, free: 25.77 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.6417, allocations: 8.156 kB / 0.8222 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.367e-05/0.6417, allocations: 10.3 kB / 0.8222 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.6418, allocations: 1.188 kB / 0.8222 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.138e-05/0.6418, allocations: 0.7031 kB / 0.8222 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.6418, allocations: 0.875 kB / 0.8222 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6418, allocations: 0 / 0.8222 GB, free: 25.76 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002595/0.642, allocations: 167.5 kB / 0.8224 GB, free: 25.62 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 9.798e-06/0.642, allocations: 5 kB / 0.8224 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.556e-05/0.642, allocations: 5.609 kB / 0.8224 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001104/0.6422, allocations: 7.219 kB / 0.8224 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.244e-05/0.6422, allocations: 2.344 kB / 0.8224 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.553e-06/0.6422, allocations: 1.859 kB / 0.8224 GB, free: 25.61 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 3.527e-05/0.6422, allocations: 88.47 kB / 0.8225 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of sort global known variables: time 8e-08/0.6422, allocations: 0.5 kB / 0.8225 GB, free: 25.53 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0002374/0.6425, allocations: 4.156 kB / 0.8225 GB, free: 25.53 MB / 0.6387 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.0001078/0.6426, allocations: 97.19 kB / 0.8226 GB, free: 25.43 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0002572/0.6428, allocations: 49.12 kB / 0.8226 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.6428, allocations: 0.5938 kB / 0.8226 GB, free: 25.42 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0001084/0.643, allocations: 21.72 kB / 0.8226 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.6433, allocations: 11.48 kB / 0.8227 GB, free: 25.41 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003081/0.6436, allocations: 112.3 kB / 0.8228 GB, free: 25.3 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.358e-05/0.6436, allocations: 60.44 kB / 0.8228 GB, free: 25.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 4.451e-05/0.6437, allocations: 7.047 kB / 0.8228 GB, free: 25.22 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.6437, allocations: 9.062 kB / 0.8228 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of SimCode: time 2.91e-07/0.6437, allocations: 0 / 0.8228 GB, free: 25.21 MB / 0.6387 GB Notification: Performance of Templates: time 0.003373/0.6471, allocations: 0.5923 MB / 0.8234 GB, free: 25.13 MB / 0.6387 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.850078335031867] Failed to read output from testmodel.py, exit status != 0: 0.6562480088323355 0.668582502 0.027857731 Calling exit ...