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.0009184/0.0009184, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009566/0.0009566, allocations: 181 kB / 23.36 MB, free: 1.133 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.9086/0.9086, allocations: 177.1 MB / 203.8 MB, free: 5.469 MB / 186.7 MB " [Timeout remaining time 179] 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-535:34: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-535:42: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 0.759/0.759, allocations: 154.9 MB / 415.1 MB, free: 224 kB / 378.7 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 179] 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.112e-06/1.112e-06, allocations: 0.5469 kB / 480.4 MB, free: 6.543 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.386e-05/1.497e-05, allocations: 7.266 kB / 480.4 MB, free: 6.539 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.004978/0.004993, allocations: 4.689 MB / 485.1 MB, free: 1.891 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007972/0.00579, allocations: 0.8403 MB / 485.9 MB, free: 1.055 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.466e-05/0.005845, allocations: 1.438 kB / 485.9 MB, free: 1.055 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001477/0.005993, allocations: 31.72 kB / 485.9 MB, free: 1.023 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 4.334e-05/0.006036, allocations: 32.55 kB / 486 MB, free: 0.9922 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004312/0.006467, allocations: 181.8 kB / 486.1 MB, free: 0.8164 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001575/0.006625, allocations: 183.3 kB / 486.3 MB, free: 0.6367 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.585e-05/0.006701, allocations: 23.75 kB / 486.3 MB, free: 0.6133 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001709/0.006872, allocations: 107.8 kB / 486.5 MB, free: 0.5078 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.467e-05/0.006946, allocations: 64.91 kB / 486.5 MB, free: 456 kB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 1.95e-05/0.006966, allocations: 12 kB / 486.5 MB, free: 444 kB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002096/0.007175, allocations: 148.2 kB / 486.7 MB, free: 296 kB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.495e-05/0.0072, allocations: 31.89 kB / 486.7 MB, free: 264 kB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 3.731e-05/0.007238, allocations: 44.53 kB / 486.7 MB, free: 220 kB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002415/0.007479, allocations: 212 kB / 487 MB, free: 8 kB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.877e-06/0.007483, allocations: 0 / 487 MB, free: 8 kB / 442.7 MB Notification: Performance of FrontEnd: time 1.052e-06/0.007484, allocations: 0.625 kB / 487 MB, free: 8 kB / 442.7 MB Notification: Performance of Transformations before backend: time 4.609e-06/0.007489, allocations: 4 kB / 487 MB, free: 4 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.0005024/0.007991, allocations: 378.2 kB / 487.3 MB, free: 15.61 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.012e-05/0.008021, allocations: 12.5 kB / 487.3 MB, free: 15.6 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.008055, allocations: 13.73 kB / 487.4 MB, free: 15.59 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.348e-05/0.008138, allocations: 126.3 kB / 487.5 MB, free: 15.44 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.00815, allocations: 10.53 kB / 487.5 MB, free: 15.43 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.652e-05/0.008166, allocations: 12.38 kB / 487.5 MB, free: 15.42 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001401/0.008306, allocations: 101.5 kB / 487.6 MB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.261e-06/0.008312, allocations: 1.094 kB / 487.6 MB, free: 15.31 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.008322, allocations: 8.125 kB / 487.6 MB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.928e-06/0.008326, allocations: 0.8125 kB / 487.6 MB, free: 15.3 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.701e-05/0.008393, allocations: 43.91 kB / 487.6 MB, free: 15.26 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.008838, allocations: 283.7 kB / 487.9 MB, free: 14.97 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.336e-05/0.008931, allocations: 73.42 kB / 488 MB, free: 14.89 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.634e-05/0.008957, allocations: 24.8 kB / 488 MB, free: 14.87 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005707/0.009528, allocations: 435 kB / 488.4 MB, free: 14.44 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.04e-05/0.009549, allocations: 30.56 kB / 488.5 MB, free: 14.4 MB / 458.7 MB Notification: Performance of pre-optimization done (n=12): time 1.373e-06/0.00955, allocations: 0.6562 kB / 488.5 MB, free: 14.4 MB / 458.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001495/0.009699, allocations: 85.66 kB / 488.6 MB, free: 14.31 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.563e-05/0.009725, allocations: 52 kB / 488.6 MB, free: 14.25 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.877e-05/0.009814, allocations: 169.5 kB / 488.8 MB, free: 14.07 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.456e-05/0.009828, allocations: 29.7 kB / 488.8 MB, free: 14.04 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.359e-05/0.009872, allocations: 104.5 kB / 488.9 MB, free: 13.93 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.037e-05/0.009892, allocations: 43.61 kB / 489 MB, free: 13.89 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.012e-05/0.009942, allocations: 54.56 kB / 489 MB, free: 13.83 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 7.032e-05/0.01001, allocations: 330.7 kB / 489.3 MB, free: 13.5 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.234e-05/0.01005, allocations: 21.02 kB / 489.3 MB, free: 13.48 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.784e-05/0.01009, allocations: 55.3 kB / 489.4 MB, free: 13.41 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.001e-05/0.01017, allocations: 88.02 kB / 489.5 MB, free: 13.32 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.01018, allocations: 0.5938 kB / 489.5 MB, free: 13.32 MB / 458.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001247/0.0103, allocations: 118.7 kB / 489.6 MB, free: 13.2 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.01031, allocations: 7.984 kB / 489.6 MB, free: 13.19 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.01032, allocations: 8 kB / 489.6 MB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.738e-06/0.01033, allocations: 0.6094 kB / 489.6 MB, free: 13.18 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001187/0.01045, allocations: 48.77 kB / 489.7 MB, free: 13.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.867e-06/0.01045, allocations: 3.984 kB / 489.7 MB, free: 13.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.077e-05/0.0105, allocations: 21.17 kB / 489.7 MB, free: 13.11 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.659e-05/0.01052, allocations: 4 kB / 489.7 MB, free: 13.11 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 6.976e-05/0.01059, allocations: 130.4 kB / 489.8 MB, free: 12.97 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.905e-05/0.01061, allocations: 11.98 kB / 489.8 MB, free: 12.96 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001223/0.01073, allocations: 99.05 kB / 489.9 MB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.01073, allocations: 0.6094 kB / 489.9 MB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-06/0.01073, allocations: 0.6562 kB / 489.9 MB, free: 12.86 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.01074, allocations: 3.938 kB / 489.9 MB, free: 12.85 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001048/0.01084, allocations: 110.9 kB / 490 MB, free: 12.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.954e-06/0.01084, allocations: 3.984 kB / 490 MB, free: 12.72 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.0109, allocations: 25.55 kB / 490.1 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.364e-06/0.0109, allocations: 0 / 490.1 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.751e-06/0.01091, allocations: 0 / 490.1 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.273e-06/0.01091, allocations: 0 / 490.1 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-07/0.01091, allocations: 0 / 490.1 MB, free: 12.7 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.01102, allocations: 169.4 kB / 490.2 MB, free: 12.52 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.792e-05/0.01104, allocations: 19.83 kB / 490.3 MB, free: 12.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.243e-05/0.01106, allocations: 10.28 kB / 490.3 MB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.398e-05/0.0111, allocations: 4 kB / 490.3 MB, free: 12.49 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.132e-05/0.01113, allocations: 15.97 kB / 490.3 MB, free: 12.47 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.138e-06/0.01114, allocations: 0 / 490.3 MB, free: 12.47 MB / 458.7 MB Notification: Performance of sorting global known variables: time 2.745e-05/0.01116, allocations: 35.41 kB / 490.3 MB, free: 12.44 MB / 458.7 MB Notification: Performance of sort global known variables: time 4e-08/0.01116, allocations: 0 / 490.3 MB, free: 12.44 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00019/0.01135, allocations: 68.42 kB / 490.4 MB, free: 12.37 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.0001983/0.01155, allocations: 138.6 kB / 490.5 MB, free: 12.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001128/0.01166, allocations: 74.28 kB / 490.6 MB, free: 12.16 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.01167, allocations: 4 kB / 490.6 MB, free: 12.15 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 3.239e-05/0.0117, allocations: 36.78 kB / 490.6 MB, free: 12.11 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001619/0.01186, allocations: 29.06 kB / 490.7 MB, free: 12.09 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004156/0.01228, allocations: 247.9 kB / 490.9 MB, free: 11.82 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.472e-05/0.01231, allocations: 68.97 kB / 491 MB, free: 11.74 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 5.677e-05/0.01237, allocations: 19.8 kB / 491 MB, free: 11.73 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.088e-05/0.01245, allocations: 71.36 kB / 491.1 MB, free: 11.66 MB / 458.7 MB Notification: Performance of SimCode: time 8.02e-07/0.01245, allocations: 0 / 491.1 MB, free: 11.66 MB / 458.7 MB Notification: Performance of Templates: time 0.004318/0.01677, allocations: 2.973 MB / 494 MB, free: 8.973 MB / 458.7 MB " [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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5143512873910367]