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.0009884/0.0009884, allocations: 80.81 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.001076/0.001076, allocations: 173 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 1.004/1.004, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.7854/0.7854, allocations: 154.6 MB / 414.8 MB, free: 0.5195 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.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.983e-06/1.983e-06, allocations: 0 / 480 MB, free: 6.949 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.627e-05/2.825e-05, allocations: 2.312 kB / 480 MB, free: 6.945 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.FixedResistances.Validation.PlugFlowPipes.Data.TestData): time 0.003597/0.003625, allocations: 1.71 MB / 481.7 MB, free: 5.258 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002684/0.006309, allocations: 1.736 MB / 483.5 MB, free: 3.523 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.97e-05/0.006409, allocations: 4.875 kB / 483.5 MB, free: 3.52 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005235/0.006933, allocations: 59.09 kB / 483.5 MB, free: 3.465 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003497/0.007282, allocations: 101.7 kB / 483.6 MB, free: 3.371 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002324/0.007515, allocations: 76.16 kB / 483.7 MB, free: 3.297 MB / 442.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002836/0.007798, allocations: 177.6 kB / 483.9 MB, free: 3.129 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.794e-05/0.007856, allocations: 13.61 kB / 483.9 MB, free: 3.117 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002366/0.008093, allocations: 87.8 kB / 484 MB, free: 3.031 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001229/0.008216, allocations: 65.02 kB / 484 MB, free: 2.969 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 2.869e-05/0.008245, allocations: 12 kB / 484 MB, free: 2.957 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002495/0.008494, allocations: 107.8 kB / 484.1 MB, free: 2.852 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 8.171e-05/0.008576, allocations: 52.33 kB / 484.2 MB, free: 2.801 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 6.104e-05/0.008637, allocations: 39.91 kB / 484.2 MB, free: 2.762 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003843/0.009021, allocations: 224.9 kB / 484.5 MB, free: 2.543 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.009026, allocations: 4 kB / 484.5 MB, free: 2.539 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.332e-06/0.009027, allocations: 3.938 kB / 484.5 MB, free: 2.535 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.009032, allocations: 0 / 484.5 MB, free: 2.535 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005982/0.00963, allocations: 387.6 kB / 484.8 MB, free: 2.137 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.213e-05/0.009672, allocations: 12.03 kB / 484.9 MB, free: 2.125 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.833e-05/0.009731, allocations: 17.83 kB / 484.9 MB, free: 2.109 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002688/0.01, allocations: 174.4 kB / 485 MB, free: 1.91 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.01002, allocations: 5.125 kB / 485 MB, free: 1.906 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.117e-05/0.01004, allocations: 4.375 kB / 485.1 MB, free: 1.902 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003918/0.01043, allocations: 141.7 kB / 485.2 MB, free: 1.742 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.01044, allocations: 3.938 kB / 485.2 MB, free: 1.738 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.555e-05/0.01046, allocations: 9.312 kB / 485.2 MB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.741e-06/0.01046, allocations: 0 / 485.2 MB, free: 1.73 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001591/0.01062, allocations: 82.69 kB / 485.3 MB, free: 1.648 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001528/0.01078, allocations: 87.22 kB / 485.4 MB, free: 1.547 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003781/0.01115, allocations: 150.3 kB / 485.5 MB, free: 1.395 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.499e-05/0.01122, allocations: 28.84 kB / 485.5 MB, free: 1.363 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.01123, allocations: 9 kB / 485.6 MB, free: 1.355 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001119/0.01135, allocations: 90.16 kB / 485.6 MB, free: 1.254 MB / 442.7 MB Notification: Performance of pre-optimization done (n=13): time 1.783e-06/0.01135, allocations: 1.062 kB / 485.6 MB, free: 1.254 MB / 442.7 MB Notification: Performance of matching and sorting (n=13): time 0.0001589/0.01151, allocations: 93.66 kB / 485.7 MB, free: 1.156 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.79e-05/0.01154, allocations: 89.03 kB / 485.8 MB, free: 1.051 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001365/0.01168, allocations: 206.6 kB / 486 MB, free: 0.8359 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.327e-05/0.0117, allocations: 33.7 kB / 486.1 MB, free: 0.7969 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.234e-05/0.01174, allocations: 92.11 kB / 486.1 MB, free: 0.7031 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.084e-05/0.01178, allocations: 47.62 kB / 486.2 MB, free: 0.6562 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.778e-05/0.01182, allocations: 34.47 kB / 486.2 MB, free: 0.6172 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 8.209e-05/0.0119, allocations: 334.8 kB / 486.6 MB, free: 288 kB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.561e-05/0.01192, allocations: 16.27 kB / 486.6 MB, free: 272 kB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.632e-05/0.01198, allocations: 72.17 kB / 486.6 MB, free: 184 kB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.933e-05/0.01205, allocations: 66.81 kB / 486.7 MB, free: 112 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.01205, allocations: 0 / 486.7 MB, free: 112 kB / 442.7 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0001089/0.01216, allocations: 97.48 kB / 486.8 MB, free: 8 kB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.01217, allocations: 4 kB / 486.8 MB, free: 4 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.01217, allocations: 0 / 486.8 MB, free: 4 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.896e-06/0.01218, allocations: 0.7812 kB / 486.8 MB, free: 4 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.769e-05/0.01227, allocations: 31.86 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.585e-06/0.01227, allocations: 0.875 kB / 486.8 MB, free: 15.97 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.022e-05/0.01231, allocations: 19.94 kB / 486.9 MB, free: 15.95 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.865e-06/0.01232, allocations: 5.062 kB / 486.9 MB, free: 15.95 MB / 458.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 7.657e-05/0.0124, allocations: 120.7 kB / 487 MB, free: 15.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.951e-05/0.01242, allocations: 16.55 kB / 487 MB, free: 15.8 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001719/0.01259, allocations: 147.5 kB / 487.1 MB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.01259, allocations: 4 kB / 487.1 MB, free: 15.65 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/0.0126, allocations: 4.609 kB / 487.1 MB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.0126, allocations: 0.625 kB / 487.1 MB, free: 15.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001241/0.01272, allocations: 125.7 kB / 487.3 MB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/0.01273, allocations: 0.625 kB / 487.3 MB, free: 15.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.568e-05/0.01278, allocations: 27.98 kB / 487.3 MB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.01278, allocations: 0.625 kB / 487.3 MB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.029e-05/0.01279, allocations: 12.7 kB / 487.3 MB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.01279, allocations: 0 / 487.3 MB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.0128, allocations: 0.5312 kB / 487.3 MB, free: 15.46 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001194/0.01291, allocations: 146.6 kB / 487.5 MB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.282e-05/0.01294, allocations: 28.44 kB / 487.5 MB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.292e-05/0.01296, allocations: 9.219 kB / 487.5 MB, free: 15.27 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.714e-05/0.01299, allocations: 8 kB / 487.5 MB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.993e-05/0.01302, allocations: 11.97 kB / 487.5 MB, free: 15.25 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.268e-05/0.01303, allocations: 8 kB / 487.5 MB, free: 15.24 MB / 458.7 MB Notification: Performance of sorting global known variables: time 5.845e-05/0.01309, allocations: 81.3 kB / 487.6 MB, free: 15.16 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.01309, allocations: 0 / 487.6 MB, free: 15.16 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0001723/0.01326, allocations: 59.86 kB / 487.7 MB, free: 15.1 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: 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.001301/0.01456, allocations: 0.6431 MB / 488.3 MB, free: 14.84 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0001311/0.01469, allocations: 77.28 kB / 488.4 MB, free: 14.76 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 4.127e-06/0.0147, allocations: 5 kB / 488.4 MB, free: 14.76 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.659e-05/0.01475, allocations: 58.02 kB / 488.4 MB, free: 14.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001443/0.0149, allocations: 37.67 kB / 488.5 MB, free: 14.66 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004452/0.01534, allocations: 302.3 kB / 488.8 MB, free: 14.34 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.407e-05/0.0154, allocations: 76.48 kB / 488.8 MB, free: 14.25 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 8.759e-05/0.01549, allocations: 38.58 kB / 488.9 MB, free: 14.21 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00014/0.01563, allocations: 92.34 kB / 489 MB, free: 14.12 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.01563, allocations: 0 / 489 MB, free: 14.12 MB / 458.7 MB Notification: Performance of Templates: time 0.005665/0.02129, allocations: 3.773 MB / 492.7 MB, free: 10.68 MB / 458.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.708764487877488]