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.001108/0.001108, allocations: 80.88 kB / 19.94 MB, free: 4.551 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.00153/0.00153, allocations: 177.3 kB / 23.36 MB, free: 1.137 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.9024/0.9024, allocations: 177.1 MB / 203.8 MB, free: 5.449 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.7841/0.7841, allocations: 154.6 MB / 414.8 MB, free: 0.5039 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.825e-06/2.825e-06, allocations: 4 kB / 480 MB, free: 6.926 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.18e-05/2.463e-05, allocations: 5.109 kB / 480 MB, free: 6.922 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.00668/0.006705, allocations: 4.694 MB / 484.7 MB, free: 2.273 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.007803, allocations: 0.8341 MB / 485.5 MB, free: 1.441 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.124e-05/0.007864, allocations: 4 kB / 485.5 MB, free: 1.438 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001617/0.008026, allocations: 32.45 kB / 485.6 MB, free: 1.406 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 6.836e-05/0.008095, allocations: 40.83 kB / 485.6 MB, free: 1.367 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005437/0.008638, allocations: 173.9 kB / 485.8 MB, free: 1.199 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002022/0.00884, allocations: 187.3 kB / 486 MB, free: 1.016 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.237e-05/0.008923, allocations: 14.48 kB / 486 MB, free: 1 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004756/0.009398, allocations: 120.2 kB / 486.1 MB, free: 0.8828 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.355e-05/0.009492, allocations: 63.84 kB / 486.2 MB, free: 0.8203 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.473e-05/0.009517, allocations: 13.38 kB / 486.2 MB, free: 0.8086 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002922/0.009809, allocations: 131.8 kB / 486.3 MB, free: 0.6797 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 3.481e-05/0.009844, allocations: 31.89 kB / 486.3 MB, free: 0.6484 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 5.565e-05/0.009899, allocations: 56.73 kB / 486.4 MB, free: 0.5938 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003153/0.01021, allocations: 219.3 kB / 486.6 MB, free: 388 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.765e-06/0.01022, allocations: 0.75 kB / 486.6 MB, free: 388 kB / 442.7 MB Notification: Performance of FrontEnd: time 7.92e-07/0.01022, allocations: 0 / 486.6 MB, free: 388 kB / 442.7 MB Notification: Performance of Transformations before backend: time 3.988e-06/0.01022, allocations: 0.625 kB / 486.6 MB, free: 388 kB / 442.7 MB 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.0005998/0.01082, allocations: 370 kB / 487 MB, free: 15.99 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.482e-05/0.01086, allocations: 12.03 kB / 487 MB, free: 15.98 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.337e-05/0.0109, allocations: 17.94 kB / 487 MB, free: 15.97 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.715e-05/0.011, allocations: 125.6 kB / 487.1 MB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.369e-05/0.01101, allocations: 9.438 kB / 487.1 MB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.323e-05/0.01103, allocations: 12.31 kB / 487.1 MB, free: 15.8 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001917/0.01123, allocations: 97.64 kB / 487.2 MB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.01124, allocations: 1.219 kB / 487.2 MB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.01125, allocations: 8.125 kB / 487.2 MB, free: 15.69 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.197e-06/0.01126, allocations: 6.344 kB / 487.3 MB, free: 15.68 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.768e-05/0.01135, allocations: 31.97 kB / 487.3 MB, free: 15.65 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007213/0.01208, allocations: 292.1 kB / 487.6 MB, free: 15.35 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001292/0.01221, allocations: 67.25 kB / 487.6 MB, free: 15.28 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.354e-05/0.01225, allocations: 26.98 kB / 487.7 MB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007909/0.01304, allocations: 426.2 kB / 488.1 MB, free: 14.83 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.01307, allocations: 38.56 kB / 488.1 MB, free: 14.79 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 1.203e-06/0.01307, allocations: 0 / 488.1 MB, free: 14.79 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.000193/0.01326, allocations: 85.53 kB / 488.2 MB, free: 14.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.319e-05/0.01329, allocations: 55.41 kB / 488.3 MB, free: 14.63 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001169/0.01341, allocations: 167.2 kB / 488.4 MB, free: 14.45 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.01343, allocations: 27.39 kB / 488.4 MB, free: 14.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.848e-05/0.01349, allocations: 104.5 kB / 488.5 MB, free: 14.32 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.01e-05/0.01352, allocations: 43.67 kB / 488.6 MB, free: 14.27 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.282e-05/0.01359, allocations: 49.64 kB / 488.6 MB, free: 14.22 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001022/0.01369, allocations: 330.7 kB / 489 MB, free: 13.89 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.525e-05/0.01374, allocations: 21.42 kB / 489 MB, free: 13.87 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.136e-05/0.01381, allocations: 51.41 kB / 489 MB, free: 13.8 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001198/0.01393, allocations: 87.92 kB / 489.1 MB, free: 13.71 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.945e-06/0.01393, allocations: 1.656 kB / 489.1 MB, free: 13.71 MB / 458.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001876/0.01412, allocations: 125 kB / 489.2 MB, free: 13.58 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.628e-05/0.01413, allocations: 6.031 kB / 489.2 MB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01414, allocations: 0.9688 kB / 489.2 MB, free: 13.58 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.455e-05/0.01415, allocations: 4 kB / 489.2 MB, free: 13.57 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001719/0.01433, allocations: 48.62 kB / 489.3 MB, free: 13.53 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.764e-06/0.01433, allocations: 7.938 kB / 489.3 MB, free: 13.52 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.288e-05/0.01442, allocations: 29.23 kB / 489.3 MB, free: 13.49 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.019e-05/0.01444, allocations: 7.984 kB / 489.3 MB, free: 13.48 MB / 458.7 MB 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.074e-05/0.01452, allocations: 117.8 kB / 489.5 MB, free: 13.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.238e-05/0.01455, allocations: 11.5 kB / 489.5 MB, free: 13.35 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001535/0.0147, allocations: 94.72 kB / 489.6 MB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.01471, allocations: 4 kB / 489.6 MB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.683e-06/0.01471, allocations: 0.9375 kB / 489.6 MB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.247e-06/0.01471, allocations: 0 / 489.6 MB, free: 13.25 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.01487, allocations: 109.7 kB / 489.7 MB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.402e-06/0.01487, allocations: 2 kB / 489.7 MB, free: 13.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.204e-05/0.01495, allocations: 19.98 kB / 489.7 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.01495, allocations: 4 kB / 489.7 MB, free: 13.1 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.01496, allocations: 4 kB / 489.7 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.01496, allocations: 0 / 489.7 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.01497, allocations: 1.281 kB / 489.7 MB, free: 13.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001425/0.01511, allocations: 183.3 kB / 489.9 MB, free: 12.9 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.614e-05/0.01514, allocations: 15.91 kB / 489.9 MB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.01516, allocations: 0.8438 kB / 489.9 MB, free: 12.88 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.06e-05/0.01524, allocations: 15.98 kB / 489.9 MB, free: 12.87 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.47e-05/0.01528, allocations: 4.484 kB / 489.9 MB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.418e-06/0.01529, allocations: 4.531 kB / 489.9 MB, free: 12.86 MB / 458.7 MB Notification: Performance of sorting global known variables: time 3.908e-05/0.01532, allocations: 39.16 kB / 490 MB, free: 12.82 MB / 458.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01532, allocations: 0.9688 kB / 490 MB, free: 12.82 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003114/0.01564, allocations: 59.88 kB / 490 MB, free: 12.76 MB / 458.7 MB 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.0002413/0.01588, allocations: 134.3 kB / 490.2 MB, free: 12.62 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001574/0.01603, allocations: 94.25 kB / 490.2 MB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.01604, allocations: 384 / 490.2 MB, free: 12.53 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 4.31e-05/0.01608, allocations: 24.86 kB / 490.3 MB, free: 12.5 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/0.01632, allocations: 41.48 kB / 490.3 MB, free: 12.47 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005411/0.01686, allocations: 239.9 kB / 490.5 MB, free: 12.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.122e-05/0.01691, allocations: 63.84 kB / 490.6 MB, free: 12.13 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.536e-05/0.017, allocations: 23.39 kB / 490.6 MB, free: 12.11 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001067/0.0171, allocations: 79.36 kB / 490.7 MB, free: 12.04 MB / 458.7 MB Notification: Performance of SimCode: time 5.31e-07/0.0171, allocations: 2.062 kB / 490.7 MB, free: 12.04 MB / 458.7 MB Notification: Performance of Templates: time 0.005147/0.02225, allocations: 2.967 MB / 493.7 MB, free: 9.352 MB / 458.7 MB " [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.5153353847563267]