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.00108/0.00108, allocations: 197 kB / 14.16 MB, free: 1.16 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.299/1.299, allocations: 225.4 MB / 240.1 MB, free: 15.12 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000895/0.0008949, allocations: 86.66 kB / 292.1 MB, free: 5.969 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1964/0.1964, allocations: 45.15 MB / 389.3 MB, free: 11.88 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.499e-05/4.552e-05, allocations: 4 kB / 460.5 MB, free: 69.94 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.115/0.1151, allocations: 63.24 MB / 0.5115 GB, free: 6.711 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.29/1.405, allocations: 0.5063 GB / 1.018 GB, free: 174.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/1.405, allocations: 87.28 kB / 1.018 GB, free: 174.7 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.053/2.458, allocations: 385.5 MB / 1.394 GB, free: 5.539 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.623e-06/2.458, allocations: 4 kB / 1.394 GB, free: 5.535 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0001232/2.458, allocations: 31.92 kB / 1.394 GB, free: 5.504 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.005291/2.463, allocations: 1.738 MB / 1.396 GB, free: 3.719 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.229e-05/2.464, allocations: 8.031 kB / 1.396 GB, free: 3.711 MB / 0.5417 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003931/2.464, allocations: 122.7 kB / 1.396 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00145/2.465, allocations: 214.4 kB / 1.396 GB, free: 3.371 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002144/2.468, allocations: 0.8713 MB / 1.397 GB, free: 2.457 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.065e-05/2.468, allocations: 57.98 kB / 1.397 GB, free: 2.398 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002489/2.468, allocations: 75.97 kB / 1.397 GB, free: 2.324 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001951/2.47, allocations: 1.219 MB / 1.398 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.316e-05/2.47, allocations: 0 / 1.398 GB, free: 1.043 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/2.47, allocations: 39.94 kB / 1.399 GB, free: 1.004 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.551e-05/2.47, allocations: 81.94 kB / 1.399 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3248/2.795, allocations: 1.176 MB / 1.4 GB, free: 67.13 MB / 0.5417 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.007995/2.803, allocations: 4.85 MB / 1.404 GB, free: 64.96 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001189/2.804, allocations: 0.7037 MB / 1.405 GB, free: 64.93 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005453/2.805, allocations: 351.4 kB / 1.406 GB, free: 64.92 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002804/2.805, allocations: 355.6 kB / 1.406 GB, free: 64.55 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.408e-05/2.805, allocations: 44.31 kB / 1.406 GB, free: 64.51 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=68): time 2.715e-06/2.805, allocations: 2.812 kB / 1.406 GB, free: 64.51 MB / 0.5417 GB Notification: Performance of matching and sorting (n=73): time 0.006509/2.812, allocations: 2.423 MB / 1.408 GB, free: 63.96 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.416e-05/2.812, allocations: 220.8 kB / 1.408 GB, free: 63.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008997/2.813, allocations: 0.8124 MB / 1.409 GB, free: 63.55 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.272e-05/2.813, allocations: 45.55 kB / 1.409 GB, free: 63.52 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002517/2.813, allocations: 477.9 kB / 1.41 GB, free: 63.36 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001705/2.813, allocations: 257.8 kB / 1.41 GB, free: 63.23 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-05/2.813, allocations: 20.59 kB / 1.41 GB, free: 63.23 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 7.021e-05/2.813, allocations: 343 kB / 1.41 GB, free: 62.93 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005595/2.814, allocations: 388.6 kB / 1.411 GB, free: 62.93 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000757/2.815, allocations: 0.6117 MB / 1.411 GB, free: 62.68 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008275/2.815, allocations: 482.2 kB / 1.412 GB, free: 62.67 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.789e-06/2.815, allocations: 2.5 kB / 1.412 GB, free: 62.67 MB / 0.5417 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.002116/2.817, allocations: 1.362 MB / 1.413 GB, free: 62.56 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.000381/2.818, allocations: 2.182 MB / 1.415 GB, free: 60.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.022e-05/2.818, allocations: 6.969 kB / 1.415 GB, free: 60.29 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003/2.821, allocations: 0.6821 MB / 1.416 GB, free: 60.28 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006073/2.822, allocations: 180 kB / 1.416 GB, free: 60.28 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001256/2.823, allocations: 1.275 MB / 1.417 GB, free: 59.74 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009261/2.824, allocations: 81.06 kB / 1.417 GB, free: 59.74 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001293/2.824, allocations: 94.56 kB / 1.417 GB, free: 59.73 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 9.798e-06/2.824, allocations: 8.438 kB / 1.418 GB, free: 59.73 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001776/2.826, allocations: 1.109 MB / 1.419 GB, free: 59.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.032e-05/2.826, allocations: 10.62 kB / 1.419 GB, free: 59.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001452/2.827, allocations: 351 kB / 1.419 GB, free: 59.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007137/2.828, allocations: 202.8 kB / 1.419 GB, free: 59.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008824/2.829, allocations: 0.9627 MB / 1.42 GB, free: 59.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008567/2.83, allocations: 72.12 kB / 1.42 GB, free: 59.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001478/2.83, allocations: 93.28 kB / 1.42 GB, free: 59.17 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 () * 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.0002592/2.83, allocations: 161 kB / 1.42 GB, free: 59.06 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001822/2.83, allocations: 109.8 kB / 1.42 GB, free: 59 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003274/2.834, allocations: 1.845 MB / 1.422 GB, free: 58.89 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/2.834, allocations: 9.438 kB / 1.422 GB, free: 58.89 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/2.834, allocations: 0 / 1.422 GB, free: 58.89 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/2.834, allocations: 11.61 kB / 1.422 GB, free: 58.88 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003208/2.837, allocations: 2.427 MB / 1.425 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.311e-06/2.837, allocations: 2.812 kB / 1.425 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007702/2.838, allocations: 183.3 kB / 1.425 GB, free: 58.2 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.547e-05/2.838, allocations: 22.89 kB / 1.425 GB, free: 58.19 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.094e-05/2.838, allocations: 42.02 kB / 1.425 GB, free: 58.19 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006383/2.838, allocations: 1.281 MB / 1.426 GB, free: 56.93 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.028e-06/2.838, allocations: 5.094 kB / 1.426 GB, free: 56.93 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002162/2.841, allocations: 1.698 MB / 1.428 GB, free: 56.44 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002879/2.841, allocations: 195.7 kB / 1.428 GB, free: 56.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/2.841, allocations: 22.02 kB / 1.428 GB, free: 56.29 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007295/2.842, allocations: 55.83 kB / 1.428 GB, free: 56.29 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001578/2.842, allocations: 76.23 kB / 1.428 GB, free: 56.29 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001279/2.842, allocations: 73.89 kB / 1.428 GB, free: 56.29 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008481/2.843, allocations: 0.6373 MB / 1.429 GB, free: 56.17 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.423e-06/2.843, allocations: 0 / 1.429 GB, free: 56.17 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.003709/2.847, allocations: 1.195 MB / 1.43 GB, free: 56.17 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 () * 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.007481/2.854, allocations: 4.696 MB / 1.435 GB, free: 54.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.002733/2.857, allocations: 1.55 MB / 1.436 GB, free: 54.26 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 7.143e-06/2.857, allocations: 0 / 1.436 GB, free: 54.26 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0007512/2.858, allocations: 0.5473 MB / 1.437 GB, free: 54.16 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/2.86, allocations: 0.5815 MB / 1.437 GB, free: 54.15 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005473/2.866, allocations: 2.109 MB / 1.439 GB, free: 53.68 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000785/2.867, allocations: 1.107 MB / 1.44 GB, free: 52.98 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003869/2.871, allocations: 1.531 MB / 1.442 GB, free: 52.95 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008396/2.871, allocations: 481.9 kB / 1.442 GB, free: 52.94 MB / 0.5417 GB Notification: Performance of SimCode: time 7.92e-07/2.872, allocations: 0 / 1.442 GB, free: 52.94 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09242/2.964, allocations: 65.27 MB / 1.506 GB, free: 50.48 MB / 0.5417 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001734/2.964, allocations: 229.2 kB / 1.506 GB, free: 50.17 MB / 0.5417 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.901/6.865, allocations: 0 / 1.506 GB, free: 50.17 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)