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.001432/0.001432, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.001633/0.001633, allocations: 157.7 kB / 22.75 MB, free: 1.684 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 1.45/1.45, allocations: 177.1 MB / 203.1 MB, free: 5.602 MB / 186.7 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-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 1.197/1.197, allocations: 154.6 MB / 414.2 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 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.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.986e-06/2.986e-06, allocations: 0 / 0.5196 GB, free: 2.539 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.878e-05/5.177e-05, allocations: 7.219 kB / 0.5196 GB, free: 2.531 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.008681/0.008733, allocations: 4.381 MB / 0.5239 GB, free: 14.16 MB / 0.4948 GB Notification: Performance of NFInst.instExpressions: time 0.001388/0.01012, allocations: 0.7596 MB / 0.5247 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.263e-05/0.01021, allocations: 0 / 0.5247 GB, free: 13.4 MB / 0.4948 GB Notification: Performance of NFTyping.typeComponents: time 0.0002286/0.01044, allocations: 27.72 kB / 0.5247 GB, free: 13.37 MB / 0.4948 GB Notification: Performance of NFTyping.typeBindings: time 0.0001043/0.01055, allocations: 32.95 kB / 0.5247 GB, free: 13.34 MB / 0.4948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007433/0.01129, allocations: 186 kB / 0.5249 GB, free: 13.16 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.000283/0.01157, allocations: 183.3 kB / 0.5251 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001002/0.01167, allocations: 9.906 kB / 0.5251 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002907/0.01196, allocations: 107.8 kB / 0.5252 GB, free: 12.86 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001281/0.01209, allocations: 60.91 kB / 0.5252 GB, free: 12.8 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 3.499e-05/0.01213, allocations: 16 kB / 0.5253 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003905/0.01252, allocations: 144.1 kB / 0.5254 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of NFScalarize.scalarize: time 4.828e-05/0.01257, allocations: 32.92 kB / 0.5254 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of NFVerifyModel.verify: time 8.817e-05/0.01265, allocations: 51.89 kB / 0.5255 GB, free: 12.57 MB / 0.4948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005298/0.01318, allocations: 255.2 kB / 0.5257 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 4.849e-06/0.01319, allocations: 1.219 kB / 0.5257 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of FrontEnd: time 1.633e-06/0.01319, allocations: 0 / 0.5257 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.287e-06/0.0132, allocations: 0 / 0.5257 GB, free: 12.32 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.001066/0.01427, allocations: 404.4 kB / 0.5261 GB, free: 11.89 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.138e-05/0.01431, allocations: 11.97 kB / 0.5261 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.241e-05/0.0144, allocations: 24.84 kB / 0.5261 GB, free: 11.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001606/0.01456, allocations: 130.7 kB / 0.5263 GB, free: 11.71 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.098e-05/0.01458, allocations: 8.375 kB / 0.5263 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.201e-05/0.01461, allocations: 12.38 kB / 0.5263 GB, free: 11.69 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003815/0.01499, allocations: 116.2 kB / 0.5264 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.01501, allocations: 192 / 0.5264 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.856e-05/0.01502, allocations: 4.125 kB / 0.5264 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.501e-06/0.01503, allocations: 0.5938 kB / 0.5264 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004888/0.01552, allocations: 149 kB / 0.5265 GB, free: 11.42 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001113/0.01663, allocations: 389.4 kB / 0.5269 GB, free: 11.02 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003407/0.01697, allocations: 118.5 kB / 0.527 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002274/0.0172, allocations: 64.75 kB / 0.5271 GB, free: 10.82 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001351/0.01855, allocations: 483.1 kB / 0.5276 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.917e-05/0.01859, allocations: 34.56 kB / 0.5276 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=12): time 1.333e-06/0.01859, allocations: 0 / 0.5276 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of matching and sorting (n=12): time 0.0007936/0.01938, allocations: 213.1 kB / 0.5278 GB, free: 10.09 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/0.01943, allocations: 51.41 kB / 0.5278 GB, free: 10.03 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002/0.01963, allocations: 173.2 kB / 0.528 GB, free: 9.844 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 3.336e-05/0.01967, allocations: 33.69 kB / 0.528 GB, free: 9.805 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002283/0.0199, allocations: 104.5 kB / 0.5281 GB, free: 9.699 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 4.224e-05/0.01994, allocations: 40.52 kB / 0.5282 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001207/0.02006, allocations: 49.7 kB / 0.5282 GB, free: 9.605 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001871/0.02025, allocations: 330.8 kB / 0.5285 GB, free: 9.273 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002543/0.0205, allocations: 73.34 kB / 0.5286 GB, free: 9.203 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002936/0.02079, allocations: 116.8 kB / 0.5287 GB, free: 9.078 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004901/0.02128, allocations: 169.2 kB / 0.5289 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.02129, allocations: 0 / 0.5289 GB, free: 8.906 MB / 0.4948 GB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0006887/0.02197, allocations: 255.7 kB / 0.5291 GB, free: 8.652 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.02199, allocations: 6.188 kB / 0.5291 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.022, allocations: 0 / 0.5291 GB, free: 8.648 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.02202, allocations: 5.312 kB / 0.5291 GB, free: 8.645 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003014/0.02232, allocations: 51.91 kB / 0.5292 GB, free: 8.594 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.808e-06/0.02233, allocations: 5.281 kB / 0.5292 GB, free: 8.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.02252, allocations: 39.69 kB / 0.5292 GB, free: 8.551 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.132e-05/0.02255, allocations: 12 kB / 0.5292 GB, free: 8.539 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 0.0001256/0.02268, allocations: 122.3 kB / 0.5294 GB, free: 8.41 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.02273, allocations: 12.64 kB / 0.5294 GB, free: 8.398 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005692/0.0233, allocations: 176.9 kB / 0.5295 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.0233, allocations: 0 / 0.5295 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.0233, allocations: 0.5 kB / 0.5295 GB, free: 8.223 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.02331, allocations: 4.469 kB / 0.5295 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002397/0.02355, allocations: 162 kB / 0.5297 GB, free: 8.031 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.998e-06/0.02355, allocations: 4 kB / 0.5297 GB, free: 8.027 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001782/0.02373, allocations: 32.97 kB / 0.5297 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/0.02373, allocations: 0 / 0.5297 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.02374, allocations: 0 / 0.5297 GB, free: 7.996 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.831e-06/0.02375, allocations: 6.609 kB / 0.5297 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.02375, allocations: 0 / 0.5297 GB, free: 7.992 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00056/0.02431, allocations: 270 kB / 0.53 GB, free: 7.715 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.961e-05/0.02437, allocations: 27.88 kB / 0.53 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.289e-05/0.02439, allocations: 2.062 kB / 0.53 GB, free: 7.688 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001554/0.02455, allocations: 15.98 kB / 0.53 GB, free: 7.672 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.797e-05/0.02461, allocations: 7.984 kB / 0.53 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.846e-06/0.02462, allocations: 0 / 0.53 GB, free: 7.664 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.0001139/0.02473, allocations: 122 kB / 0.5302 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of sort global known variables: time 8e-08/0.02473, allocations: 0 / 0.5302 GB, free: 7.547 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.0003975/0.02513, allocations: 64.77 kB / 0.5302 GB, free: 7.484 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.0003704/0.0255, allocations: 158 kB / 0.5304 GB, free: 7.32 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.0005781/0.02608, allocations: 165.5 kB / 0.5305 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.02608, allocations: 0 / 0.5305 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00022/0.0263, allocations: 67.2 kB / 0.5306 GB, free: 7.102 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.02672, allocations: 19.98 kB / 0.5306 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005984/0.02732, allocations: 249 kB / 0.5309 GB, free: 6.816 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001069/0.02743, allocations: 93.03 kB / 0.5309 GB, free: 6.711 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0001128/0.02754, allocations: 25.78 kB / 0.531 GB, free: 6.688 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.664e-05/0.02761, allocations: 16.5 kB / 0.531 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of SimCode: time 5.51e-07/0.02761, allocations: 0 / 0.531 GB, free: 6.672 MB / 0.4948 GB Notification: Performance of Templates: time 0.00765/0.03526, allocations: 2.857 MB / 0.5338 GB, free: 3.984 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=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.911782765062526]