Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0008784/0.0008784, allocations: 85.17 kB / 19.87 MB, free: 4.617 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.001415/0.001415, allocations: 169 kB / 23.27 MB, free: 1.223 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.9431/0.9431, allocations: 177.2 MB / 203.7 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] 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-545:108: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-545:116: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 0.7645/0.7645, allocations: 154.6 MB / 414.8 MB, free: 0.5312 MB / 378.7 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 179] 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.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") translateModel(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.5208 GB, free: 1.863 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.775e-05/1.938e-05, allocations: 5.25 kB / 0.5208 GB, free: 1.859 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.008134/0.008153, allocations: 4.653 MB / 0.5253 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.01011, allocations: 0.8328 MB / 0.5261 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.053e-05/0.01017, allocations: 4.938 kB / 0.5261 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001517/0.01032, allocations: 23.78 kB / 0.5262 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 5.403e-05/0.01038, allocations: 41.05 kB / 0.5262 GB, free: 12.31 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.000452/0.01083, allocations: 177.1 kB / 0.5264 GB, free: 12.14 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0001629/0.01099, allocations: 184.6 kB / 0.5265 GB, free: 11.96 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 7.148e-05/0.01106, allocations: 13.25 kB / 0.5266 GB, free: 11.95 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001724/0.01123, allocations: 115.7 kB / 0.5267 GB, free: 11.83 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 7.93e-05/0.01131, allocations: 67 kB / 0.5267 GB, free: 11.77 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.205e-05/0.01134, allocations: 12 kB / 0.5267 GB, free: 11.76 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002354/0.01157, allocations: 139.7 kB / 0.5269 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 2.76e-05/0.0116, allocations: 31.89 kB / 0.5269 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 4.345e-05/0.01164, allocations: 47.89 kB / 0.527 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.000266/0.01191, allocations: 219.2 kB / 0.5272 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.863e-06/0.01191, allocations: 0 / 0.5272 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.021e-06/0.01191, allocations: 0 / 0.5272 GB, free: 11.33 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 3.246e-06/0.01191, allocations: 2.781 kB / 0.5272 GB, free: 11.33 MB / 0.4948 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.001392/0.01331, allocations: 0.4919 MB / 0.5276 GB, free: 10.8 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 3.41e-05/0.01334, allocations: 8.031 kB / 0.5277 GB, free: 10.79 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.546e-05/0.01339, allocations: 22.16 kB / 0.5277 GB, free: 10.77 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.892e-05/0.01347, allocations: 135.9 kB / 0.5278 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.122e-05/0.01349, allocations: 4.375 kB / 0.5278 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.799e-05/0.0135, allocations: 12.38 kB / 0.5278 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001594/0.01366, allocations: 93.41 kB / 0.5279 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.552e-06/0.01367, allocations: 192 / 0.5279 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.114e-05/0.01368, allocations: 8.125 kB / 0.5279 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.472e-06/0.01369, allocations: 4 kB / 0.5279 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.444e-05/0.01377, allocations: 45.89 kB / 0.528 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005848/0.01436, allocations: 402.5 kB / 0.5283 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.01446, allocations: 81.19 kB / 0.5284 GB, free: 9.941 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.808e-05/0.0145, allocations: 31.67 kB / 0.5285 GB, free: 9.906 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003781/0.01828, allocations: 0.5515 MB / 0.529 GB, free: 9.348 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.661e-05/0.01831, allocations: 38.95 kB / 0.529 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.532e-06/0.01831, allocations: 0 / 0.529 GB, free: 9.301 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0002111/0.01852, allocations: 101.5 kB / 0.5291 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.757e-05/0.01855, allocations: 59.41 kB / 0.5292 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001204/0.01867, allocations: 215.4 kB / 0.5294 GB, free: 8.898 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.01868, allocations: 34.98 kB / 0.5294 GB, free: 8.859 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 6.719e-05/0.01875, allocations: 155.2 kB / 0.5296 GB, free: 8.699 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.01878, allocations: 43.58 kB / 0.5296 GB, free: 8.656 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.012e-05/0.01885, allocations: 63.98 kB / 0.5297 GB, free: 8.586 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.01897, allocations: 0.4922 MB / 0.5302 GB, free: 8.082 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.192e-05/0.01902, allocations: 28.81 kB / 0.5302 GB, free: 8.055 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003097/0.01933, allocations: 70.69 kB / 0.5302 GB, free: 7.969 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001129/0.01944, allocations: 100.7 kB / 0.5303 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.01945, allocations: 0 / 0.5303 GB, free: 7.855 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0002079/0.01965, allocations: 154 kB / 0.5305 GB, free: 7.703 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.229e-05/0.01967, allocations: 4 kB / 0.5305 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.499e-06/0.01967, allocations: 0 / 0.5305 GB, free: 7.699 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.01968, allocations: 4.719 kB / 0.5305 GB, free: 7.695 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001565/0.01984, allocations: 51.91 kB / 0.5305 GB, free: 7.645 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.01984, allocations: 4.594 kB / 0.5306 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.74e-05/0.01992, allocations: 29.05 kB / 0.5306 GB, free: 7.613 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.797e-05/0.01994, allocations: 4 kB / 0.5306 GB, free: 7.609 MB / 0.4948 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 8.029e-05/0.02002, allocations: 169.4 kB / 0.5307 GB, free: 7.434 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.02005, allocations: 15.95 kB / 0.5308 GB, free: 7.418 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001526/0.0202, allocations: 105.2 kB / 0.5309 GB, free: 7.312 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/0.0202, allocations: 4.891 kB / 0.5309 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.403e-06/0.0202, allocations: 0 / 0.5309 GB, free: 7.309 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.02021, allocations: 4.484 kB / 0.5309 GB, free: 7.305 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001491/0.02036, allocations: 142.1 kB / 0.531 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.02036, allocations: 0 / 0.531 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.228e-05/0.02043, allocations: 23.98 kB / 0.531 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.02043, allocations: 1.594 kB / 0.531 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.783e-06/0.02044, allocations: 0 / 0.531 GB, free: 7.117 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.02044, allocations: 3.938 kB / 0.531 GB, free: 7.113 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.023e-06/0.02044, allocations: 4 kB / 0.531 GB, free: 7.109 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.02059, allocations: 241.2 kB / 0.5313 GB, free: 6.855 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.378e-05/0.02063, allocations: 19.94 kB / 0.5313 GB, free: 6.836 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.536e-05/0.02064, allocations: 4 kB / 0.5313 GB, free: 6.832 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.186e-05/0.02071, allocations: 7.984 kB / 0.5313 GB, free: 6.824 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.213e-05/0.02075, allocations: 13.48 kB / 0.5313 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.02075, allocations: 0 / 0.5313 GB, free: 6.812 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 6.07e-05/0.02081, allocations: 153.2 kB / 0.5315 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of sort global known variables: time 7.1e-08/0.02081, allocations: 0 / 0.5315 GB, free: 6.664 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.001303/0.02211, allocations: 69.23 kB / 0.5315 GB, free: 6.598 MB / 0.4948 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.0002051/0.02232, allocations: 156.3 kB / 0.5317 GB, free: 6.434 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0001646/0.02248, allocations: 95.75 kB / 0.5318 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.02249, allocations: 0 / 0.5318 GB, free: 6.34 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 4.799e-05/0.02253, allocations: 40.5 kB / 0.5318 GB, free: 6.301 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002703/0.0228, allocations: 29.39 kB / 0.5318 GB, free: 6.273 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004921/0.0233, allocations: 238.3 kB / 0.5321 GB, free: 6.016 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.681e-05/0.02334, allocations: 67.84 kB / 0.5321 GB, free: 5.93 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 7.204e-05/0.02342, allocations: 15.83 kB / 0.5321 GB, free: 5.918 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001026/0.02352, allocations: 98.17 kB / 0.5322 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of SimCode: time 5.41e-07/0.02352, allocations: 1.531 kB / 0.5322 GB, free: 5.82 MB / 0.4948 GB Notification: Performance of Templates: time 0.004585/0.0281, allocations: 3.108 MB / 0.5353 GB, free: 2.879 MB / 0.4948 GB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.sim & ./IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7455047369003296]