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.001556/0.001556, allocations: 180.5 kB / 14.15 MB, free: 1.176 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 221.3 MB / 236 MB, free: 2.961 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.0008412/0.0008413, allocations: 91.67 kB / 287 MB, free: 244 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2091/0.2091, allocations: 44.15 MB / 382 MB, free: 14.68 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 4.596e-05/4.61e-05, allocations: 4.219 kB / 451.9 MB, free: 9.324 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1506/0.1506, allocations: 61.92 MB / 0.5018 GB, free: 11.35 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.61/1.76, allocations: 0.5052 GB / 1.007 GB, free: 114.9 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003394/1.761, allocations: 83.39 kB / 1.007 GB, free: 114.8 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.707/3.468, allocations: 385.3 MB / 1.383 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.423e-06/3.468, allocations: 3.312 kB / 1.383 GB, free: 71.95 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 9.365e-05/3.468, allocations: 38.73 kB / 1.383 GB, free: 71.95 MB / 0.5261 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.005383/3.473, allocations: 1.734 MB / 1.385 GB, free: 71.21 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.1e-05/3.474, allocations: 11.03 kB / 1.385 GB, free: 71.2 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001999/3.474, allocations: 123.1 kB / 1.385 GB, free: 71.16 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001252/3.475, allocations: 217.3 kB / 1.385 GB, free: 71.1 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001984/3.477, allocations: 0.8633 MB / 1.386 GB, free: 70.84 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.825e-05/3.477, allocations: 61.23 kB / 1.386 GB, free: 70.84 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/3.477, allocations: 69.78 kB / 1.386 GB, free: 70.84 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001911/3.479, allocations: 1.229 MB / 1.388 GB, free: 70.63 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.628e-05/3.479, allocations: 5.031 kB / 1.388 GB, free: 70.63 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001142/3.479, allocations: 30.09 kB / 1.388 GB, free: 70.63 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001024/3.479, allocations: 79.33 kB / 1.388 GB, free: 70.62 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001706/3.481, allocations: 1.185 MB / 1.389 GB, free: 70.62 MB / 0.5261 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.006845/3.488, allocations: 4.855 MB / 1.394 GB, free: 68.38 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001052/3.489, allocations: 0.6996 MB / 1.394 GB, free: 68.36 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000478/3.49, allocations: 354.6 kB / 1.395 GB, free: 68.34 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003135/3.49, allocations: 360.2 kB / 1.395 GB, free: 67.97 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.712e-05/3.49, allocations: 44.91 kB / 1.395 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=68): time 3.426e-06/3.49, allocations: 3.906 kB / 1.395 GB, free: 67.92 MB / 0.5261 GB Notification: Performance of matching and sorting (n=73): time 0.006672/3.497, allocations: 2.415 MB / 1.397 GB, free: 67.36 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.474e-05/3.497, allocations: 219.8 kB / 1.398 GB, free: 67.11 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/3.498, allocations: 0.8171 MB / 1.398 GB, free: 66.95 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 8.086e-05/3.498, allocations: 39.55 kB / 1.398 GB, free: 66.92 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002941/3.498, allocations: 481.6 kB / 1.399 GB, free: 66.73 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001927/3.498, allocations: 261.7 kB / 1.399 GB, free: 66.56 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.388e-05/3.498, allocations: 17.75 kB / 1.399 GB, free: 66.56 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.702e-05/3.499, allocations: 344.5 kB / 1.399 GB, free: 66.26 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005963/3.499, allocations: 387 kB / 1.4 GB, free: 66.26 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006985/3.5, allocations: 0.6083 MB / 1.4 GB, free: 66 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006849/3.501, allocations: 483.4 kB / 1.401 GB, free: 65.99 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.609e-06/3.501, allocations: 3.5 kB / 1.401 GB, free: 65.99 MB / 0.5261 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002122/3.503, allocations: 1.356 MB / 1.402 GB, free: 65.88 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005342/3.503, allocations: 2.185 MB / 1.404 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/3.503, allocations: 6.781 kB / 1.404 GB, free: 63.61 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003211/3.506, allocations: 0.6855 MB / 1.405 GB, free: 63.6 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006711/3.507, allocations: 178.8 kB / 1.405 GB, free: 63.6 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001438/3.509, allocations: 1.285 MB / 1.406 GB, free: 63.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001165/3.51, allocations: 73.64 kB / 1.407 GB, free: 63.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001481/3.51, allocations: 94.2 kB / 1.407 GB, free: 63.05 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/3.51, allocations: 3.219 kB / 1.407 GB, free: 63.05 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001811/3.512, allocations: 1.111 MB / 1.408 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/3.512, allocations: 11.52 kB / 1.408 GB, free: 63.02 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001374/3.513, allocations: 362.9 kB / 1.408 GB, free: 63 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006641/3.514, allocations: 205.5 kB / 1.408 GB, free: 63 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008369/3.515, allocations: 0.9528 MB / 1.409 GB, free: 62.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001065/3.516, allocations: 79.06 kB / 1.409 GB, free: 62.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/3.516, allocations: 97.08 kB / 1.409 GB, free: 62.47 MB / 0.5261 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.0003131/3.516, allocations: 160.9 kB / 1.41 GB, free: 62.36 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001872/3.516, allocations: 110.3 kB / 1.41 GB, free: 62.3 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003218/3.52, allocations: 1.831 MB / 1.411 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.116e-05/3.52, allocations: 7.719 kB / 1.411 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/3.52, allocations: 2.438 kB / 1.411 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.14e-05/3.52, allocations: 13.14 kB / 1.411 GB, free: 62.18 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003379/3.523, allocations: 2.421 MB / 1.414 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.07e-06/3.523, allocations: 3.188 kB / 1.414 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007347/3.524, allocations: 182.2 kB / 1.414 GB, free: 61.48 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.634e-05/3.524, allocations: 24.97 kB / 1.414 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/3.524, allocations: 37.08 kB / 1.414 GB, free: 61.47 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007082/3.525, allocations: 1.285 MB / 1.415 GB, free: 60.22 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/3.525, allocations: 9.344 kB / 1.415 GB, free: 60.22 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002053/3.527, allocations: 1.694 MB / 1.417 GB, free: 59.73 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003863/3.527, allocations: 191.2 kB / 1.417 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001533/3.527, allocations: 18.72 kB / 1.417 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007312/3.528, allocations: 57.8 kB / 1.417 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001653/3.528, allocations: 75.17 kB / 1.417 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001233/3.528, allocations: 72.69 kB / 1.417 GB, free: 59.58 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0008383/3.529, allocations: 0.6376 MB / 1.418 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.272e-06/3.529, allocations: 0 / 1.418 GB, free: 59.46 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.004461/3.534, allocations: 1.194 MB / 1.419 GB, free: 59.25 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (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.006896/3.541, allocations: 4.693 MB / 1.424 GB, free: 57.15 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.003034/3.544, allocations: 1.553 MB / 1.425 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.097e-05/3.544, allocations: 3.938 kB / 1.425 GB, free: 57.11 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0008403/3.545, allocations: 0.5385 MB / 1.426 GB, free: 57.01 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003166/3.548, allocations: 0.5839 MB / 1.426 GB, free: 57 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005237/3.553, allocations: 2.09 MB / 1.428 GB, free: 56.31 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000524/3.554, allocations: 1.111 MB / 1.429 GB, free: 55.61 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.003375/3.557, allocations: 1.534 MB / 1.431 GB, free: 55.56 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008674/3.558, allocations: 476.8 kB / 1.431 GB, free: 55.56 MB / 0.5261 GB Notification: Performance of SimCode: time 2.805e-06/3.558, allocations: 0 / 1.431 GB, free: 55.56 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1121/3.67, allocations: 65.35 MB / 1.495 GB, free: 22.27 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002207/3.67, allocations: 240.7 kB / 1.495 GB, free: 21.96 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.325/7.995, allocations: 0 / 1.495 GB, free: 21.96 MB / 0.5261 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)