Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.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.0006974/0.0006974, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.000958/0.001655, allocations: 440 kB / 10.41 MB, free: 284 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.0007086/0.0007086, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001013/0.001721, allocations: 475.6 kB / 11.79 MB, free: 2.375 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.9781/0.9781, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08811/1.066, allocations: 53.66 MB / 243.4 MB, free: 15.5 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.7903/0.7903, allocations: 154.6 MB / 398.8 MB, free: 392 kB / 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.2812/1.071, allocations: 49.06 MB / 447.8 MB, free: 6.594 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.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=671,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") translateModel(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData,tolerance=1e-06,outputFormat="empty",numberOfIntervals=671,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.753e-06/1.753e-06, allocations: 0 / 449.2 MB, free: 5.27 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.544e-05/1.719e-05, allocations: 4.281 kB / 449.2 MB, free: 5.266 MB / 426.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003199/0.003216, allocations: 1.754 MB / 450.9 MB, free: 3.543 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.002404/0.00562, allocations: 1.771 MB / 452.7 MB, free: 1.77 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.096e-05/0.005711, allocations: 1.406 kB / 452.7 MB, free: 1.77 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003475/0.006058, allocations: 64.88 kB / 452.8 MB, free: 1.707 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0002686/0.006327, allocations: 97.66 kB / 452.9 MB, free: 1.617 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002069/0.006534, allocations: 76.31 kB / 452.9 MB, free: 1.543 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002631/0.006797, allocations: 187.1 kB / 453.1 MB, free: 1.375 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.171e-05/0.006839, allocations: 2.406 kB / 453.1 MB, free: 1.375 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002296/0.007068, allocations: 107.7 kB / 453.2 MB, free: 1.27 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001147/0.007183, allocations: 67.8 kB / 453.3 MB, free: 1.203 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 2.876e-05/0.007212, allocations: 13.88 kB / 453.3 MB, free: 1.191 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000238/0.00745, allocations: 119.8 kB / 453.4 MB, free: 1.074 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 6.616e-05/0.007516, allocations: 31.88 kB / 453.4 MB, free: 1.043 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 4.983e-05/0.007566, allocations: 27.94 kB / 453.5 MB, free: 1.016 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003264/0.007892, allocations: 207.2 kB / 453.7 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.274e-05/0.007905, allocations: 0.875 kB / 453.7 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of FrontEnd: time 6.72e-07/0.007905, allocations: 0 / 453.7 MB, free: 0.8125 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.381e-05/0.007919, allocations: 1.281 kB / 453.7 MB, free: 0.8125 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005858/0.008505, allocations: 421.4 kB / 454.1 MB, free: 388 kB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.203e-05/0.008537, allocations: 8.031 kB / 454.1 MB, free: 380 kB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.025e-05/0.008587, allocations: 17.61 kB / 454.1 MB, free: 364 kB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002362/0.008824, allocations: 178.4 kB / 454.3 MB, free: 156 kB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.754e-05/0.008841, allocations: 6.703 kB / 454.3 MB, free: 152 kB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.053e-05/0.008862, allocations: 12.31 kB / 454.3 MB, free: 140 kB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001971/0.009059, allocations: 138 kB / 454.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.166e-05/0.00907, allocations: 3.938 kB / 454.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.424e-05/0.009085, allocations: 0 / 454.4 MB, free: 15.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.009093, allocations: 4.625 kB / 454.5 MB, free: 15.97 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001505/0.009243, allocations: 88.34 kB / 454.5 MB, free: 15.89 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001419/0.009385, allocations: 86.67 kB / 454.6 MB, free: 15.79 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003073/0.009692, allocations: 144.5 kB / 454.8 MB, free: 15.64 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.149e-05/0.009744, allocations: 30.34 kB / 454.8 MB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.234e-05/0.009756, allocations: 0 / 454.8 MB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001512/0.009907, allocations: 100.2 kB / 454.9 MB, free: 15.5 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.383e-06/0.009909, allocations: 3.938 kB / 454.9 MB, free: 15.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0002026/0.01011, allocations: 99.08 kB / 455 MB, free: 15.39 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.773e-05/0.01014, allocations: 55.34 kB / 455 MB, free: 15.32 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001889/0.01033, allocations: 216 kB / 455.3 MB, free: 15.1 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.504e-05/0.01035, allocations: 29.7 kB / 455.3 MB, free: 15.06 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.933e-05/0.01039, allocations: 96.8 kB / 455.4 MB, free: 14.96 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.388e-05/0.01045, allocations: 52.66 kB / 455.4 MB, free: 14.91 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.313e-05/0.0105, allocations: 29.69 kB / 455.5 MB, free: 14.88 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001077/0.01061, allocations: 326.8 kB / 455.8 MB, free: 14.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.122e-05/0.01065, allocations: 23.44 kB / 455.8 MB, free: 14.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.814e-05/0.01072, allocations: 70.08 kB / 455.9 MB, free: 14.45 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.86e-05/0.01082, allocations: 63.59 kB / 455.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.01082, allocations: 4 kB / 455.9 MB, free: 14.38 MB / 442.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001495/0.01097, allocations: 101.5 kB / 456 MB, free: 14.27 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.01098, allocations: 8 kB / 456 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.487e-06/0.01098, allocations: 0 / 456 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.178e-05/0.011, allocations: 0 / 456 MB, free: 14.26 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.01111, allocations: 31.92 kB / 456.1 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.835e-06/0.01111, allocations: 1.219 kB / 456.1 MB, free: 14.23 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.222e-05/0.01116, allocations: 11.94 kB / 456.1 MB, free: 14.22 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.967e-06/0.01117, allocations: 0 / 456.1 MB, free: 14.22 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.combiTimeTable.nextTimeEvent,$whenCondition1,combiTimeTable.nextTimeEventScaled,$PRE.combiTimeTable.nextTimeEventScaled,combiTimeTable.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * 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.861e-05/0.01126, allocations: 135.5 kB / 456.2 MB, free: 14.08 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.182e-05/0.01129, allocations: 16.48 kB / 456.2 MB, free: 14.06 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002384/0.01153, allocations: 143.7 kB / 456.4 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.01154, allocations: 4 kB / 456.4 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.01154, allocations: 4.609 kB / 456.4 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.108e-06/0.01155, allocations: 0.5625 kB / 456.4 MB, free: 13.91 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001568/0.0117, allocations: 125.7 kB / 456.5 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.0117, allocations: 0.625 kB / 456.5 MB, free: 13.77 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001143/0.01182, allocations: 47.91 kB / 456.6 MB, free: 13.72 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.585e-05/0.01185, allocations: 12.53 kB / 456.6 MB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.237e-06/0.01185, allocations: 4.938 kB / 456.6 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.212e-05/0.01186, allocations: 7.938 kB / 456.6 MB, free: 13.7 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/0.01186, allocations: 4 kB / 456.6 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.442e-06/0.01186, allocations: 1.719 kB / 456.6 MB, free: 13.69 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004405/0.01231, allocations: 143.6 kB / 456.7 MB, free: 13.53 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.598e-05/0.01234, allocations: 11.94 kB / 456.7 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.411e-05/0.01239, allocations: 0 / 456.7 MB, free: 13.52 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.059e-05/0.01243, allocations: 20.88 kB / 456.8 MB, free: 13.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.779e-05/0.01244, allocations: 7.984 kB / 456.8 MB, free: 13.49 MB / 442.7 MB Notification: Performance of sorting global known variables: time 9.104e-05/0.01253, allocations: 77.78 kB / 456.8 MB, free: 13.41 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-07/0.01253, allocations: 0 / 456.8 MB, free: 13.41 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0002674/0.0128, allocations: 67.75 kB / 456.9 MB, free: 13.35 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: 3 ($whenCondition1,combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of discrete states: 2 (combiTimeTable.nextTimeEvent,combiTimeTable.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.002285/0.01509, allocations: 0.6984 MB / 457.6 MB, free: 13.09 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001799/0.01527, allocations: 81.81 kB / 457.7 MB, free: 13.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.051e-05/0.01528, allocations: 4 kB / 457.7 MB, free: 13 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001187/0.0154, allocations: 74.75 kB / 457.8 MB, free: 12.93 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003057/0.0157, allocations: 202.4 kB / 458 MB, free: 12.71 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007151/0.01642, allocations: 310.3 kB / 458.3 MB, free: 12.38 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.941e-05/0.01648, allocations: 80.48 kB / 458.3 MB, free: 12.28 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 9.433e-05/0.01657, allocations: 42.91 kB / 458.4 MB, free: 12.24 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001524/0.01672, allocations: 91.34 kB / 458.5 MB, free: 12.15 MB / 442.7 MB Notification: Performance of SimCode: time 6.71e-07/0.01672, allocations: 1.375 kB / 458.5 MB, free: 12.15 MB / 442.7 MB Notification: Performance of Templates: time 0.007085/0.02381, allocations: 3.829 MB / 462.3 MB, free: 8.676 MB / 442.7 MB " [Timeout remaining time 660] make -j1 -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; mkfifo IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe >> ../files/IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.sim & ./IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.5675931638106704]