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.001111/0.001111, allocations: 183.1 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.546/1.546, allocations: 205.2 MB / 218.9 MB, free: 9.199 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000871/0.0008709, allocations: 90.59 kB / 267 MB, free: 9.273 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.4083/0.4083, allocations: 43.47 MB / 358.6 MB, free: 51.55 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 5.227e-05/5.291e-05, allocations: 4 kB / 425.4 MB, free: 8.074 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1612, allocations: 58.83 MB / 484.2 MB, free: 13.14 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.687/1.848, allocations: 0.6029 GB / 1.076 GB, free: 17.52 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/1.849, allocations: 91.16 kB / 1.076 GB, free: 17.47 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.794/3.642, allocations: 412.2 MB / 1.478 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.425e-06/3.642, allocations: 0 / 1.478 GB, free: 28.47 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001875/3.643, allocations: 24 kB / 1.478 GB, free: 28.45 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.008107/3.651, allocations: 1.897 MB / 1.48 GB, free: 26.5 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 6.185e-05/3.651, allocations: 11.97 kB / 1.48 GB, free: 26.49 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006635/3.651, allocations: 126.7 kB / 1.48 GB, free: 26.36 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002055/3.654, allocations: 218.4 kB / 1.481 GB, free: 26.14 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003528/3.657, allocations: 0.8714 MB / 1.481 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001166/3.657, allocations: 57.98 kB / 1.482 GB, free: 25.18 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004833/3.658, allocations: 75.89 kB / 1.482 GB, free: 25.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002831/3.661, allocations: 1.219 MB / 1.483 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.34e-05/3.661, allocations: 0 / 1.483 GB, free: 23.82 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001164/3.661, allocations: 35.97 kB / 1.483 GB, free: 23.78 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001165/3.661, allocations: 81.89 kB / 1.483 GB, free: 23.7 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/3.663, allocations: 1.175 MB / 1.484 GB, free: 22.52 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.007855/3.671, allocations: 4.866 MB / 1.489 GB, free: 17.39 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009765/3.672, allocations: 0.7025 MB / 1.489 GB, free: 16.68 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004498/3.672, allocations: 354.4 kB / 1.49 GB, free: 16.33 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003321/3.672, allocations: 326.2 kB / 1.49 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.306e-05/3.672, allocations: 43.12 kB / 1.49 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 2.765e-06/3.672, allocations: 0 / 1.49 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73): time 0.006405/3.679, allocations: 2.408 MB / 1.493 GB, free: 13.41 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.871e-05/3.679, allocations: 214.4 kB / 1.493 GB, free: 13.15 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00101/3.68, allocations: 0.8171 MB / 1.494 GB, free: 12.31 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 7.314e-05/3.68, allocations: 49.7 kB / 1.494 GB, free: 12.26 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003062/3.68, allocations: 467.6 kB / 1.494 GB, free: 11.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/3.68, allocations: 264.2 kB / 1.494 GB, free: 11.54 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/3.681, allocations: 16 kB / 1.494 GB, free: 11.52 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001252/3.681, allocations: 345.9 kB / 1.495 GB, free: 11.18 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000575/3.681, allocations: 385.9 kB / 1.495 GB, free: 10.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000685/3.682, allocations: 0.6144 MB / 1.496 GB, free: 10.09 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007012/3.683, allocations: 477.9 kB / 1.496 GB, free: 9.629 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/3.683, allocations: 4 kB / 1.496 GB, free: 9.625 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002018/3.685, allocations: 1.354 MB / 1.497 GB, free: 8.254 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007125/3.685, allocations: 2.179 MB / 1.5 GB, free: 5.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.547e-05/3.685, allocations: 11.98 kB / 1.5 GB, free: 5.898 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00333/3.689, allocations: 0.6928 MB / 1.5 GB, free: 5.203 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006285/3.689, allocations: 171.8 kB / 1.5 GB, free: 5.035 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001381/3.691, allocations: 1.279 MB / 1.502 GB, free: 3.727 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001014/3.692, allocations: 75.94 kB / 1.502 GB, free: 3.652 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001307/3.692, allocations: 87.98 kB / 1.502 GB, free: 3.566 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/3.692, allocations: 4 kB / 1.502 GB, free: 3.562 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001643/3.694, allocations: 1.108 MB / 1.503 GB, free: 2.449 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.201e-06/3.694, allocations: 7.938 kB / 1.503 GB, free: 2.441 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001346/3.695, allocations: 365 kB / 1.503 GB, free: 2.082 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006144/3.696, allocations: 187.8 kB / 1.503 GB, free: 1.898 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008237/3.697, allocations: 0.9698 MB / 1.504 GB, free: 0.9023 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009322/3.697, allocations: 75.78 kB / 1.504 GB, free: 0.8281 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/3.698, allocations: 92.05 kB / 1.504 GB, free: 0.7383 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.0002611/3.698, allocations: 150 kB / 1.505 GB, free: 0.5859 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001705/3.698, allocations: 106.8 kB / 1.505 GB, free: 492 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4101/4.108, allocations: 1.314 MB / 1.506 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/4.108, allocations: 7.25 kB / 1.506 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.789e-06/4.108, allocations: 1.906 kB / 1.506 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/4.108, allocations: 3.047 kB / 1.506 GB, free: 57.13 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004556/4.113, allocations: 2.065 MB / 1.508 GB, free: 56.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.147e-06/4.113, allocations: 2.406 kB / 1.508 GB, free: 56.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008957/4.114, allocations: 180.6 kB / 1.508 GB, free: 56.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001219/4.114, allocations: 21.27 kB / 1.508 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.71e-05/4.114, allocations: 37.12 kB / 1.508 GB, free: 56.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000844/4.115, allocations: 1.282 MB / 1.51 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/4.115, allocations: 5.891 kB / 1.51 GB, free: 55.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003145/4.118, allocations: 1.591 MB / 1.511 GB, free: 55.25 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005836/4.119, allocations: 197.4 kB / 1.511 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001688/4.119, allocations: 14.56 kB / 1.511 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008167/4.12, allocations: 58.38 kB / 1.511 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002107/4.12, allocations: 67.62 kB / 1.511 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001763/4.12, allocations: 73.22 kB / 1.511 GB, free: 55.15 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001551/4.122, allocations: 0.6395 MB / 1.512 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.11e-07/4.122, allocations: 0 / 1.512 GB, free: 55.03 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.005813/4.127, allocations: 1.279 MB / 1.513 GB, free: 55.03 MB / 0.5105 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 () * 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.007916/4.135, allocations: 4.424 MB / 1.518 GB, free: 53.63 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.003553/4.139, allocations: 1.539 MB / 1.519 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.254e-05/4.139, allocations: 2.594 kB / 1.519 GB, free: 53.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0009132/4.14, allocations: 0.539 MB / 1.52 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00323/4.143, allocations: 0.5838 MB / 1.52 GB, free: 53.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006015/4.149, allocations: 2.082 MB / 1.522 GB, free: 53.07 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006808/4.15, allocations: 1.108 MB / 1.523 GB, free: 52.36 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002941/4.153, allocations: 0.6472 MB / 1.524 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009343/4.154, allocations: 445.6 kB / 1.524 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of SimCode: time 1.342e-06/4.154, allocations: 2.156 kB / 1.524 GB, free: 52.34 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1485/4.302, allocations: 67.25 MB / 1.59 GB, free: 49.45 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001905/4.302, allocations: 238.5 kB / 1.59 GB, free: 49.14 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.371/8.673, allocations: 0 / 1.59 GB, free: 49.14 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)