Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json Using package ModelicaTest with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.01055/0.01056, allocations: 163.6 kB / 15.12 MB, free: 5.953 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.691/1.691, allocations: 170.8 MB / 186.7 MB, free: 1.109 MB / 154.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.002724/0.002724, allocations: 98.84 kB / 226.2 MB, free: 10.1 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.4273/0.4273, allocations: 38.05 MB / 303.7 MB, free: 42.43 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004721, allocations: 12 kB / 363 MB, free: 5.477 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1003/0.1008, allocations: 48.71 MB / 411.7 MB, free: 4.688 MB / 314.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.8853/0.9862, allocations: 191.7 MB / 0.5893 GB, free: 4.617 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.02414/1.01, allocations: 12.76 MB / 0.6017 GB, free: 4.523 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001654/1.012, allocations: 49.16 kB / 0.6018 GB, free: 4.523 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001823/1.014, allocations: 362.8 kB / 0.6021 GB, free: 4.523 MB / 426.7 MB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:772:36-773:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/Fluid/Sources.mo:770:36-771:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.01089/1.025, allocations: 2.724 MB / 0.6048 GB, free: 4.414 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01044/1.035, allocations: 2.615 MB / 0.6073 GB, free: 4.316 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.006035/1.041, allocations: 3.82 MB / 0.6111 GB, free: 4.316 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001849/1.043, allocations: 0.6332 MB / 0.6117 GB, free: 4.258 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0035/1.047, allocations: 1.068 MB / 0.6127 GB, free: 4.254 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003759/1.051, allocations: 1.283 MB / 0.614 GB, free: 4.25 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005323/1.051, allocations: 53.78 kB / 0.614 GB, free: 4.25 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.009054/1.06, allocations: 2.821 MB / 0.6168 GB, free: 4.215 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001104/1.061, allocations: 364.4 kB / 0.6171 GB, free: 4.215 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00101/1.063, allocations: 246.5 kB / 0.6174 GB, free: 20.18 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006914/1.069, allocations: 2.544 MB / 0.6198 GB, free: 19.99 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/1.07, allocations: 0 / 0.6198 GB, free: 19.99 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.084e-06/1.07, allocations: 0 / 0.6198 GB, free: 19.99 MB / 442.7 MB Notification: Performance of Transformations before backend: time 5.932e-05/1.07, allocations: 1.062 kB / 0.6198 GB, free: 19.99 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.006863/1.076, allocations: 1.728 MB / 0.6215 GB, free: 19.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.302e-05/1.077, allocations: 9.688 kB / 0.6215 GB, free: 19.02 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006351/1.077, allocations: 124.5 kB / 0.6217 GB, free: 18.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002099/1.079, allocations: 211.2 kB / 0.6219 GB, free: 18.92 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002668/1.082, allocations: 0.7872 MB / 0.6226 GB, free: 18.62 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.609e-05/1.082, allocations: 60.86 kB / 0.6227 GB, free: 18.62 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002778/1.082, allocations: 70.83 kB / 0.6228 GB, free: 18.62 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003643/1.086, allocations: 1.221 MB / 0.6239 GB, free: 18.44 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/1.086, allocations: 9.141 kB / 0.624 GB, free: 18.44 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002068/1.086, allocations: 39.59 kB / 0.624 GB, free: 18.44 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002068/1.087, allocations: 78.84 kB / 0.6241 GB, free: 18.43 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00405/1.091, allocations: 1.236 MB / 0.6253 GB, free: 18.42 MB / 442.7 MB 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.01655/1.107, allocations: 4.803 MB / 0.63 GB, free: 15.61 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003096/1.11, allocations: 0.7453 MB / 0.6307 GB, free: 15.49 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001802/1.112, allocations: 398.4 kB / 0.6311 GB, free: 15.43 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00272/1.115, allocations: 1.312 MB / 0.6324 GB, free: 14.2 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.425e-05/1.115, allocations: 43.69 kB / 0.6324 GB, free: 14.16 MB / 442.7 MB Notification: Performance of pre-optimization done (n=68): time 4.809e-06/1.115, allocations: 1.594 kB / 0.6324 GB, free: 14.16 MB / 442.7 MB Notification: Performance of matching and sorting (n=73): time 0.01874/1.134, allocations: 2.783 MB / 0.6351 GB, free: 13.24 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001788/1.134, allocations: 219.6 kB / 0.6353 GB, free: 12.99 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002173/1.136, allocations: 0.8668 MB / 0.6362 GB, free: 12.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003299/1.137, allocations: 39.27 kB / 0.6362 GB, free: 12.67 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005639/1.137, allocations: 0.4925 MB / 0.6367 GB, free: 12.4 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004251/1.138, allocations: 268.6 kB / 0.6369 GB, free: 12.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001517/1.138, allocations: 16.38 kB / 0.637 GB, free: 12.21 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002152/1.138, allocations: 349.4 kB / 0.6373 GB, free: 11.89 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001791/1.14, allocations: 425.1 kB / 0.6377 GB, free: 11.83 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002027/1.142, allocations: 0.7143 MB / 0.6384 GB, free: 11.41 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002158/1.144, allocations: 0.524 MB / 0.6389 GB, free: 11.34 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.266e-05/1.144, allocations: 7.094 kB / 0.6389 GB, free: 11.34 MB / 442.7 MB Notification: Performance of matching and sorting (n=128) (initialization): time 0.006272/1.151, allocations: 1.477 MB / 0.6404 GB, free: 11.09 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003833/1.151, allocations: 331.9 kB / 0.6407 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.533e-05/1.151, allocations: 12.03 kB / 0.6407 GB, free: 10.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007868/1.159, allocations: 0.7314 MB / 0.6414 GB, free: 10.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001958/1.161, allocations: 198.7 kB / 0.6416 GB, free: 10.47 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003767/1.165, allocations: 1.277 MB / 0.6428 GB, free: 9.848 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002401/1.167, allocations: 70.91 kB / 0.6429 GB, free: 9.828 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003446/1.168, allocations: 99.19 kB / 0.643 GB, free: 9.82 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.633e-05/1.168, allocations: 5.562 kB / 0.643 GB, free: 9.82 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005198/1.173, allocations: 1.247 MB / 0.6442 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.49e-05/1.173, allocations: 10.72 kB / 0.6442 GB, free: 9.645 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003542/1.176, allocations: 372.4 kB / 0.6446 GB, free: 9.547 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002039/1.178, allocations: 219.6 kB / 0.6448 GB, free: 9.516 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002311/1.181, allocations: 0.9761 MB / 0.6457 GB, free: 8.934 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002156/1.183, allocations: 72.16 kB / 0.6458 GB, free: 8.914 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003435/1.183, allocations: 97.95 kB / 0.6459 GB, free: 8.91 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (99): * Single equations (assignments): 98 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 28} Notification: Performance of prepare postOptimizeDAE: time 0.001136/1.185, allocations: 376.7 kB / 0.6463 GB, free: 8.695 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/1.185, allocations: 108.5 kB / 0.6464 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006354/1.191, allocations: 1.368 MB / 0.6477 GB, free: 8.258 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.607e-05/1.191, allocations: 6.562 kB / 0.6477 GB, free: 8.258 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.308e-05/1.191, allocations: 1.594 kB / 0.6477 GB, free: 8.258 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.753e-05/1.191, allocations: 3.984 kB / 0.6477 GB, free: 8.254 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008279/1.2, allocations: 2.115 MB / 0.6498 GB, free: 7.484 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.889e-06/1.2, allocations: 0 / 0.6498 GB, free: 7.484 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001848/1.202, allocations: 184.8 kB / 0.65 GB, free: 7.453 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001652/1.202, allocations: 27.38 kB / 0.65 GB, free: 7.441 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001475/1.202, allocations: 37.88 kB / 0.65 GB, free: 7.434 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001531/1.204, allocations: 1.279 MB / 0.6513 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.212e-06/1.204, allocations: 2.375 kB / 0.6513 GB, free: 6.156 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005661/1.209, allocations: 1.606 MB / 0.6528 GB, free: 5.703 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007485/1.21, allocations: 188 kB / 0.653 GB, free: 5.543 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00038/1.21, allocations: 14.88 kB / 0.653 GB, free: 5.543 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00159/1.212, allocations: 47.22 kB / 0.6531 GB, free: 5.531 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002986/1.212, allocations: 66.33 kB / 0.6531 GB, free: 5.512 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/1.213, allocations: 71.53 kB / 0.6532 GB, free: 5.504 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001678/1.214, allocations: 0.5877 MB / 0.6538 GB, free: 5.109 MB / 442.7 MB Notification: Performance of sort global known variables: time 5.61e-07/1.214, allocations: 0 / 0.6538 GB, free: 5.109 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.006269/1.221, allocations: 1.075 MB / 0.6548 GB, free: 4.098 MB / 442.7 MB 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01218/1.233, allocations: 3.019 MB / 0.6578 GB, free: 1.625 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006949/1.24, allocations: 1.652 MB / 0.6594 GB, free: 488 kB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.432e-05/1.24, allocations: 5.5 kB / 0.6594 GB, free: 484 kB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002071/1.242, allocations: 0.5648 MB / 0.66 GB, free: 40 kB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006343/1.248, allocations: 0.5217 MB / 0.6605 GB, free: 15.62 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02222/1.271, allocations: 7.284 MB / 0.6676 GB, free: 9.445 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009239/1.272, allocations: 1.105 MB / 0.6687 GB, free: 8.34 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.00431/1.276, allocations: 0.5899 MB / 0.6692 GB, free: 7.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001432/1.277, allocations: 446.4 kB / 0.6697 GB, free: 7.57 MB / 458.7 MB Notification: Performance of SimCode: time 1.213e-06/1.277, allocations: 0 / 0.6697 GB, free: 7.57 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1842/1.462, allocations: 44.78 MB / 0.7134 GB, free: 10.92 MB / 0.4948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003564/1.462, allocations: 272.5 kB / 0.7137 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.41/5.872, allocations: 0 / 0.7137 GB, free: 10.57 MB / 0.4948 GB