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.001062/0.001062, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001576/0.002638, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001095/0.001095, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001495/0.002589, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.9716/0.9716, allocations: 177.1 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1/1.072, allocations: 53.66 MB / 243.2 MB, free: 15.58 MB / 250.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.7519/0.7519, allocations: 154.6 MB / 398.5 MB, free: 0.5234 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. Notification: Performance of NFInstanceAPI.mkTop(): time 0.2424/0.9942, allocations: 49.03 MB / 447.6 MB, free: 6.707 MB / 426.7 MB " [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.432e-06/1.432e-06, allocations: 0 / 448.9 MB, free: 5.402 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.706e-05/1.849e-05, allocations: 4.422 kB / 448.9 MB, free: 5.398 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatExchangers.BaseClasses.Examples.HANaturalCylinder): time 0.005168/0.005186, allocations: 4.748 MB / 453.6 MB, free: 0.7031 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009421/0.006128, allocations: 0.8395 MB / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.042e-05/0.006179, allocations: 0 / 454.5 MB, free: 15.87 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001047/0.006283, allocations: 36.62 kB / 454.5 MB, free: 15.83 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.006334, allocations: 32.77 kB / 454.6 MB, free: 15.8 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000396/0.00673, allocations: 178 kB / 454.7 MB, free: 15.63 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001711/0.006901, allocations: 175.4 kB / 454.9 MB, free: 15.46 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.623e-05/0.006977, allocations: 21.94 kB / 454.9 MB, free: 15.43 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001998/0.007177, allocations: 124 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.962e-05/0.007267, allocations: 60.48 kB / 455.1 MB, free: 15.25 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.1e-05/0.007288, allocations: 15.94 kB / 455.1 MB, free: 15.23 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002791/0.007567, allocations: 141.2 kB / 455.3 MB, free: 15.1 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 2.524e-05/0.007592, allocations: 23.94 kB / 455.3 MB, free: 15.07 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 4.635e-05/0.007639, allocations: 39.94 kB / 455.3 MB, free: 15.04 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004102/0.008049, allocations: 184.1 kB / 455.5 MB, free: 14.86 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.567e-05/0.008064, allocations: 4 kB / 455.5 MB, free: 14.85 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.008066, allocations: 1.531 kB / 455.5 MB, free: 14.85 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.542e-05/0.008081, allocations: 0 / 455.5 MB, free: 14.85 MB / 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.0006397/0.008721, allocations: 488.7 kB / 456 MB, free: 14.34 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.008751, allocations: 8.031 kB / 456 MB, free: 14.33 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.016e-05/0.008791, allocations: 16.92 kB / 456 MB, free: 14.31 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.161e-05/0.008883, allocations: 122.2 kB / 456.1 MB, free: 14.17 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.26e-05/0.008896, allocations: 13 kB / 456.1 MB, free: 14.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.763e-05/0.008913, allocations: 12.31 kB / 456.1 MB, free: 14.14 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.009071, allocations: 101 kB / 456.2 MB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.009078, allocations: 4.188 kB / 456.2 MB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.00909, allocations: 9.531 kB / 456.3 MB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.009094, allocations: 0 / 456.3 MB, free: 14.03 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.177e-05/0.009176, allocations: 35.97 kB / 456.3 MB, free: 13.99 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.009783, allocations: 291.5 kB / 456.6 MB, free: 13.69 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001016/0.009885, allocations: 70.23 kB / 456.6 MB, free: 13.62 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.351e-05/0.009919, allocations: 21.48 kB / 456.7 MB, free: 13.59 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006696/0.01059, allocations: 427.9 kB / 457.1 MB, free: 13.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.453e-05/0.01061, allocations: 38.5 kB / 457.1 MB, free: 13.12 MB / 442.7 MB Notification: Performance of pre-optimization done (n=12): time 1.643e-06/0.01061, allocations: 0.9844 kB / 457.1 MB, free: 13.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=12): time 0.0001665/0.01078, allocations: 86.25 kB / 457.2 MB, free: 13.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.889e-05/0.01081, allocations: 51.41 kB / 457.3 MB, free: 12.97 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.962e-05/0.01091, allocations: 164.5 kB / 457.4 MB, free: 12.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.271e-05/0.01092, allocations: 25.7 kB / 457.4 MB, free: 12.77 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.547e-05/0.01098, allocations: 116.4 kB / 457.6 MB, free: 12.65 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.318e-05/0.011, allocations: 41.36 kB / 457.6 MB, free: 12.61 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.252e-05/0.01106, allocations: 49.64 kB / 457.6 MB, free: 12.56 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.399e-05/0.01115, allocations: 330.7 kB / 458 MB, free: 12.23 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.802e-05/0.01119, allocations: 19.98 kB / 458 MB, free: 12.21 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.213e-05/0.01125, allocations: 58.62 kB / 458 MB, free: 12.14 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002164/0.01146, allocations: 85.8 kB / 458.1 MB, free: 12.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.01147, allocations: 0 / 458.1 MB, free: 12.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0001597/0.01163, allocations: 121 kB / 458.2 MB, free: 11.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.294e-05/0.01164, allocations: 6.438 kB / 458.3 MB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.01164, allocations: 4 kB / 458.3 MB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.206e-06/0.01165, allocations: 1.5 kB / 458.3 MB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001758/0.01183, allocations: 59.91 kB / 458.3 MB, free: 11.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.691e-06/0.01183, allocations: 8 kB / 458.3 MB, free: 11.85 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.137e-05/0.0119, allocations: 24.62 kB / 458.3 MB, free: 11.83 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.653e-05/0.01192, allocations: 4 kB / 458.4 MB, free: 11.82 MB / 442.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.643e-05/0.01199, allocations: 126.2 kB / 458.5 MB, free: 11.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.614e-05/0.01201, allocations: 9.438 kB / 458.5 MB, free: 11.68 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001296/0.01214, allocations: 91.03 kB / 458.6 MB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-06/0.01215, allocations: 4 kB / 458.6 MB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.943e-06/0.01215, allocations: 2.109 kB / 458.6 MB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.01215, allocations: 0 / 458.6 MB, free: 11.59 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001362/0.01229, allocations: 109.9 kB / 458.7 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.01229, allocations: 1.312 kB / 458.7 MB, free: 11.46 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.071e-05/0.01237, allocations: 27.92 kB / 458.7 MB, free: 11.43 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.508e-05/0.0124, allocations: 31.83 kB / 458.7 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.01241, allocations: 0.8438 kB / 458.7 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.771e-06/0.01241, allocations: 0 / 458.7 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.01241, allocations: 0.5938 kB / 458.7 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.01241, allocations: 0 / 458.7 MB, free: 11.4 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001165/0.01253, allocations: 176.3 kB / 458.9 MB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.01254, allocations: 0 / 458.9 MB, free: 11.22 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.896e-05/0.01261, allocations: 11.98 kB / 458.9 MB, free: 11.21 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.175e-05/0.01264, allocations: 7.984 kB / 458.9 MB, free: 11.2 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.01265, allocations: 4 kB / 458.9 MB, free: 11.2 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.425e-05/0.01268, allocations: 44.39 kB / 459 MB, free: 11.15 MB / 442.7 MB Notification: Performance of sort global known variables: time 5e-08/0.01268, allocations: 0 / 459 MB, free: 11.15 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002505/0.01294, allocations: 65.61 kB / 459.1 MB, free: 11.09 MB / 442.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.0002002/0.01314, allocations: 134.4 kB / 459.2 MB, free: 10.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.01327, allocations: 76.75 kB / 459.3 MB, free: 10.88 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.953e-06/0.01327, allocations: 4.5 kB / 459.3 MB, free: 10.87 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.901e-05/0.01331, allocations: 30.66 kB / 459.3 MB, free: 10.84 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002153/0.01353, allocations: 39.92 kB / 459.3 MB, free: 10.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.01458, allocations: 260.2 kB / 459.6 MB, free: 10.53 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.448e-05/0.01463, allocations: 67.84 kB / 459.7 MB, free: 10.44 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 7.636e-05/0.01471, allocations: 19.44 kB / 459.7 MB, free: 10.43 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.299e-05/0.0148, allocations: 75.36 kB / 459.7 MB, free: 10.35 MB / 442.7 MB Notification: Performance of SimCode: time 6.61e-07/0.0148, allocations: 0.875 kB / 459.7 MB, free: 10.35 MB / 442.7 MB Notification: Performance of Templates: time 0.005765/0.02056, allocations: 3.043 MB / 462.8 MB, free: 7.609 MB / 442.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.5476470636203885]