Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001824/0.001824, allocations: 81.61 kB / 19.18 MB, free: 2.531 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.002371/0.002371, allocations: 167.7 kB / 22.46 MB, free: 5.355 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.491/1.491, allocations: 177.1 MB / 202.8 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686: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/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 1.222/1.222, allocations: 154.6 MB / 413.8 MB, free: 5.23 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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/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 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Utilities.Math.Examples.SmoothBlocks") translateModel(IDEAS.Utilities.Math.Examples.SmoothBlocks,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6186 GB, free: 4.555 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.856e-05/3.011e-05, allocations: 8.422 kB / 0.6186 GB, free: 4.551 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Utilities.Math.Examples.SmoothBlocks): time 0.003079/0.003109, allocations: 1.755 MB / 0.6203 GB, free: 2.793 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001385/0.004494, allocations: 0.7103 MB / 0.621 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.788e-05/0.004562, allocations: 0 / 0.621 GB, free: 2.078 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 4.007e-05/0.004602, allocations: 7.875 kB / 0.621 GB, free: 2.07 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 8.953e-05/0.004692, allocations: 27.72 kB / 0.621 GB, free: 2.043 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006315/0.005323, allocations: 178.8 kB / 0.6212 GB, free: 1.871 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001943/0.005518, allocations: 127.6 kB / 0.6213 GB, free: 1.746 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001514/0.005669, allocations: 49.48 kB / 0.6214 GB, free: 1.691 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002014/0.00587, allocations: 83.86 kB / 0.6215 GB, free: 1.609 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.775e-05/0.005948, allocations: 31.89 kB / 0.6215 GB, free: 1.578 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.095e-05/0.005979, allocations: 12 kB / 0.6215 GB, free: 1.566 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001173/0.006096, allocations: 51.89 kB / 0.6215 GB, free: 1.516 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 4.453e-05/0.006141, allocations: 39.84 kB / 0.6216 GB, free: 1.477 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.757e-05/0.006208, allocations: 35.89 kB / 0.6216 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002679/0.006476, allocations: 171.4 kB / 0.6218 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.00648, allocations: 0 / 0.6218 GB, free: 1.273 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.272e-06/0.006482, allocations: 4 kB / 0.6218 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.006486, allocations: 0 / 0.6218 GB, free: 1.27 MB / 0.5294 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.0006403/0.007126, allocations: 369.6 kB / 0.6221 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.601e-05/0.007162, allocations: 12.02 kB / 0.6222 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00105/0.008212, allocations: 136.6 kB / 0.6223 GB, free: 0.7344 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003008/0.008513, allocations: 156.2 kB / 0.6224 GB, free: 0.5586 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.008647, allocations: 111.4 kB / 0.6225 GB, free: 436 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.008675, allocations: 12.38 kB / 0.6225 GB, free: 424 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005907/0.009266, allocations: 219.5 kB / 0.6228 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.062e-05/0.009276, allocations: 0 / 0.6228 GB, free: 188 kB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.601e-05/0.009302, allocations: 7.984 kB / 0.6228 GB, free: 180 kB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.009309, allocations: 4 kB / 0.6228 GB, free: 176 kB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000658/0.009967, allocations: 155.8 kB / 0.6229 GB, free: 20 kB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001139/0.01111, allocations: 405.4 kB / 0.6233 GB, free: 15.59 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/0.01218, allocations: 214.3 kB / 0.6235 GB, free: 15.38 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003175/0.01249, allocations: 80.89 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.025e-05/0.01252, allocations: 8 kB / 0.6236 GB, free: 15.29 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.772e-05/0.01257, allocations: 34.56 kB / 0.6236 GB, free: 15.24 MB / 0.545 GB Notification: Performance of pre-optimization done (n=6): time 1.302e-06/0.01257, allocations: 0 / 0.6236 GB, free: 15.24 MB / 0.545 GB Notification: Performance of matching and sorting (n=6): time 0.001115/0.01369, allocations: 261.4 kB / 0.6239 GB, free: 14.98 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.229e-05/0.01375, allocations: 55.34 kB / 0.6239 GB, free: 14.91 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.0139, allocations: 144.1 kB / 0.6241 GB, free: 14.76 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.01393, allocations: 25.7 kB / 0.6241 GB, free: 14.73 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 9.241e-05/0.01402, allocations: 112.2 kB / 0.6242 GB, free: 14.62 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.323e-05/0.01405, allocations: 27.72 kB / 0.6242 GB, free: 14.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.366e-05/0.01412, allocations: 25.7 kB / 0.6242 GB, free: 14.56 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001715/0.01429, allocations: 318.8 kB / 0.6246 GB, free: 14.24 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003386/0.01463, allocations: 83.84 kB / 0.6246 GB, free: 14.16 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003322/0.01496, allocations: 90.5 kB / 0.6247 GB, free: 14.06 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006473/0.01561, allocations: 166.4 kB / 0.6249 GB, free: 13.89 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.01561, allocations: 0 / 0.6249 GB, free: 13.89 MB / 0.545 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0007124/0.01632, allocations: 201.8 kB / 0.6251 GB, free: 13.68 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.903e-05/0.01634, allocations: 8 kB / 0.6251 GB, free: 13.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.572e-05/0.01636, allocations: 4 kB / 0.6251 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.125e-05/0.01638, allocations: 3.938 kB / 0.6251 GB, free: 13.67 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/0.01667, allocations: 39.94 kB / 0.6251 GB, free: 13.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.01668, allocations: 4 kB / 0.6251 GB, free: 13.62 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001968/0.01687, allocations: 23.97 kB / 0.6251 GB, free: 13.6 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.765e-05/0.01689, allocations: 4 kB / 0.6252 GB, free: 13.6 MB / 0.545 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 0.000128/0.01702, allocations: 123.7 kB / 0.6253 GB, free: 13.47 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.422e-05/0.01706, allocations: 7.953 kB / 0.6253 GB, free: 13.46 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007962/0.01786, allocations: 202.2 kB / 0.6255 GB, free: 13.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.194e-06/0.01787, allocations: 11.94 kB / 0.6255 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.01787, allocations: 0 / 0.6255 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.01788, allocations: 0 / 0.6255 GB, free: 13.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002339/0.01811, allocations: 158.2 kB / 0.6256 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.01811, allocations: 0 / 0.6256 GB, free: 13.06 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002272/0.01834, allocations: 31.95 kB / 0.6257 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.01834, allocations: 0 / 0.6257 GB, free: 13.03 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.459e-05/0.01836, allocations: 4 kB / 0.6257 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.196e-06/0.01836, allocations: 3.984 kB / 0.6257 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.685e-06/0.01836, allocations: 3.938 kB / 0.6257 GB, free: 13.02 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007303/0.01909, allocations: 283.3 kB / 0.6259 GB, free: 12.72 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 1.766e-05/0.01911, allocations: 15.88 kB / 0.626 GB, free: 12.71 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.636e-05/0.01914, allocations: 4 kB / 0.626 GB, free: 12.7 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003061/0.01944, allocations: 31.95 kB / 0.626 GB, free: 12.67 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.01949, allocations: 15.91 kB / 0.626 GB, free: 12.66 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.929e-05/0.01951, allocations: 4 kB / 0.626 GB, free: 12.65 MB / 0.545 GB Notification: Performance of sorting global known variables: time 8.813e-05/0.0196, allocations: 111.9 kB / 0.6261 GB, free: 12.54 MB / 0.545 GB Notification: Performance of sort global known variables: time 8e-08/0.0196, allocations: 0 / 0.6261 GB, free: 12.54 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002624/0.01986, allocations: 27.95 kB / 0.6261 GB, free: 12.52 MB / 0.545 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 0.0001451/0.02, allocations: 91.25 kB / 0.6262 GB, free: 12.42 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0007908/0.02079, allocations: 167.9 kB / 0.6264 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.0208, allocations: 0 / 0.6264 GB, free: 12.25 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000324/0.02112, allocations: 76.03 kB / 0.6265 GB, free: 12.18 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002948/0.02142, allocations: 12.25 kB / 0.6265 GB, free: 12.17 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007413/0.02216, allocations: 277.5 kB / 0.6267 GB, free: 11.87 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.503e-05/0.02225, allocations: 89.17 kB / 0.6268 GB, free: 11.77 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.672e-05/0.02234, allocations: 16 kB / 0.6268 GB, free: 11.75 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.226e-05/0.02241, allocations: 12.5 kB / 0.6269 GB, free: 11.74 MB / 0.545 GB Notification: Performance of SimCode: time 4.41e-07/0.02241, allocations: 0 / 0.6269 GB, free: 11.74 MB / 0.545 GB Notification: Performance of Templates: time 0.005194/0.02761, allocations: 1.533 MB / 0.6284 GB, free: 10.25 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; mkfifo IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe ; head -c 1048576 < IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe >> ../files/IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.sim & ./IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Utilities.Math.Examples.SmoothBlocks.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.852097105234861] Failed to read output from testmodel.py, exit status != 0: 0.03669977933168411 0.057900561 0.046657894000000005 Calling exit ...