Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.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.001708/0.001708, allocations: 80.36 kB / 19.18 MB, free: 2.527 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.001429/0.001429, allocations: 171.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.427/1.427, 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 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.179/1.179, allocations: 154.6 MB / 413.7 MB, free: 5.309 MB / 382.1 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 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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.603e-06/1.603e-06, allocations: 0 / 0.6185 GB, free: 4.641 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.205e-05/3.365e-05, allocations: 2.281 kB / 0.6185 GB, free: 4.637 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006321/0.006355, allocations: 4.387 MB / 0.6228 GB, free: 236 kB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.001144/0.007498, allocations: 0.7593 MB / 0.6236 GB, free: 15.47 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.637e-05/0.007585, allocations: 4 kB / 0.6236 GB, free: 15.46 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.000172/0.007757, allocations: 27.78 kB / 0.6236 GB, free: 15.44 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.007823, allocations: 31.7 kB / 0.6236 GB, free: 15.41 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005502/0.008374, allocations: 179.2 kB / 0.6238 GB, free: 15.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0002069/0.008581, allocations: 191.2 kB / 0.624 GB, free: 15.04 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 8.689e-05/0.008668, allocations: 13.3 kB / 0.624 GB, free: 15.03 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00022/0.008887, allocations: 107.8 kB / 0.6241 GB, free: 14.93 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001103/0.008998, allocations: 67.78 kB / 0.6242 GB, free: 14.86 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 2.896e-05/0.009027, allocations: 12 kB / 0.6242 GB, free: 14.85 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003112/0.009338, allocations: 143.7 kB / 0.6243 GB, free: 14.71 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 3.946e-05/0.009377, allocations: 35.89 kB / 0.6243 GB, free: 14.67 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.501e-05/0.009442, allocations: 43.91 kB / 0.6244 GB, free: 14.63 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0004093/0.009852, allocations: 263.2 kB / 0.6246 GB, free: 14.37 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.009858, allocations: 4 kB / 0.6246 GB, free: 14.37 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.222e-06/0.009859, allocations: 0 / 0.6246 GB, free: 14.37 MB / 0.545 GB Notification: Performance of Transformations before backend: time 6.713e-06/0.009866, allocations: 0 / 0.6246 GB, free: 14.37 MB / 0.545 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.0008736/0.01074, allocations: 409.4 kB / 0.625 GB, free: 13.94 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.01078, allocations: 9.469 kB / 0.625 GB, free: 13.93 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.584e-05/0.01083, allocations: 16.84 kB / 0.625 GB, free: 13.91 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001346/0.01097, allocations: 125.6 kB / 0.6252 GB, free: 13.77 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.756e-05/0.01098, allocations: 8.375 kB / 0.6252 GB, free: 13.76 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.438e-05/0.01101, allocations: 16.31 kB / 0.6252 GB, free: 13.74 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000347/0.01135, allocations: 118.2 kB / 0.6253 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.808e-06/0.01136, allocations: 192 / 0.6253 GB, free: 13.62 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.01138, allocations: 8.062 kB / 0.6253 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.01139, allocations: 4 kB / 0.6253 GB, free: 13.61 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004346/0.01182, allocations: 147.9 kB / 0.6255 GB, free: 13.46 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009463/0.01277, allocations: 380.3 kB / 0.6258 GB, free: 13.06 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002982/0.01306, allocations: 114.5 kB / 0.6259 GB, free: 12.94 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002036/0.01327, allocations: 68.75 kB / 0.626 GB, free: 12.87 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001163/0.01443, allocations: 472.1 kB / 0.6264 GB, free: 12.39 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.754e-05/0.01446, allocations: 30.56 kB / 0.6265 GB, free: 12.35 MB / 0.545 GB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.01446, allocations: 0 / 0.6265 GB, free: 12.35 MB / 0.545 GB Notification: Performance of matching and sorting (n=12): time 0.0007062/0.01517, allocations: 217.3 kB / 0.6267 GB, free: 12.13 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.94e-05/0.01523, allocations: 55.41 kB / 0.6267 GB, free: 12.07 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001668/0.01539, allocations: 169.3 kB / 0.6269 GB, free: 11.89 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 2.441e-05/0.01542, allocations: 29.7 kB / 0.6269 GB, free: 11.86 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 7.802e-05/0.0155, allocations: 104.5 kB / 0.627 GB, free: 11.75 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.694e-05/0.01553, allocations: 39.64 kB / 0.6271 GB, free: 11.71 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.123e-05/0.01561, allocations: 49.7 kB / 0.6271 GB, free: 11.65 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.01575, allocations: 326.8 kB / 0.6274 GB, free: 11.32 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002349/0.01599, allocations: 75.94 kB / 0.6275 GB, free: 11.25 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002681/0.01626, allocations: 115.4 kB / 0.6276 GB, free: 11.12 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004517/0.01671, allocations: 170.4 kB / 0.6278 GB, free: 10.95 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.01671, allocations: 0 / 0.6278 GB, free: 10.95 MB / 0.545 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.000606/0.01732, allocations: 249.2 kB / 0.628 GB, free: 10.7 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.01733, allocations: 8 kB / 0.628 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.01734, allocations: 3.984 kB / 0.628 GB, free: 10.69 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.01736, allocations: 4 kB / 0.628 GB, free: 10.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002735/0.01763, allocations: 51.91 kB / 0.6281 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.01764, allocations: 0 / 0.6281 GB, free: 10.63 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.0178, allocations: 43.83 kB / 0.6281 GB, free: 10.59 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.01783, allocations: 12 kB / 0.6281 GB, free: 10.58 MB / 0.545 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (26): * Single equations (assignments): 26 * 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.0001148/0.01795, allocations: 122.8 kB / 0.6282 GB, free: 10.45 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.745e-05/0.01798, allocations: 11.91 kB / 0.6283 GB, free: 10.44 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005181/0.0185, allocations: 178.9 kB / 0.6284 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.01851, allocations: 0 / 0.6284 GB, free: 10.26 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.838e-06/0.01851, allocations: 4 kB / 0.6284 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.651e-06/0.01851, allocations: 4 kB / 0.6284 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002058/0.01872, allocations: 149.2 kB / 0.6286 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.01872, allocations: 3.984 kB / 0.6286 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001607/0.01888, allocations: 27.98 kB / 0.6286 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01889, allocations: 0 / 0.6286 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.189e-05/0.0189, allocations: 4 kB / 0.6286 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.0189, allocations: 0 / 0.6286 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.0189, allocations: 0 / 0.6286 GB, free: 10.04 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005208/0.01942, allocations: 274.7 kB / 0.6289 GB, free: 9.758 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.325e-05/0.01947, allocations: 27.81 kB / 0.6289 GB, free: 9.73 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.0195, allocations: 4 kB / 0.6289 GB, free: 9.727 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001415/0.01964, allocations: 15.98 kB / 0.6289 GB, free: 9.711 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.446e-05/0.01969, allocations: 7.984 kB / 0.6289 GB, free: 9.703 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.0197, allocations: 7.984 kB / 0.6289 GB, free: 9.695 MB / 0.545 GB Notification: Performance of sorting global known variables: time 9.23e-05/0.01979, allocations: 116.9 kB / 0.629 GB, free: 9.582 MB / 0.545 GB Notification: Performance of sort global known variables: time 7e-08/0.01979, allocations: 0 / 0.629 GB, free: 9.582 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0003385/0.02013, allocations: 67.86 kB / 0.6291 GB, free: 9.516 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 (12): * Single equations (assignments): 12 * 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.0002831/0.02041, allocations: 157.6 kB / 0.6293 GB, free: 9.355 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.000513/0.02093, allocations: 163.8 kB / 0.6294 GB, free: 9.195 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.413e-06/0.02093, allocations: 0 / 0.6294 GB, free: 9.195 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.000204/0.02113, allocations: 63.89 kB / 0.6295 GB, free: 9.133 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/0.02149, allocations: 34.3 kB / 0.6295 GB, free: 9.102 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004703/0.02196, allocations: 242.2 kB / 0.6297 GB, free: 8.84 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.372e-05/0.02204, allocations: 93.67 kB / 0.6298 GB, free: 8.73 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 8.225e-05/0.02213, allocations: 20.31 kB / 0.6298 GB, free: 8.715 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.556e-05/0.02218, allocations: 16.5 kB / 0.6299 GB, free: 8.695 MB / 0.545 GB Notification: Performance of SimCode: time 4.71e-07/0.02218, allocations: 0 / 0.6299 GB, free: 8.695 MB / 0.545 GB Notification: Performance of Templates: time 0.006454/0.02864, allocations: 2.815 MB / 0.6326 GB, free: 5.941 MB / 0.545 GB " [Timeout remaining time 660] make -j1 -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.737626299262047] Failed to read output from testmodel.py, exit status != 0: 0.036676082760095596 0.05067781399999994 0.03784609599999994 Calling exit ...