Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01036/0.01036, allocations: 100.4 kB / 15.73 MB, free: 6.031 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001586/0.001586, allocations: 193.2 kB / 16.67 MB, free: 5.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.761/1.761, allocations: 205.1 MB / 222.5 MB, free: 4.539 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3502/0.3502, allocations: 38 MB / 307.9 MB, free: 9.91 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 75.89 kB / 433 MB, free: 5.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.354, allocations: 56.47 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.6073/0.9613, allocations: 209.9 MB / 0.683 GB, free: 1.215 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.0213/0.9827, allocations: 13.64 MB / 0.6963 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002005/0.9848, allocations: 36.91 kB / 0.6963 GB, free: 0.9688 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001554/0.9863, allocations: 483.7 kB / 0.6968 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0111/0.9975, allocations: 3.147 MB / 0.6999 GB, free: 0.8242 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01107/1.009, allocations: 3.361 MB / 0.7032 GB, free: 0.7188 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006622/1.015, allocations: 3.231 MB / 0.7063 GB, free: 0.6719 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001879/1.017, allocations: 0.7982 MB / 0.7071 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00324/1.02, allocations: 1.276 MB / 0.7083 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002469/1.023, allocations: 1.306 MB / 0.7096 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002837/1.023, allocations: 115 kB / 0.7097 GB, free: 272 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01126/1.034, allocations: 3.373 MB / 0.713 GB, free: 14.92 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001528/1.036, allocations: 433.9 kB / 0.7134 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001877/1.038, allocations: 0.6393 MB / 0.7141 GB, free: 14.23 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01292/1.051, allocations: 3.721 MB / 0.7177 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/1.051, allocations: 0 / 0.7177 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.194e-06/1.051, allocations: 0.8125 kB / 0.7177 GB, free: 12.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 2.217e-05/1.051, allocations: 0 / 0.7177 GB, free: 12.18 MB / 0.5137 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.004947/1.056, allocations: 1.972 MB / 0.7196 GB, free: 10.8 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.163e-05/1.056, allocations: 12.95 kB / 0.7196 GB, free: 10.79 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001241/1.057, allocations: 216.4 kB / 0.7198 GB, free: 10.69 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001698/1.059, allocations: 0.8493 MB / 0.7207 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.867e-05/1.059, allocations: 68.14 kB / 0.7207 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001333/1.059, allocations: 70.06 kB / 0.7208 GB, free: 10.03 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001964/1.061, allocations: 1.234 MB / 0.722 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.303e-05/1.061, allocations: 2.531 kB / 0.722 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.904e-05/1.061, allocations: 33.02 kB / 0.722 GB, free: 9.258 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001275/1.061, allocations: 87.16 kB / 0.7221 GB, free: 9.23 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/1.063, allocations: 1.2 MB / 0.7233 GB, free: 8.648 MB / 0.5137 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008338/1.072, allocations: 4.886 MB / 0.7281 GB, free: 4.129 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001366/1.073, allocations: 0.757 MB / 0.7288 GB, free: 3.367 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000671/1.074, allocations: 379.2 kB / 0.7292 GB, free: 2.996 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001401/1.075, allocations: 1.302 MB / 0.7304 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.739e-05/1.075, allocations: 42.84 kB / 0.7305 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 4.699e-06/1.075, allocations: 0.9062 kB / 0.7305 GB, free: 1.434 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73): time 0.008082/1.083, allocations: 2.785 MB / 0.7332 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/1.083, allocations: 222.9 kB / 0.7334 GB, free: 14.33 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001297/1.085, allocations: 0.9433 MB / 0.7343 GB, free: 13.36 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 7.987e-05/1.085, allocations: 41.7 kB / 0.7344 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003535/1.085, allocations: 479.7 kB / 0.7348 GB, free: 12.85 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/1.085, allocations: 261.8 kB / 0.7351 GB, free: 12.59 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003552/1.086, allocations: 231.2 kB / 0.7353 GB, free: 12.36 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001268/1.086, allocations: 342.5 kB / 0.7356 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007828/1.087, allocations: 438.3 kB / 0.736 GB, free: 11.59 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009775/1.088, allocations: 0.6814 MB / 0.7367 GB, free: 10.81 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00174/1.089, allocations: 1.09 MB / 0.7378 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.089, allocations: 0 / 0.7378 GB, free: 9.66 MB / 0.5294 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002766/1.092, allocations: 1.493 MB / 0.7392 GB, free: 8.195 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.793e-05/1.092, allocations: 8 kB / 0.7392 GB, free: 8.188 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.552e-05/1.092, allocations: 4 kB / 0.7392 GB, free: 8.184 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003539/1.096, allocations: 0.7347 MB / 0.74 GB, free: 7.449 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000707/1.097, allocations: 178 kB / 0.7401 GB, free: 7.285 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001757/1.098, allocations: 1.283 MB / 0.7414 GB, free: 5.98 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/1.099, allocations: 44.03 kB / 0.7414 GB, free: 5.938 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/1.1, allocations: 91.98 kB / 0.7415 GB, free: 5.848 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001196/1.101, allocations: 0.6073 MB / 0.7421 GB, free: 5.234 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009807/1.102, allocations: 0.6634 MB / 0.7428 GB, free: 4.461 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001819/1.104, allocations: 1.016 MB / 0.7437 GB, free: 3.371 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.195e-06/1.104, allocations: 8 kB / 0.7438 GB, free: 3.363 MB / 0.5294 GB Notification: Performance of matching and sorting (n=120) (initialization_lambda0): time 0.002641/1.106, allocations: 1.33 MB / 0.745 GB, free: 2.062 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.106, allocations: 11.28 kB / 0.7451 GB, free: 2.055 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.937e-06/1.106, allocations: 8 kB / 0.7451 GB, free: 2.047 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/1.108, allocations: 373.2 kB / 0.7454 GB, free: 1.68 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007341/1.109, allocations: 204.5 kB / 0.7456 GB, free: 1.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00125/1.11, allocations: 0.9826 MB / 0.7466 GB, free: 500 kB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009826/1.111, allocations: 51.95 kB / 0.7466 GB, free: 448 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/1.111, allocations: 87.98 kB / 0.7467 GB, free: 360 kB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0004499/1.111, allocations: 238.3 kB / 0.7469 GB, free: 124 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002974/1.112, allocations: 110.7 kB / 0.747 GB, free: 12 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002861/1.115, allocations: 1.366 MB / 0.7484 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/1.115, allocations: 10.44 kB / 0.7484 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.088e-05/1.115, allocations: 0 / 0.7484 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.122e-05/1.115, allocations: 3.984 kB / 0.7484 GB, free: 14.62 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004007/1.119, allocations: 2.157 MB / 0.7505 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/1.119, allocations: 0 / 0.7505 GB, free: 12.41 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007777/1.12, allocations: 183.7 kB / 0.7507 GB, free: 12.24 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001253/1.12, allocations: 27.38 kB / 0.7507 GB, free: 12.21 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.379e-05/1.12, allocations: 31.98 kB / 0.7507 GB, free: 12.18 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001225/1.121, allocations: 1.394 MB / 0.7521 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.622e-06/1.121, allocations: 7.969 kB / 0.7521 GB, free: 10.65 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/1.124, allocations: 1.601 MB / 0.7537 GB, free: 9.008 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004147/1.124, allocations: 179.8 kB / 0.7538 GB, free: 8.812 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/1.124, allocations: 16 kB / 0.7538 GB, free: 8.797 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006024/1.125, allocations: 42.5 kB / 0.7539 GB, free: 8.758 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001862/1.125, allocations: 68.42 kB / 0.754 GB, free: 8.691 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/1.125, allocations: 71.97 kB / 0.754 GB, free: 8.621 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009257/1.126, allocations: 0.6577 MB / 0.7547 GB, free: 7.953 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.1e-07/1.126, allocations: 0 / 0.7547 GB, free: 7.953 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.003624/1.13, allocations: 1.07 MB / 0.7557 GB, free: 6.883 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (junction.medium.p,junction.medium.T) * 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003491/1.133, allocations: 0.9853 MB / 0.7567 GB, free: 5.965 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003786/1.137, allocations: 1.646 MB / 0.7583 GB, free: 4.375 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.114e-05/1.137, allocations: 4 kB / 0.7583 GB, free: 4.371 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001051/1.138, allocations: 0.5622 MB / 0.7588 GB, free: 3.809 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002952/1.141, allocations: 0.5743 MB / 0.7594 GB, free: 3.234 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004123/1.145, allocations: 2 MB / 0.7613 GB, free: 1.207 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007713/1.146, allocations: 1.079 MB / 0.7624 GB, free: 104 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002055/1.148, allocations: 0.5984 MB / 0.763 GB, free: 15.5 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000475/1.149, allocations: 159.4 kB / 0.7631 GB, free: 15.35 MB / 0.5606 GB Notification: Performance of SimCode: time 6.92e-07/1.149, allocations: 4 kB / 0.7631 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of Templates: time 0.06751/1.216, allocations: 39.14 MB / 0.8014 GB, free: 8.277 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)