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.0007273/0.0007273, allocations: 100.4 kB / 19.71 MB, free: 444 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.0007309/0.0007309, allocations: 210.4 kB / 23 MB, free: 2.973 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 0.9268/0.9268, allocations: 230.6 MB / 256.8 MB, free: 9.586 MB / 202.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-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 0.7808/0.7808, allocations: 203.8 MB / 0.5049 GB, free: 10.43 MB / 410.7 MB " [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: 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.0009164/0.0009164, allocations: 73.81 kB / 0.7194 GB, free: 3.539 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4986/0.4995, allocations: 102 MB / 0.819 GB, free: 1.344 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothHeaviside): time 0.001806/0.5013, allocations: 1.47 MB / 0.8204 GB, free: 336 kB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005481/0.5018, allocations: 485.6 kB / 0.8209 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.377e-05/0.5019, allocations: 3.375 kB / 0.8209 GB, free: 12 kB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.995e-05/0.5019, allocations: 8.453 kB / 0.8209 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 5.693e-05/0.502, allocations: 0.5625 kB / 0.8209 GB, free: 4 kB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002193/0.5022, allocations: 25.8 kB / 0.8209 GB, free: 15.98 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.576e-05/0.5023, allocations: 25.02 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.582e-05/0.5023, allocations: 3.656 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.981e-05/0.5024, allocations: 14.86 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 3.274e-05/0.5024, allocations: 5.234 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.042e-05/0.5024, allocations: 2.594 kB / 0.821 GB, free: 15.97 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.42e-05/0.5025, allocations: 20.41 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.505e-05/0.5025, allocations: 4.969 kB / 0.821 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.088e-05/0.5025, allocations: 16.92 kB / 0.821 GB, free: 15.95 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0001002/0.5026, allocations: 31.94 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5026, allocations: 2.078 kB / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.153e-06/0.5026, allocations: 0 / 0.8211 GB, free: 15.93 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.071e-06/0.5026, allocations: 0 / 0.8211 GB, free: 15.93 MB / 0.6198 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.0003615/0.503, allocations: 265.2 kB / 0.8213 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.707e-05/0.503, allocations: 9.281 kB / 0.8213 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001746/0.5032, allocations: 18.75 kB / 0.8213 GB, free: 15.67 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.033e-05/0.5033, allocations: 111 kB / 0.8215 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.042e-05/0.5033, allocations: 4.375 kB / 0.8215 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.207e-06/0.5033, allocations: 1.906 kB / 0.8215 GB, free: 15.54 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001389/0.5035, allocations: 59.89 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.5035, allocations: 0.5625 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.5035, allocations: 3.938 kB / 0.8215 GB, free: 15.49 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.5035, allocations: 5.312 kB / 0.8215 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001019/0.5036, allocations: 41.31 kB / 0.8216 GB, free: 15.48 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000287/0.5039, allocations: 195.3 kB / 0.8217 GB, free: 15.27 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 9.168e-05/0.504, allocations: 52.02 kB / 0.8218 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.692e-05/0.504, allocations: 20.88 kB / 0.8218 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.909e-05/0.504, allocations: 2.688 kB / 0.8218 GB, free: 15.22 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.973e-05/0.504, allocations: 32.81 kB / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.71e-07/0.504, allocations: 0 / 0.8219 GB, free: 15.18 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.000238/0.5043, allocations: 95.84 kB / 0.8219 GB, free: 15.13 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.5e-05/0.5043, allocations: 51.41 kB / 0.822 GB, free: 15.07 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.22e-05/0.5044, allocations: 103.5 kB / 0.8221 GB, free: 14.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.079e-05/0.5044, allocations: 25.7 kB / 0.8221 GB, free: 14.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.489e-05/0.5044, allocations: 82.97 kB / 0.8222 GB, free: 14.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.725e-05/0.5044, allocations: 9.578 kB / 0.8222 GB, free: 14.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-05/0.5045, allocations: 17.95 kB / 0.8222 GB, free: 14.83 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0003416/0.5048, allocations: 316 kB / 0.8225 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.917e-05/0.5048, allocations: 21.56 kB / 0.8225 GB, free: 14.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.307e-05/0.5049, allocations: 21.31 kB / 0.8226 GB, free: 14.5 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.8e-05/0.505, allocations: 41.22 kB / 0.8226 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.505, allocations: 0 / 0.8226 GB, free: 14.49 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001168/0.5051, allocations: 74.14 kB / 0.8227 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.5051, allocations: 5.75 kB / 0.8227 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.007e-06/0.5051, allocations: 0 / 0.8227 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.095e-05/0.5051, allocations: 4.094 kB / 0.8227 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-05/0.5052, allocations: 12.97 kB / 0.8227 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.29e-06/0.5052, allocations: 3.938 kB / 0.8227 GB, free: 14.44 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.259e-05/0.5052, allocations: 9.469 kB / 0.8227 GB, free: 14.43 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.931e-06/0.5052, allocations: 3.031 kB / 0.8227 GB, free: 14.43 MB / 0.6198 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.193e-05/0.5053, allocations: 114.6 kB / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.213e-05/0.5053, allocations: 2.453 kB / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.019e-05/0.5053, allocations: 11.3 kB / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.5053, allocations: 0 / 0.8228 GB, free: 14.31 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.396e-06/0.5053, allocations: 4 kB / 0.8228 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.5053, allocations: 0.6562 kB / 0.8228 GB, free: 14.3 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.441e-05/0.5054, allocations: 112.9 kB / 0.8229 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/0.5054, allocations: 3.938 kB / 0.8229 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.537e-05/0.5055, allocations: 10.98 kB / 0.823 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.202e-06/0.5055, allocations: 0 / 0.823 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.106e-06/0.5055, allocations: 2.672 kB / 0.823 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.5055, allocations: 0 / 0.823 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.5055, allocations: 0 / 0.823 GB, free: 14.17 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.5056, allocations: 168.4 kB / 0.8231 GB, free: 14.03 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 5.701e-06/0.5056, allocations: 12.56 kB / 0.8231 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.728e-06/0.5056, allocations: 0.6562 kB / 0.8231 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.471e-05/0.5057, allocations: 6.297 kB / 0.8231 GB, free: 14.02 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.5057, allocations: 10.58 kB / 0.8232 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.036e-06/0.5057, allocations: 4.016 kB / 0.8232 GB, free: 14.01 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.664e-05/0.5057, allocations: 82.02 kB / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of sort global known variables: time 5e-08/0.5057, allocations: 0 / 0.8232 GB, free: 13.93 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001366/0.5059, allocations: 4.031 kB / 0.8232 GB, free: 13.93 MB / 0.6198 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 7.193e-05/0.506, allocations: 97.09 kB / 0.8233 GB, free: 13.84 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0001263/0.5061, allocations: 40.81 kB / 0.8234 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.746e-06/0.5061, allocations: 1.469 kB / 0.8234 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 4.216e-05/0.5061, allocations: 18.62 kB / 0.8234 GB, free: 13.83 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001869/0.5063, allocations: 12.03 kB / 0.8234 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002501/0.5066, allocations: 150.9 kB / 0.8235 GB, free: 13.67 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.279e-05/0.5066, allocations: 59.45 kB / 0.8236 GB, free: 13.6 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.5066, allocations: 10.56 kB / 0.8236 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of SimCode: time 5.31e-07/0.5066, allocations: 0 / 0.8236 GB, free: 13.59 MB / 0.6198 GB Notification: Performance of Templates: time 0.001789/0.5084, allocations: 0.6546 MB / 0.8242 GB, free: 13.55 MB / 0.6198 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: 5.697005355730653] Failed to read output from testmodel.py, exit status != 0: 0.5136672910302877 0.523862136 0.019319561000000002 Calling exit ...