Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001481/0.001481, allocations: 169.9 kB / 8.742 MB, free: 344 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.473/1.473, allocations: 221.5 MB / 230.7 MB, free: 7.562 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009068/0.0009069, allocations: 104.3 kB / 281.6 MB, free: 5.305 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2016/0.2016, allocations: 44.14 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.483e-05/1.487e-05, allocations: 224 / 444.7 MB, free: 15.12 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1599/0.16, allocations: 61.91 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.403/1.563, allocations: 0.5046 GB / 0.9993 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.563, allocations: 85.61 kB / 0.9994 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.53/3.093, allocations: 381 MB / 1.371 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of FrontEnd: time 3.367e-06/3.093, allocations: 3.906 kB / 1.372 GB, free: 71.11 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 9.837e-05/3.094, allocations: 36.12 kB / 1.372 GB, free: 71.09 MB / 0.5105 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.005199/3.099, allocations: 1.739 MB / 1.373 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.434e-05/3.099, allocations: 14.08 kB / 1.373 GB, free: 70.23 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001319/3.1, allocations: 211.4 kB / 1.373 GB, free: 70.17 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001822/3.102, allocations: 0.8671 MB / 1.374 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.15e-05/3.102, allocations: 25.47 kB / 1.374 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/3.102, allocations: 39.31 kB / 1.374 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001504/3.104, allocations: 1.035 MB / 1.375 GB, free: 69.86 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001584/3.105, allocations: 1.124 MB / 1.376 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.437e-05/3.105, allocations: 0 / 1.376 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001051/3.105, allocations: 3.438 kB / 1.376 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.461e-05/3.106, allocations: 85.36 kB / 1.377 GB, free: 69.65 MB / 0.5105 GB Warning: The model contains alias variables with conflicting start and/or 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.007109/3.113, allocations: 5.026 MB / 1.381 GB, free: 67.13 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007517/3.113, allocations: 0.5199 MB / 1.382 GB, free: 67.11 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003791/3.114, allocations: 304.5 kB / 1.382 GB, free: 67.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002737/3.114, allocations: 351 kB / 1.383 GB, free: 66.73 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.364e-05/3.114, allocations: 40.34 kB / 1.383 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=56): time 3.126e-06/3.114, allocations: 2.406 kB / 1.383 GB, free: 66.69 MB / 0.5105 GB Notification: Performance of matching and sorting (n=61): time 0.007931/3.122, allocations: 2.34 MB / 1.385 GB, free: 66.1 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.743e-05/3.122, allocations: 216.6 kB / 1.385 GB, free: 65.85 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009397/3.123, allocations: 0.6953 MB / 1.386 GB, free: 65.71 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.495e-05/3.123, allocations: 25.7 kB / 1.386 GB, free: 65.68 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002807/3.124, allocations: 0.5127 MB / 1.386 GB, free: 65.42 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001602/3.124, allocations: 212.6 kB / 1.387 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.362e-05/3.124, allocations: 0 / 1.387 GB, free: 65.29 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.146e-05/3.124, allocations: 340.5 kB / 1.387 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/3.124, allocations: 382 kB / 1.387 GB, free: 64.98 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006422/3.125, allocations: 0.6125 MB / 1.388 GB, free: 64.72 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002414/3.127, allocations: 0.9019 MB / 1.389 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/3.127, allocations: 0 / 1.389 GB, free: 64.71 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003813/3.131, allocations: 1.728 MB / 1.39 GB, free: 64.61 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005866/3.132, allocations: 2.185 MB / 1.393 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.26e-05/3.132, allocations: 3.938 kB / 1.393 GB, free: 62.34 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001783/3.134, allocations: 490.2 kB / 1.393 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006638/3.134, allocations: 175.4 kB / 1.393 GB, free: 62.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002233/3.137, allocations: 1.449 MB / 1.395 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/3.138, allocations: 57.27 kB / 1.395 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001632/3.138, allocations: 88.42 kB / 1.395 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/3.138, allocations: 3.656 kB / 1.395 GB, free: 61.77 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003238/3.141, allocations: 1.413 MB / 1.396 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.278e-05/3.141, allocations: 11 kB / 1.396 GB, free: 61.73 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001333/3.143, allocations: 320.2 kB / 1.396 GB, free: 61.72 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007008/3.143, allocations: 204.5 kB / 1.397 GB, free: 61.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009373/3.144, allocations: 0.9965 MB / 1.398 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001062/3.146, allocations: 51.2 kB / 1.398 GB, free: 61.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001338/3.146, allocations: 93.11 kB / 1.398 GB, free: 61.17 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 25 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (88): * Single equations (assignments): 87 * 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.0003467/3.146, allocations: 123.5 kB / 1.398 GB, free: 61.05 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001927/3.148, allocations: 0.8107 MB / 1.399 GB, free: 60.95 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001584/3.148, allocations: 96.62 kB / 1.399 GB, free: 60.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002743/3.151, allocations: 1.327 MB / 1.4 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.058e-05/3.151, allocations: 7.875 kB / 1.4 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/3.151, allocations: 2.594 kB / 1.4 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.074e-05/3.151, allocations: 3.656 kB / 1.4 GB, free: 60.77 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00346/3.154, allocations: 1.824 MB / 1.402 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.971e-06/3.154, allocations: 0 / 1.402 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006863/3.155, allocations: 151.8 kB / 1.402 GB, free: 60.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001116/3.155, allocations: 21.25 kB / 1.402 GB, free: 60.04 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.945e-05/3.155, allocations: 27.41 kB / 1.402 GB, free: 60.02 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007838/3.156, allocations: 1.243 MB / 1.403 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/3.156, allocations: 0 / 1.403 GB, free: 58.77 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002201/3.158, allocations: 1.374 MB / 1.405 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00034/3.159, allocations: 185.7 kB / 1.405 GB, free: 57.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001534/3.159, allocations: 7.859 kB / 1.405 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006997/3.16, allocations: 41.92 kB / 1.405 GB, free: 57.96 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/3.16, allocations: 58.2 kB / 1.405 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001014/3.16, allocations: 51.62 kB / 1.405 GB, free: 57.95 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006855/3.16, allocations: 0.5252 MB / 1.405 GB, free: 57.7 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.8e-07/3.16, allocations: 0 / 1.405 GB, free: 57.7 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003937/3.164, allocations: 1.112 MB / 1.406 GB, free: 57.43 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (junction.medium.p,junction.medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 62 * 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.006922/3.171, allocations: 3.931 MB / 1.41 GB, free: 55.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.002818/3.174, allocations: 1.448 MB / 1.412 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.216e-06/3.174, allocations: 0 / 1.412 GB, free: 55.23 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0006803/3.175, allocations: 478.3 kB / 1.412 GB, free: 55 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0026/3.178, allocations: 467.5 kB / 1.413 GB, free: 54.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00504/3.183, allocations: 1.9 MB / 1.414 GB, free: 54.11 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000599/3.183, allocations: 1.101 MB / 1.416 GB, free: 53.37 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003159/3.186, allocations: 1.356 MB / 1.417 GB, free: 53.29 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008285/3.187, allocations: 449.6 kB / 1.417 GB, free: 53.02 MB / 0.5105 GB Notification: Performance of SimCode: time 8.52e-07/3.187, allocations: 0 / 1.417 GB, free: 53.02 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09504/3.282, allocations: 47.56 MB / 1.464 GB, free: 11.95 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001782/3.283, allocations: 191.9 kB / 1.464 GB, free: 11.76 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.832/7.115, allocations: 0 / 1.464 GB, free: 11.76 MB / 0.5105 GB (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)