Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.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.001079/0.001079, allocations: 76.5 kB / 19.93 MB, free: 4.633 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.001285/0.001285, allocations: 173.9 kB / 23.21 MB, free: 1.355 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.8468/0.8468, allocations: 177.1 MB / 203.5 MB, free: 5.746 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-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.6954/0.6954, allocations: 154.5 MB / 414.5 MB, free: 0.8281 MB / 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.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.553e-06/1.553e-06, allocations: 0 / 0.6193 GB, free: 13.23 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.215e-05/2.371e-05, allocations: 2.281 kB / 0.6193 GB, free: 13.22 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.002083/0.002106, allocations: 1.759 MB / 0.621 GB, free: 11.45 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0008887/0.002995, allocations: 0.6931 MB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.763e-05/0.003063, allocations: 4 kB / 0.6217 GB, free: 10.75 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.003097, allocations: 11.86 kB / 0.6217 GB, free: 10.73 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 5.656e-05/0.003154, allocations: 19.73 kB / 0.6217 GB, free: 10.71 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004898/0.003644, allocations: 186.9 kB / 0.6219 GB, free: 10.54 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.0001572/0.003801, allocations: 127.6 kB / 0.622 GB, free: 10.41 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001255/0.003926, allocations: 37.61 kB / 0.6221 GB, free: 10.37 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001582/0.004085, allocations: 79.8 kB / 0.6221 GB, free: 10.29 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 6.746e-05/0.004152, allocations: 39.88 kB / 0.6222 GB, free: 10.25 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 2.025e-05/0.004172, allocations: 16 kB / 0.6222 GB, free: 10.23 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 9.472e-05/0.004267, allocations: 51.91 kB / 0.6222 GB, free: 10.18 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.00429, allocations: 23.91 kB / 0.6223 GB, free: 10.16 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.684e-05/0.004327, allocations: 43.89 kB / 0.6223 GB, free: 10.12 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.0002072/0.004534, allocations: 175.4 kB / 0.6225 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.964e-06/0.004536, allocations: 0 / 0.6225 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.493e-06/0.004538, allocations: 0 / 0.6225 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.004542, allocations: 0 / 0.6225 GB, free: 9.945 MB / 0.5886 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004292/0.004971, allocations: 369.6 kB / 0.6228 GB, free: 9.555 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.005007, allocations: 13.47 kB / 0.6228 GB, free: 9.543 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005032/0.00551, allocations: 132.6 kB / 0.623 GB, free: 9.414 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002194/0.005729, allocations: 154.1 kB / 0.6231 GB, free: 9.238 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.695e-05/0.005816, allocations: 119.4 kB / 0.6232 GB, free: 9.098 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.62e-05/0.005832, allocations: 12.38 kB / 0.6232 GB, free: 9.086 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003243/0.006157, allocations: 227.5 kB / 0.6234 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.006165, allocations: 0 / 0.6234 GB, free: 8.848 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.746e-05/0.006182, allocations: 4 kB / 0.6235 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.779e-06/0.006187, allocations: 0 / 0.6235 GB, free: 8.844 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003106/0.006497, allocations: 159.8 kB / 0.6236 GB, free: 8.688 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006175/0.007115, allocations: 389.9 kB / 0.624 GB, free: 8.273 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.007607, allocations: 218.3 kB / 0.6242 GB, free: 8.051 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000154/0.007761, allocations: 84.84 kB / 0.6243 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.007783, allocations: 0 / 0.6243 GB, free: 7.965 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.143e-05/0.007804, allocations: 34.56 kB / 0.6243 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=6): time 1.082e-06/0.007805, allocations: 0 / 0.6243 GB, free: 7.922 MB / 0.5886 GB Notification: Performance of matching and sorting (n=6): time 0.0005515/0.008357, allocations: 257.4 kB / 0.6245 GB, free: 7.664 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.033e-05/0.008387, allocations: 59.34 kB / 0.6246 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.844e-05/0.008486, allocations: 141.2 kB / 0.6247 GB, free: 7.445 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.762e-05/0.008503, allocations: 29.7 kB / 0.6248 GB, free: 7.41 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 5.292e-05/0.008556, allocations: 120.1 kB / 0.6249 GB, free: 7.289 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.978e-05/0.008576, allocations: 19.84 kB / 0.6249 GB, free: 7.27 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.129e-05/0.008617, allocations: 21.7 kB / 0.6249 GB, free: 7.242 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.131e-05/0.008698, allocations: 322.8 kB / 0.6252 GB, free: 6.918 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.008851, allocations: 71.92 kB / 0.6253 GB, free: 6.848 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001567/0.009007, allocations: 94.5 kB / 0.6254 GB, free: 6.746 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002968/0.009304, allocations: 166.7 kB / 0.6255 GB, free: 6.574 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.009306, allocations: 3.938 kB / 0.6255 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.000361/0.009667, allocations: 209.4 kB / 0.6257 GB, free: 6.359 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.377e-05/0.009681, allocations: 8 kB / 0.6258 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.009686, allocations: 0 / 0.6258 GB, free: 6.352 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.372e-05/0.0097, allocations: 3.938 kB / 0.6258 GB, free: 6.348 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001338/0.009833, allocations: 35.95 kB / 0.6258 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.13e-06/0.009838, allocations: 0 / 0.6258 GB, free: 6.312 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.429e-05/0.009923, allocations: 19.97 kB / 0.6258 GB, free: 6.293 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.228e-05/0.009935, allocations: 11.98 kB / 0.6258 GB, free: 6.281 MB / 0.5886 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (8): * Single equations (assignments): 8 * 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 7.883e-05/0.01001, allocations: 118.8 kB / 0.6259 GB, free: 6.156 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.496e-05/0.01004, allocations: 11.95 kB / 0.6259 GB, free: 6.145 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003902/0.01043, allocations: 206.2 kB / 0.6261 GB, free: 5.934 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/0.01043, allocations: 3.938 kB / 0.6261 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01044, allocations: 0 / 0.6261 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.705e-06/0.01044, allocations: 0 / 0.6261 GB, free: 5.93 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001472/0.01059, allocations: 162.2 kB / 0.6263 GB, free: 5.742 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.01059, allocations: 3.938 kB / 0.6263 GB, free: 5.738 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.478e-05/0.01068, allocations: 35.95 kB / 0.6263 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01068, allocations: 0 / 0.6263 GB, free: 5.703 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.154e-05/0.0107, allocations: 7.922 kB / 0.6263 GB, free: 5.695 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.0107, allocations: 4 kB / 0.6264 GB, free: 5.691 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.0107, allocations: 3.938 kB / 0.6264 GB, free: 5.688 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003625/0.01106, allocations: 291.4 kB / 0.6266 GB, free: 5.387 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 1.083e-05/0.01107, allocations: 7.891 kB / 0.6266 GB, free: 5.379 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.01109, allocations: 4 kB / 0.6266 GB, free: 5.375 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001306/0.01122, allocations: 35.95 kB / 0.6267 GB, free: 5.34 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.434e-05/0.01125, allocations: 11.91 kB / 0.6267 GB, free: 5.328 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.206e-05/0.01127, allocations: 7.984 kB / 0.6267 GB, free: 5.32 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 5.402e-05/0.01132, allocations: 103.3 kB / 0.6268 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of sort global known variables: time 5.1e-08/0.01132, allocations: 0 / 0.6268 GB, free: 5.219 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001828/0.0115, allocations: 27.95 kB / 0.6268 GB, free: 5.191 MB / 0.5886 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 (6): * Single equations (assignments): 6 * 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 9.178e-05/0.01159, allocations: 95.25 kB / 0.6269 GB, free: 5.09 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003483/0.01194, allocations: 163.8 kB / 0.6271 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.452e-06/0.01194, allocations: 0 / 0.6271 GB, free: 4.93 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001505/0.01209, allocations: 80.03 kB / 0.6271 GB, free: 4.852 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002091/0.0123, allocations: 16 kB / 0.6272 GB, free: 4.836 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004406/0.01274, allocations: 290.7 kB / 0.6274 GB, free: 4.523 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.681e-05/0.0128, allocations: 89.31 kB / 0.6275 GB, free: 4.418 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.026e-05/0.01286, allocations: 16.48 kB / 0.6275 GB, free: 4.398 MB / 0.5886 GB Notification: Performance of SimCode: time 4e-07/0.01286, allocations: 4 kB / 0.6275 GB, free: 4.395 MB / 0.5886 GB Notification: Performance of Templates: time 0.002296/0.01516, allocations: 1.686 MB / 0.6292 GB, free: 2.715 MB / 0.5886 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 4.9416108736768365] Failed to read output from testmodel.py, exit status != 0: 0.020507458597421646 0.028577886 0.022349716000000002 Calling exit ...