Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001629/0.001629, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.636/1.636, allocations: 205.3 MB / 213.7 MB, free: 1.738 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008086/0.0008086, allocations: 86.62 kB / 261.8 MB, free: 1.688 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2339/0.2339, allocations: 43.49 MB / 353.2 MB, free: 300 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.466e-05/2.468e-05, allocations: 0 / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1232/0.1233, allocations: 58.86 MB / 477.2 MB, free: 1.543 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.575/1.698, allocations: 0.6022 GB / 1.068 GB, free: 30.17 MB / 0.4948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003183/1.699, allocations: 95.38 kB / 1.068 GB, free: 30.08 MB / 0.4948 GB Notification: Performance of FrontEnd - DAE generated: time 1.625/3.323, allocations: 407.8 MB / 1.467 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of FrontEnd: time 2.194e-06/3.323, allocations: 0 / 1.467 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of Transformations before backend: time 9.391e-05/3.324, allocations: 31.98 kB / 1.467 GB, free: 14.71 MB / 0.4948 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.005843/3.329, allocations: 1.894 MB / 1.468 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.774e-05/3.329, allocations: 12.03 kB / 1.468 GB, free: 12.76 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001229/3.331, allocations: 206.5 kB / 1.469 GB, free: 12.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00188/3.333, allocations: 0.8714 MB / 1.47 GB, free: 11.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.13e-05/3.333, allocations: 24 kB / 1.47 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001138/3.333, allocations: 47.89 kB / 1.47 GB, free: 11.57 MB / 0.4948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001484/3.334, allocations: 1.031 MB / 1.471 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001487/3.336, allocations: 1.118 MB / 1.472 GB, free: 9.363 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.782e-05/3.336, allocations: 3.938 kB / 1.472 GB, free: 9.359 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.901e-05/3.336, allocations: 4 kB / 1.472 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001009/3.336, allocations: 85.89 kB / 1.472 GB, free: 9.27 MB / 0.4948 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.006538/3.343, allocations: 4.818 MB / 1.476 GB, free: 4.188 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006875/3.343, allocations: 0.5235 MB / 1.477 GB, free: 3.656 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003456/3.344, allocations: 306.4 kB / 1.477 GB, free: 3.355 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003042/3.344, allocations: 314.2 kB / 1.478 GB, free: 2.992 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.341e-05/3.344, allocations: 51.06 kB / 1.478 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=56): time 2.776e-06/3.344, allocations: 0 / 1.478 GB, free: 2.934 MB / 0.4948 GB Notification: Performance of matching and sorting (n=61): time 0.007711/3.352, allocations: 2.379 MB / 1.48 GB, free: 484 kB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.057e-05/3.352, allocations: 214.2 kB / 1.48 GB, free: 220 kB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001002/3.353, allocations: 0.6918 MB / 1.481 GB, free: 15.52 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 6.888e-05/3.353, allocations: 33.7 kB / 1.481 GB, free: 15.48 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004201/3.353, allocations: 0.5101 MB / 1.481 GB, free: 14.96 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001979/3.353, allocations: 209 kB / 1.482 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.9e-05/3.354, allocations: 0 / 1.482 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001677/3.354, allocations: 341.9 kB / 1.482 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005964/3.354, allocations: 382.5 kB / 1.482 GB, free: 14.04 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008308/3.355, allocations: 0.6071 MB / 1.483 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008754/3.364, allocations: 1.885 MB / 1.485 GB, free: 11.45 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.248e-05/3.364, allocations: 7.938 kB / 1.485 GB, free: 11.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.01086/3.375, allocations: 2.717 MB / 1.487 GB, free: 8.703 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.001108/3.376, allocations: 2.18 MB / 1.489 GB, free: 6.355 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.095e-05/3.376, allocations: 12 kB / 1.489 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/3.378, allocations: 484.5 kB / 1.49 GB, free: 5.867 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/3.379, allocations: 171.7 kB / 1.49 GB, free: 5.699 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002622/3.382, allocations: 1.443 MB / 1.492 GB, free: 4.227 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/3.383, allocations: 59.84 kB / 1.492 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001595/3.383, allocations: 87.98 kB / 1.492 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.431e-05/3.383, allocations: 7.938 kB / 1.492 GB, free: 4.074 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009608/3.393, allocations: 2.392 MB / 1.494 GB, free: 1.676 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.834e-05/3.393, allocations: 8 kB / 1.494 GB, free: 1.668 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001451/3.394, allocations: 324.9 kB / 1.494 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007992/3.395, allocations: 203.7 kB / 1.495 GB, free: 1.148 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001149/3.396, allocations: 0.9855 MB / 1.495 GB, free: 140 kB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/3.397, allocations: 55.91 kB / 1.496 GB, free: 84 kB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.4273/3.825, allocations: 86.59 kB / 1.496 GB, free: 69.22 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.0009177/3.826, allocations: 125.5 kB / 1.496 GB, free: 69.11 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003012/3.829, allocations: 0.8259 MB / 1.497 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000169/3.829, allocations: 95.55 kB / 1.497 GB, free: 69.07 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002972/3.832, allocations: 1.078 MB / 1.498 GB, free: 69 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.382e-05/3.832, allocations: 8.344 kB / 1.498 GB, free: 69 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.034e-05/3.832, allocations: 4.484 kB / 1.498 GB, free: 69 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.001e-05/3.832, allocations: 3.609 kB / 1.498 GB, free: 69 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003861/3.836, allocations: 1.829 MB / 1.499 GB, free: 68.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.772e-06/3.836, allocations: 3.875 kB / 1.499 GB, free: 68.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006868/3.836, allocations: 149.1 kB / 1.5 GB, free: 68.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001043/3.837, allocations: 23.72 kB / 1.5 GB, free: 68.69 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.1e-05/3.837, allocations: 19.34 kB / 1.5 GB, free: 68.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006862/3.837, allocations: 1.233 MB / 1.501 GB, free: 67.52 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.995e-06/3.837, allocations: 3.719 kB / 1.501 GB, free: 67.52 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/3.84, allocations: 1.383 MB / 1.502 GB, free: 67.31 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003746/3.84, allocations: 185.4 kB / 1.502 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001501/3.84, allocations: 3.531 kB / 1.502 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007255/3.841, allocations: 52.48 kB / 1.502 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001299/3.841, allocations: 50.22 kB / 1.503 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/3.841, allocations: 56.91 kB / 1.503 GB, free: 67.17 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0007788/3.842, allocations: 0.5175 MB / 1.503 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.533e-06/3.842, allocations: 1.312 kB / 1.503 GB, free: 67.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005063/3.847, allocations: 1.208 MB / 1.504 GB, free: 67.08 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.009523/3.857, allocations: 4.124 MB / 1.508 GB, free: 66.04 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003672/3.861, allocations: 1.436 MB / 1.51 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.095e-06/3.861, allocations: 3.312 kB / 1.51 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0008045/3.861, allocations: 472.7 kB / 1.51 GB, free: 65.93 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002866/3.864, allocations: 467.7 kB / 1.511 GB, free: 65.91 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006272/3.871, allocations: 1.957 MB / 1.512 GB, free: 65.52 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009053/3.871, allocations: 1.102 MB / 1.514 GB, free: 64.82 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002809/3.874, allocations: 0.5699 MB / 1.514 GB, free: 64.8 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008693/3.875, allocations: 422 kB / 1.515 GB, free: 64.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.152e-06/3.875, allocations: 4.656 kB / 1.515 GB, free: 64.8 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09789/3.973, allocations: 48.91 MB / 1.562 GB, free: 62.61 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001863/3.973, allocations: 184.9 kB / 1.562 GB, free: 62.42 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.909/7.882, allocations: 4 kB / 1.562 GB, free: 62.41 MB / 0.5105 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)