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.001505/0.001505, allocations: 183.9 kB / 15.76 MB, free: 6.363 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.89/1.89, allocations: 205.4 MB / 221.9 MB, free: 13.83 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.0009239/0.0009242, allocations: 98.83 kB / 270.2 MB, free: 13.36 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2125/0.2125, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003028/0.0003028, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1144/0.1147, allocations: 58.86 MB / 490.3 MB, free: 8.574 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.765/1.88, allocations: 0.6357 GB / 1.115 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/1.88, allocations: 87.27 kB / 1.115 GB, free: 161.2 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.583/3.463, allocations: 420.4 MB / 1.525 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.288e-06/3.463, allocations: 0 / 1.525 GB, free: 62.07 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001264/3.464, allocations: 35.03 kB / 1.525 GB, free: 62.07 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.006976/3.471, allocations: 2.052 MB / 1.527 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 5.475e-05/3.471, allocations: 9.344 kB / 1.527 GB, free: 61.44 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002458/3.471, allocations: 130.7 kB / 1.527 GB, free: 61.4 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001235/3.472, allocations: 212.8 kB / 1.528 GB, free: 61.34 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002076/3.474, allocations: 0.8759 MB / 1.528 GB, free: 61.08 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.999e-05/3.474, allocations: 60.77 kB / 1.528 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001711/3.474, allocations: 69.72 kB / 1.529 GB, free: 61.07 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002478/3.477, allocations: 1.253 MB / 1.53 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.737e-05/3.477, allocations: 2.938 kB / 1.53 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001228/3.477, allocations: 34.36 kB / 1.53 GB, free: 60.87 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000148/3.477, allocations: 78.62 kB / 1.53 GB, free: 60.86 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002438/3.48, allocations: 1.239 MB / 1.531 GB, free: 60.86 MB / 0.5105 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.008177/3.488, allocations: 4.857 MB / 1.536 GB, free: 58.62 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/3.489, allocations: 0.728 MB / 1.537 GB, free: 58.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004136/3.49, allocations: 324.8 kB / 1.537 GB, free: 58.31 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.271e-05/3.49, allocations: 42.34 kB / 1.537 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=68): time 3.978e-06/3.49, allocations: 0 / 1.537 GB, free: 58.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=73): time 0.008549/3.498, allocations: 2.802 MB / 1.54 GB, free: 57.71 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.955e-05/3.498, allocations: 215.4 kB / 1.54 GB, free: 57.46 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001612/3.5, allocations: 0.8411 MB / 1.541 GB, free: 57.32 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0001024/3.5, allocations: 41.92 kB / 1.541 GB, free: 57.29 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003986/3.501, allocations: 469.8 kB / 1.541 GB, free: 57.12 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002854/3.501, allocations: 259.4 kB / 1.541 GB, free: 57 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.016e-05/3.501, allocations: 22.98 kB / 1.541 GB, free: 57 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001194/3.501, allocations: 340.2 kB / 1.542 GB, free: 56.69 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000855/3.502, allocations: 413.9 kB / 1.542 GB, free: 56.69 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009391/3.503, allocations: 0.6409 MB / 1.543 GB, free: 56.45 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009214/3.504, allocations: 0.4885 MB / 1.543 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.049e-05/3.504, allocations: 3.875 kB / 1.543 GB, free: 56.44 MB / 0.5105 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002649/3.507, allocations: 1.416 MB / 1.545 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007933/3.507, allocations: 2.186 MB / 1.547 GB, free: 54.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.687e-05/3.507, allocations: 8.531 kB / 1.547 GB, free: 54.05 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003665/3.511, allocations: 0.7113 MB / 1.547 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006579/3.512, allocations: 178.8 kB / 1.548 GB, free: 54.04 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/3.513, allocations: 1.27 MB / 1.549 GB, free: 53.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001401/3.515, allocations: 76.12 kB / 1.549 GB, free: 53.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002057/3.515, allocations: 91.73 kB / 1.549 GB, free: 53.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.973e-05/3.515, allocations: 5.562 kB / 1.549 GB, free: 53.5 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002151/3.517, allocations: 1.166 MB / 1.55 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/3.517, allocations: 4.875 kB / 1.55 GB, free: 53.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001595/3.519, allocations: 367.5 kB / 1.55 GB, free: 53.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006847/3.519, allocations: 204.5 kB / 1.551 GB, free: 53.45 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009968/3.52, allocations: 0.963 MB / 1.552 GB, free: 52.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001288/3.522, allocations: 72.36 kB / 1.552 GB, free: 52.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/3.522, allocations: 88.94 kB / 1.552 GB, free: 52.92 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 () * 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.0009492/3.523, allocations: 376.9 kB / 1.552 GB, free: 52.73 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003498/3.523, allocations: 110.8 kB / 1.552 GB, free: 52.68 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003225/3.526, allocations: 1.356 MB / 1.554 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.55e-05/3.527, allocations: 11.64 kB / 1.554 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.001e-05/3.527, allocations: 0 / 1.554 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.949e-06/3.527, allocations: 3.281 kB / 1.554 GB, free: 52.57 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/3.531, allocations: 2.123 MB / 1.556 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.564e-06/3.531, allocations: 3.75 kB / 1.556 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007416/3.532, allocations: 176.1 kB / 1.556 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001029/3.532, allocations: 23.83 kB / 1.556 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.953e-05/3.532, allocations: 38.2 kB / 1.556 GB, free: 52.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008349/3.533, allocations: 1.287 MB / 1.557 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.491e-06/3.533, allocations: 5.094 kB / 1.557 GB, free: 50.95 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002536/3.535, allocations: 1.662 MB / 1.559 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004732/3.536, allocations: 186.6 kB / 1.559 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002567/3.536, allocations: 19.97 kB / 1.559 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000892/3.537, allocations: 59 kB / 1.559 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001367/3.537, allocations: 66.02 kB / 1.559 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001209/3.537, allocations: 73.84 kB / 1.559 GB, free: 50.42 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0009312/3.538, allocations: 0.6451 MB / 1.56 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.705e-06/3.538, allocations: 0 / 1.56 GB, free: 50.31 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.004928/3.543, allocations: 1.286 MB / 1.561 GB, free: 50.15 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 () * 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.00926/3.552, allocations: 4.484 MB / 1.565 GB, free: 48.57 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.00404/3.557, allocations: 1.584 MB / 1.567 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/3.557, allocations: 3.5 kB / 1.567 GB, free: 48.54 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/3.558, allocations: 0.556 MB / 1.568 GB, free: 48.43 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003467/3.561, allocations: 0.5878 MB / 1.568 GB, free: 48.41 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009543/3.571, allocations: 7.041 MB / 1.575 GB, free: 43.2 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006938/3.571, allocations: 1.105 MB / 1.576 GB, free: 42.49 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002823/3.574, allocations: 0.5788 MB / 1.577 GB, free: 42.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009614/3.575, allocations: 459.5 kB / 1.577 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of SimCode: time 1.353e-06/3.575, allocations: 0 / 1.577 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/3.695, allocations: 62.06 MB / 1.638 GB, free: 39.32 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002475/3.695, allocations: 272 kB / 1.638 GB, free: 38.96 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.274/7.969, allocations: 4 kB / 1.638 GB, free: 38.96 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)