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.0009577/0.0009577, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.000967/0.000967, allocations: 173 kB / 23.5 MB, free: 1.055 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.96/0.96, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.8119/0.8119, allocations: 154.6 MB / 414.9 MB, free: 0.6484 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 2.214e-06/2.214e-06, allocations: 0 / 0.5203 GB, free: 2.496 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.783e-05/2.005e-05, allocations: 3.781 kB / 0.5203 GB, free: 2.492 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.006551/0.006571, allocations: 4.681 MB / 0.5249 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001115/0.007686, allocations: 0.8422 MB / 0.5257 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.564e-05/0.007762, allocations: 4 kB / 0.5257 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0001807/0.007943, allocations: 20.47 kB / 0.5258 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 6.38e-05/0.008006, allocations: 41.45 kB / 0.5258 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006091/0.008616, allocations: 173 kB / 0.526 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.0002132/0.008829, allocations: 175.3 kB / 0.5261 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 9.626e-05/0.008925, allocations: 22.61 kB / 0.5262 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002186/0.009144, allocations: 115.7 kB / 0.5263 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 9.871e-05/0.009242, allocations: 63.8 kB / 0.5263 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 2.671e-05/0.009269, allocations: 12 kB / 0.5263 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003035/0.009572, allocations: 141 kB / 0.5265 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 3.482e-05/0.009607, allocations: 27.91 kB / 0.5265 GB, free: 12.2 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 6.234e-05/0.00967, allocations: 48.42 kB / 0.5266 GB, free: 12.15 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0003696/0.01004, allocations: 219.3 kB / 0.5268 GB, free: 11.94 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 3.928e-06/0.01004, allocations: 5.438 kB / 0.5268 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of FrontEnd: time 8.71e-07/0.01004, allocations: 0 / 0.5268 GB, free: 11.93 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 4.93e-06/0.01005, allocations: 0 / 0.5268 GB, free: 11.93 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.0007748/0.01082, allocations: 494.3 kB / 0.5272 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.01087, allocations: 12.03 kB / 0.5272 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.135e-05/0.01094, allocations: 20.84 kB / 0.5273 GB, free: 11.39 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001222/0.01106, allocations: 131.2 kB / 0.5274 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.683e-05/0.01108, allocations: 8.375 kB / 0.5274 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.701e-05/0.01111, allocations: 16.31 kB / 0.5274 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002348/0.01134, allocations: 96.31 kB / 0.5275 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/0.01135, allocations: 4.125 kB / 0.5275 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.805e-05/0.01137, allocations: 8.125 kB / 0.5275 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.077e-05/0.01138, allocations: 4 kB / 0.5275 GB, free: 11.09 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001469/0.01153, allocations: 53.06 kB / 0.5276 GB, free: 11.04 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.0124, allocations: 426.4 kB / 0.528 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001937/0.0126, allocations: 86.97 kB / 0.5281 GB, free: 10.5 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.989e-05/0.01268, allocations: 41.36 kB / 0.5281 GB, free: 10.45 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009327/0.01361, allocations: 0.5476 MB / 0.5286 GB, free: 9.895 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.249e-05/0.01364, allocations: 41.39 kB / 0.5287 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.563e-06/0.01364, allocations: 0 / 0.5287 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0003212/0.01396, allocations: 113.5 kB / 0.5288 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.894e-05/0.014, allocations: 52.59 kB / 0.5288 GB, free: 9.664 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001842/0.01419, allocations: 219.4 kB / 0.529 GB, free: 9.434 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/0.01421, allocations: 29.7 kB / 0.5291 GB, free: 9.398 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 9.649e-05/0.01431, allocations: 152.5 kB / 0.5292 GB, free: 9.242 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 3.847e-05/0.01434, allocations: 51.58 kB / 0.5293 GB, free: 9.191 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.385e-05/0.01443, allocations: 51.36 kB / 0.5293 GB, free: 9.133 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001937/0.01462, allocations: 0.5 MB / 0.5298 GB, free: 8.621 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.635e-05/0.01471, allocations: 32.91 kB / 0.5298 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001157/0.01482, allocations: 74.72 kB / 0.5299 GB, free: 8.5 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001783/0.015, allocations: 114.6 kB / 0.53 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.976e-06/0.015, allocations: 0 / 0.53 GB, free: 8.379 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003119/0.01532, allocations: 161.4 kB / 0.5302 GB, free: 8.215 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.01533, allocations: 8 kB / 0.5302 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.4e-06/0.01534, allocations: 0 / 0.5302 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.01536, allocations: 0 / 0.5302 GB, free: 8.207 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002109/0.01557, allocations: 47.97 kB / 0.5302 GB, free: 8.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.165e-06/0.01557, allocations: 3.938 kB / 0.5302 GB, free: 8.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000102/0.01568, allocations: 38.92 kB / 0.5303 GB, free: 8.121 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.52e-05/0.0157, allocations: 8 kB / 0.5303 GB, free: 8.113 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 9.178e-05/0.01579, allocations: 160.6 kB / 0.5304 GB, free: 7.945 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.993e-05/0.01583, allocations: 15.95 kB / 0.5304 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002168/0.01605, allocations: 110.9 kB / 0.5305 GB, free: 7.816 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.34e-06/0.01606, allocations: 4 kB / 0.5306 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.007e-06/0.01606, allocations: 0 / 0.5306 GB, free: 7.812 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.27e-06/0.01606, allocations: 7.266 kB / 0.5306 GB, free: 7.809 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001814/0.01625, allocations: 160.4 kB / 0.5307 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.01625, allocations: 0 / 0.5307 GB, free: 7.617 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001001/0.01635, allocations: 27.98 kB / 0.5307 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.01635, allocations: 0 / 0.5307 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.012e-05/0.01636, allocations: 0 / 0.5307 GB, free: 7.59 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.01636, allocations: 4 kB / 0.5307 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.01636, allocations: 0 / 0.5307 GB, free: 7.586 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.01658, allocations: 254 kB / 0.531 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 4.129e-05/0.01662, allocations: 23.69 kB / 0.531 GB, free: 7.301 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.1e-05/0.01665, allocations: 4 kB / 0.531 GB, free: 7.297 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.851e-05/0.01673, allocations: 11.98 kB / 0.531 GB, free: 7.285 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.157e-05/0.01679, allocations: 11.98 kB / 0.531 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.01679, allocations: 0 / 0.531 GB, free: 7.273 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 8.714e-05/0.01688, allocations: 157.3 kB / 0.5312 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01688, allocations: 0 / 0.5312 GB, free: 7.121 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003611/0.01724, allocations: 67.8 kB / 0.5312 GB, free: 7.055 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.0002699/0.01751, allocations: 156.6 kB / 0.5314 GB, free: 6.895 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0002391/0.01775, allocations: 114.8 kB / 0.5315 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.01775, allocations: 0 / 0.5315 GB, free: 6.785 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 6.925e-05/0.01782, allocations: 40.3 kB / 0.5315 GB, free: 6.742 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003377/0.01816, allocations: 27.23 kB / 0.5316 GB, free: 6.719 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006827/0.01884, allocations: 249.6 kB / 0.5318 GB, free: 6.449 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.978e-05/0.01889, allocations: 63.84 kB / 0.5319 GB, free: 6.367 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 8.714e-05/0.01898, allocations: 18.59 kB / 0.5319 GB, free: 6.355 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.546e-05/0.01903, allocations: 22.78 kB / 0.5319 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of SimCode: time 6.31e-07/0.01903, allocations: 0 / 0.5319 GB, free: 6.336 MB / 0.4948 GB Notification: Performance of Templates: time 0.005894/0.02493, allocations: 2.851 MB / 0.5347 GB, free: 3.668 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.8304646380711347]