Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.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: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001284/0.001284, allocations: 201.1 kB / 18.11 MB, free: 3.734 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.411/1.411, allocations: 226.5 MB / 245.4 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009296/0.0009299, allocations: 109.7 kB / 297.5 MB, free: 6.895 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3852/0.3852, allocations: 44.83 MB / 394.3 MB, free: 35.7 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000469/0.0004692, allocations: 11.98 kB / 467.9 MB, free: 12.03 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4699/0.4704, allocations: 62.96 MB / 0.5184 GB, free: 37.38 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.213/1.683, allocations: 0.5024 GB / 1.021 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004372/1.684, allocations: 91.12 kB / 1.021 GB, free: 103.4 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.529/3.213, allocations: 330.5 MB / 1.344 GB, free: 83.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 5.601e-06/3.213, allocations: 3.75 kB / 1.344 GB, free: 83.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0002556/3.213, allocations: 32.31 kB / 1.344 GB, free: 83.7 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: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.007744/3.221, allocations: 1.588 MB / 1.345 GB, free: 83.24 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.053e-05/3.221, allocations: 11.41 kB / 1.345 GB, free: 83.24 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001514/3.223, allocations: 204.1 kB / 1.345 GB, free: 83.19 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002142/3.225, allocations: 0.8369 MB / 1.346 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.336e-05/3.225, allocations: 51.67 kB / 1.346 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001507/3.225, allocations: 59.02 kB / 1.346 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002332/3.228, allocations: 1.177 MB / 1.348 GB, free: 82.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.685e-05/3.228, allocations: 3.938 kB / 1.348 GB, free: 82.72 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001158/3.228, allocations: 31.45 kB / 1.348 GB, free: 82.72 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001715/3.228, allocations: 76.86 kB / 1.348 GB, free: 82.72 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002049/3.23, allocations: 1.176 MB / 1.349 GB, free: 82.71 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.007966/3.238, allocations: 4.334 MB / 1.353 GB, free: 80.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001305/3.239, allocations: 0.7634 MB / 1.354 GB, free: 80.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000597/3.24, allocations: 366.9 kB / 1.354 GB, free: 80.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003241/3.24, allocations: 353.9 kB / 1.354 GB, free: 80.51 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.525e-05/3.24, allocations: 44.94 kB / 1.355 GB, free: 80.47 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0009104/3.241, allocations: 123.9 kB / 1.355 GB, free: 80.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=61): time 4.088e-06/3.241, allocations: 0 / 1.355 GB, free: 80.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=61): time 0.006763/3.248, allocations: 2.142 MB / 1.357 GB, free: 80.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/3.248, allocations: 214.3 kB / 1.357 GB, free: 80 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/3.25, allocations: 0.8802 MB / 1.358 GB, free: 79.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001122/3.25, allocations: 38.2 kB / 1.358 GB, free: 79.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003413/3.25, allocations: 443.4 kB / 1.358 GB, free: 79.67 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002249/3.25, allocations: 212.6 kB / 1.358 GB, free: 79.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/3.25, allocations: 16.88 kB / 1.358 GB, free: 79.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001157/3.251, allocations: 336.7 kB / 1.359 GB, free: 79.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006651/3.251, allocations: 391.5 kB / 1.359 GB, free: 79.26 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007976/3.252, allocations: 0.5741 MB / 1.36 GB, free: 79.05 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001505/3.254, allocations: 0.9305 MB / 1.361 GB, free: 78.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/3.254, allocations: 0 / 1.361 GB, free: 78.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002569/3.256, allocations: 1.289 MB / 1.362 GB, free: 78.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001552/3.256, allocations: 218.5 kB / 1.362 GB, free: 78.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.348e-05/3.256, allocations: 6.344 kB / 1.362 GB, free: 78.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004471/3.261, allocations: 0.8211 MB / 1.363 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000734/3.262, allocations: 159.8 kB / 1.363 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001721/3.263, allocations: 1.193 MB / 1.364 GB, free: 77.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/3.265, allocations: 69.98 kB / 1.364 GB, free: 77.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/3.265, allocations: 68.47 kB / 1.364 GB, free: 77.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.135e-05/3.265, allocations: 8.938 kB / 1.364 GB, free: 77.98 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002434/3.267, allocations: 1.07 MB / 1.365 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/3.267, allocations: 2.625 kB / 1.365 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007924/3.268, allocations: 171.5 kB / 1.366 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007427/3.269, allocations: 190.8 kB / 1.366 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003009/3.272, allocations: 2.166 MB / 1.368 GB, free: 76.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001097/3.273, allocations: 57.83 kB / 1.368 GB, free: 76.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001571/3.273, allocations: 65.77 kB / 1.368 GB, free: 76.67 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * 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 (77): * Single equations (assignments): 76 * 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 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0008476/3.274, allocations: 359.3 kB / 1.368 GB, free: 76.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002505/3.274, allocations: 103.9 kB / 1.368 GB, free: 76.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003912/3.278, allocations: 1.868 MB / 1.37 GB, free: 76.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.459e-05/3.278, allocations: 5.625 kB / 1.37 GB, free: 76.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.085e-06/3.278, allocations: 0 / 1.37 GB, free: 76.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.237e-05/3.278, allocations: 4.125 kB / 1.37 GB, free: 76.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003935/3.282, allocations: 2.342 MB / 1.373 GB, free: 75.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.418e-06/3.282, allocations: 3.469 kB / 1.373 GB, free: 75.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003365/3.283, allocations: 82.5 kB / 1.373 GB, free: 75.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003141/3.286, allocations: 0.6806 MB / 1.373 GB, free: 75.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.708e-05/3.286, allocations: 22.47 kB / 1.373 GB, free: 75.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001445/3.287, allocations: 1.187 MB / 1.374 GB, free: 75.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.969e-06/3.287, allocations: 3.938 kB / 1.374 GB, free: 75.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002451/3.29, allocations: 1.171 MB / 1.376 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004915/3.29, allocations: 188.5 kB / 1.376 GB, free: 74.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001495/3.291, allocations: 18.69 kB / 1.376 GB, free: 74.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007108/3.291, allocations: 49.27 kB / 1.376 GB, free: 74.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001826/3.291, allocations: 58.89 kB / 1.376 GB, free: 74.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/3.292, allocations: 50.2 kB / 1.376 GB, free: 74.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.00121/3.293, allocations: 0.6167 MB / 1.377 GB, free: 74.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.374e-06/3.293, allocations: 0 / 1.377 GB, free: 74.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.00517/3.298, allocations: 1.151 MB / 1.378 GB, free: 74.38 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 simulation (37): * Single equations (assignments): 36 * 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 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.004813/3.303, allocations: 1.628 MB / 1.379 GB, free: 74.08 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003472/3.306, allocations: 1.552 MB / 1.381 GB, free: 73.94 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 9.878e-06/3.306, allocations: 1.156 kB / 1.381 GB, free: 73.94 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0009141/3.307, allocations: 432.1 kB / 1.381 GB, free: 73.93 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003455/3.311, allocations: 0.554 MB / 1.382 GB, free: 73.92 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003466/3.314, allocations: 1.984 MB / 1.384 GB, free: 73.04 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006606/3.315, allocations: 1.05 MB / 1.385 GB, free: 72.34 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.003083/3.318, allocations: 1.078 MB / 1.386 GB, free: 72.31 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000419/3.318, allocations: 115.5 kB / 1.386 GB, free: 72.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.042e-06/3.318, allocations: 1.062 kB / 1.386 GB, free: 72.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.07155/3.39, allocations: 43.44 MB / 1.428 GB, free: 70.66 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1)