Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001598, allocations: 198.9 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.514/1.514, allocations: 227.2 MB / 245 MB, free: 7.664 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001013/0.001013, allocations: 108.2 kB / 297.3 MB, free: 6.195 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.463/0.463, allocations: 45.23 MB / 394.6 MB, free: 31.71 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002811/0.000281, allocations: 12 kB / 468.5 MB, free: 7.645 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5194/0.5197, allocations: 63.24 MB / 0.5193 GB, free: 43.94 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.357/1.877, allocations: 0.5063 GB / 1.026 GB, free: 113.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002966/1.877, allocations: 93.09 kB / 1.026 GB, free: 113.1 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.686/3.563, allocations: 386.4 MB / 1.403 GB, free: 71.41 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.805e-06/3.563, allocations: 0 / 1.403 GB, free: 71.41 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002422/3.564, allocations: 28.81 kB / 1.403 GB, free: 71.41 MB / 0.5417 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.008272/3.572, allocations: 1.889 MB / 1.405 GB, free: 70.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.71e-05/3.572, allocations: 8.906 kB / 1.405 GB, free: 70.62 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007337/3.573, allocations: 127.2 kB / 1.405 GB, free: 70.58 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/3.575, allocations: 217.2 kB / 1.405 GB, free: 70.52 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003182/3.578, allocations: 0.8754 MB / 1.406 GB, free: 70.26 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001073/3.578, allocations: 59.28 kB / 1.406 GB, free: 70.26 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003831/3.578, allocations: 68.95 kB / 1.406 GB, free: 70.26 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00315/3.581, allocations: 1.256 MB / 1.407 GB, free: 70.05 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.606e-05/3.582, allocations: 2.562 kB / 1.407 GB, free: 70.05 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002469/3.582, allocations: 31.61 kB / 1.407 GB, free: 70.05 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/3.582, allocations: 83.91 kB / 1.408 GB, free: 70.05 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/3.585, allocations: 1.245 MB / 1.409 GB, free: 70.04 MB / 0.5417 GB 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.00937/3.594, allocations: 4.847 MB / 1.414 GB, free: 67.81 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001352/3.596, allocations: 0.7266 MB / 1.414 GB, free: 67.79 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003399/3.596, allocations: 354.7 kB / 1.415 GB, free: 67.41 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.853e-05/3.596, allocations: 45.05 kB / 1.415 GB, free: 67.37 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 3.276e-06/3.596, allocations: 0 / 1.415 GB, free: 67.37 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.008761/3.605, allocations: 2.837 MB / 1.417 GB, free: 66.78 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.663e-05/3.605, allocations: 215.2 kB / 1.418 GB, free: 66.52 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001722/3.607, allocations: 0.8302 MB / 1.418 GB, free: 66.37 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001323/3.607, allocations: 44.08 kB / 1.418 GB, free: 66.34 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004355/3.607, allocations: 476.2 kB / 1.419 GB, free: 66.15 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002652/3.607, allocations: 262.4 kB / 1.419 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.047e-05/3.608, allocations: 13.38 kB / 1.419 GB, free: 65.99 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.569e-05/3.608, allocations: 348.4 kB / 1.419 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007942/3.608, allocations: 408.9 kB / 1.42 GB, free: 65.68 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009562/3.609, allocations: 0.6472 MB / 1.421 GB, free: 65.43 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009485/3.61, allocations: 0.4937 MB / 1.421 GB, free: 65.42 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.696e-06/3.61, allocations: 0 / 1.421 GB, free: 65.42 MB / 0.5417 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.00274/3.613, allocations: 1.416 MB / 1.422 GB, free: 65.3 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006104/3.614, allocations: 2.192 MB / 1.425 GB, free: 63.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.417e-05/3.614, allocations: 9.688 kB / 1.425 GB, free: 63.03 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00362/3.617, allocations: 0.6947 MB / 1.425 GB, free: 63.02 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008861/3.618, allocations: 181.3 kB / 1.425 GB, free: 63.02 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001837/3.62, allocations: 1.295 MB / 1.427 GB, free: 62.48 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00163/3.622, allocations: 80.27 kB / 1.427 GB, free: 62.47 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/3.622, allocations: 90.14 kB / 1.427 GB, free: 62.47 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.417e-05/3.622, allocations: 3.188 kB / 1.427 GB, free: 62.47 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00243/3.625, allocations: 1.171 MB / 1.428 GB, free: 62.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.286e-05/3.625, allocations: 3.688 kB / 1.428 GB, free: 62.44 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001731/3.626, allocations: 368.2 kB / 1.428 GB, free: 62.43 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007918/3.627, allocations: 200.5 kB / 1.428 GB, free: 62.43 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001051/3.628, allocations: 0.9693 MB / 1.429 GB, free: 61.9 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001521/3.63, allocations: 66.88 kB / 1.43 GB, free: 61.9 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002068/3.63, allocations: 94.16 kB / 1.43 GB, free: 61.9 MB / 0.5417 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 () * Number of clocked 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.000988/3.631, allocations: 366.2 kB / 1.43 GB, free: 61.71 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005073/3.631, allocations: 109.2 kB / 1.43 GB, free: 61.65 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004654/3.636, allocations: 1.895 MB / 1.432 GB, free: 61.53 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.787e-05/3.636, allocations: 9.891 kB / 1.432 GB, free: 61.53 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.745e-05/3.636, allocations: 2.781 kB / 1.432 GB, free: 61.53 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.53e-05/3.636, allocations: 5.812 kB / 1.432 GB, free: 61.53 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005479/3.642, allocations: 2.467 MB / 1.434 GB, free: 60.83 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.159e-05/3.642, allocations: 3.5 kB / 1.434 GB, free: 60.83 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008413/3.643, allocations: 180.2 kB / 1.435 GB, free: 60.83 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001378/3.643, allocations: 31.61 kB / 1.435 GB, free: 60.82 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001044/3.643, allocations: 35.36 kB / 1.435 GB, free: 60.82 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009185/3.644, allocations: 1.29 MB / 1.436 GB, free: 59.57 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.692e-06/3.644, allocations: 6.531 kB / 1.436 GB, free: 59.57 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003191/3.647, allocations: 1.761 MB / 1.438 GB, free: 59.08 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008647/3.648, allocations: 192 kB / 1.438 GB, free: 58.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005049/3.648, allocations: 23.62 kB / 1.438 GB, free: 58.93 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001397/3.65, allocations: 62.89 kB / 1.438 GB, free: 58.92 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001975/3.65, allocations: 69.55 kB / 1.438 GB, free: 58.92 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002068/3.65, allocations: 76.11 kB / 1.438 GB, free: 58.92 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001685/3.652, allocations: 0.6485 MB / 1.439 GB, free: 58.81 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.51e-07/3.652, allocations: 0 / 1.439 GB, free: 58.81 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.007312/3.659, allocations: 1.195 MB / 1.44 GB, free: 58.61 MB / 0.5417 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 () * 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.01013/3.669, allocations: 4.76 MB / 1.444 GB, free: 56.52 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003886/3.673, allocations: 1.592 MB / 1.446 GB, free: 56.5 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.788e-06/3.673, allocations: 0 / 1.446 GB, free: 56.5 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001185/3.675, allocations: 0.5685 MB / 1.447 GB, free: 56.38 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004486/3.679, allocations: 0.5939 MB / 1.447 GB, free: 56.37 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01141/3.691, allocations: 7.054 MB / 1.454 GB, free: 51.06 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008015/3.691, allocations: 1.101 MB / 1.455 GB, free: 50.36 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.004035/3.695, allocations: 1.465 MB / 1.456 GB, free: 50.31 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001266/3.697, allocations: 498.5 kB / 1.457 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of SimCode: time 2.886e-06/3.697, allocations: 0 / 1.457 GB, free: 50.3 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1183/3.815, allocations: 60.18 MB / 1.516 GB, free: 31.19 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000261/3.815, allocations: 271.1 kB / 1.516 GB, free: 30.83 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.611/8.427, allocations: 4 kB / 1.516 GB, free: 30.83 MB / 0.5417 GB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_TestComponents_Fittings_TestJunctionVolume.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1)