Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009129/0.000913, allocations: 178.5 kB / 18.08 MB, free: 3.75 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.297/1.297, allocations: 223.3 MB / 242.1 MB, free: 9.918 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007834/0.0007834, allocations: 89.06 kB / 293.3 MB, free: 10.55 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3353/0.3353, allocations: 44.15 MB / 388.5 MB, free: 38.39 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003962, allocations: 12 kB / 461.1 MB, free: 1.305 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4236/0.424, allocations: 61.88 MB / 0.5107 GB, free: 37.9 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.058/1.482, allocations: 0.5016 GB / 1.012 GB, free: 88.16 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003037/1.482, allocations: 93.12 kB / 1.012 GB, free: 88.07 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.414/2.896, allocations: 331.5 MB / 1.336 GB, free: 78.62 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.435e-06/2.896, allocations: 0 / 1.336 GB, free: 78.62 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 0.0001751/2.896, allocations: 33.09 kB / 1.336 GB, free: 78.62 MB / 0.5261 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.006425/2.903, allocations: 1.588 MB / 1.338 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.803e-05/2.903, allocations: 9.625 kB / 1.338 GB, free: 78.05 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001795/2.904, allocations: 206 kB / 1.338 GB, free: 78 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002859/2.907, allocations: 0.8397 MB / 1.339 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001046/2.907, allocations: 51.97 kB / 1.339 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003461/2.908, allocations: 63.05 kB / 1.339 GB, free: 77.71 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003249/2.911, allocations: 1.176 MB / 1.34 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.085e-05/2.911, allocations: 0.5625 kB / 1.34 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001781/2.911, allocations: 28.02 kB / 1.34 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001672/2.911, allocations: 82.53 kB / 1.34 GB, free: 77.52 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002605/2.914, allocations: 1.168 MB / 1.341 GB, free: 77.52 MB / 0.5261 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.009007/2.923, allocations: 4.349 MB / 1.345 GB, free: 75.71 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001471/2.925, allocations: 0.7494 MB / 1.346 GB, free: 75.69 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007255/2.925, allocations: 368.5 kB / 1.347 GB, free: 75.68 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004074/2.926, allocations: 353.8 kB / 1.347 GB, free: 75.3 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.362e-05/2.926, allocations: 39.41 kB / 1.347 GB, free: 75.27 MB / 0.5261 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001226/2.927, allocations: 127.9 kB / 1.347 GB, free: 75.25 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=61): time 1.044e-05/2.927, allocations: 0 / 1.347 GB, free: 75.25 MB / 0.5261 GB Notification: Performance of matching and sorting (n=61): time 0.007318/2.934, allocations: 2.139 MB / 1.349 GB, free: 75.05 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001293/2.935, allocations: 213.4 kB / 1.349 GB, free: 74.8 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001683/2.936, allocations: 0.8846 MB / 1.35 GB, free: 74.65 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0001062/2.936, allocations: 40.83 kB / 1.35 GB, free: 74.62 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003361/2.937, allocations: 440.8 kB / 1.351 GB, free: 74.46 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002235/2.937, allocations: 215.5 kB / 1.351 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-05/2.937, allocations: 14.62 kB / 1.351 GB, free: 74.36 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 8.755e-05/2.937, allocations: 337.1 kB / 1.351 GB, free: 74.05 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007594/2.938, allocations: 389.3 kB / 1.352 GB, free: 74.05 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009251/2.939, allocations: 0.5745 MB / 1.352 GB, free: 73.85 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001644/2.941, allocations: 0.9285 MB / 1.353 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/2.941, allocations: 0.9375 kB / 1.353 GB, free: 73.68 MB / 0.5261 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002769/2.943, allocations: 1.279 MB / 1.354 GB, free: 73.57 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001355/2.943, allocations: 221.9 kB / 1.354 GB, free: 73.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.48e-05/2.943, allocations: 5.156 kB / 1.354 GB, free: 73.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004757/2.948, allocations: 0.8361 MB / 1.355 GB, free: 73.32 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006988/2.949, allocations: 154 kB / 1.355 GB, free: 73.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001654/2.951, allocations: 1.207 MB / 1.357 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/2.952, allocations: 60.42 kB / 1.357 GB, free: 72.79 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002059/2.953, allocations: 77.23 kB / 1.357 GB, free: 72.78 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/2.953, allocations: 4.844 kB / 1.357 GB, free: 72.78 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002634/2.955, allocations: 1.076 MB / 1.358 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.75e-05/2.955, allocations: 4.25 kB / 1.358 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007228/2.956, allocations: 159.6 kB / 1.358 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007658/2.957, allocations: 192.2 kB / 1.358 GB, free: 72.75 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002649/2.959, allocations: 2.166 MB / 1.36 GB, free: 71.47 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001082/2.961, allocations: 55.92 kB / 1.36 GB, free: 71.47 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001514/2.961, allocations: 73.72 kB / 1.36 GB, free: 71.47 MB / 0.5261 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.0007386/2.961, allocations: 355.8 kB / 1.361 GB, free: 71.28 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003204/2.962, allocations: 104.8 kB / 1.361 GB, free: 71.23 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003298/2.965, allocations: 1.86 MB / 1.363 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.346e-06/2.965, allocations: 6.844 kB / 1.363 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/2.965, allocations: 0 / 1.363 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.636e-06/2.965, allocations: 6.328 kB / 1.363 GB, free: 71.11 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003878/2.969, allocations: 2.329 MB / 1.365 GB, free: 70.42 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.107e-06/2.969, allocations: 7.562 kB / 1.365 GB, free: 70.42 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003237/2.969, allocations: 82.66 kB / 1.365 GB, free: 70.42 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003176/2.973, allocations: 0.6928 MB / 1.366 GB, free: 70.41 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.734e-05/2.973, allocations: 26.66 kB / 1.366 GB, free: 70.41 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001513/2.974, allocations: 1.177 MB / 1.367 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.33e-05/2.974, allocations: 7.547 kB / 1.367 GB, free: 69.88 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002391/2.977, allocations: 1.165 MB / 1.368 GB, free: 69.57 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007616/2.977, allocations: 193.5 kB / 1.368 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005211/2.978, allocations: 17.39 kB / 1.368 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/2.979, allocations: 60.22 kB / 1.368 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/2.98, allocations: 53.52 kB / 1.368 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001364/2.98, allocations: 49.2 kB / 1.368 GB, free: 69.43 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001445/2.981, allocations: 0.6154 MB / 1.369 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.81e-07/2.981, allocations: 0 / 1.369 GB, free: 69.32 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.005306/2.986, allocations: 1.133 MB / 1.37 GB, free: 69.18 MB / 0.5261 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.00555/2.992, allocations: 1.631 MB / 1.372 GB, free: 68.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.00372/2.996, allocations: 1.557 MB / 1.373 GB, free: 68.71 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.367e-06/2.996, allocations: 3.562 kB / 1.373 GB, free: 68.71 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000868/2.997, allocations: 426.1 kB / 1.374 GB, free: 68.71 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003943/3.001, allocations: 0.56 MB / 1.374 GB, free: 68.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00378/3.004, allocations: 1.988 MB / 1.376 GB, free: 67.82 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007906/3.005, allocations: 1.051 MB / 1.377 GB, free: 67.12 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.00302/3.008, allocations: 1.077 MB / 1.378 GB, free: 67.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004459/3.009, allocations: 117.8 kB / 1.378 GB, free: 67.08 MB / 0.5261 GB Notification: Performance of SimCode: time 1.252e-06/3.009, allocations: 0 / 1.378 GB, free: 67.08 MB / 0.5261 GB Notification: Performance of Templates: time 0.06627/3.075, allocations: 43.5 MB / 1.421 GB, free: 65.17 MB / 0.5261 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1)