Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001603/0.001603, allocations: 169.8 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.231/1.231, allocations: 170.6 MB / 183.8 MB, free: 11.42 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001629/0.001629, allocations: 107.5 kB / 223.2 MB, free: 4.047 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.1611/0.1611, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.569e-05/2.571e-05, allocations: 0 / 357 MB, free: 32.31 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08578/0.08583, allocations: 48.71 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.678/1.764, allocations: 0.7728 GB / 1.169 GB, free: 122.8 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002455/1.764, allocations: 79.05 kB / 1.169 GB, free: 122.8 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.697/5.461, allocations: 1.135 GB / 2.304 GB, free: 13.51 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.492e-06/5.461, allocations: 0 / 2.304 GB, free: 13.51 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.724e-05/5.462, allocations: 35.98 kB / 2.304 GB, free: 13.48 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01112/5.473, allocations: 2.36 MB / 2.307 GB, free: 11.06 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.356e-05/5.473, allocations: 12.03 kB / 2.307 GB, free: 11.05 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00399/5.477, allocations: 437.6 kB / 2.307 GB, free: 10.62 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002657/5.479, allocations: 1.261 MB / 2.308 GB, free: 9.316 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.125e-05/5.479, allocations: 94.17 kB / 2.308 GB, free: 9.223 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003024/5.48, allocations: 116 kB / 2.309 GB, free: 9.109 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/5.484, allocations: 2.861 MB / 2.311 GB, free: 6.172 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.498e-05/5.484, allocations: 0 / 2.311 GB, free: 6.172 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002368/5.484, allocations: 55.92 kB / 2.311 GB, free: 6.117 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001383/5.484, allocations: 146.2 kB / 2.312 GB, free: 5.977 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004712/5.489, allocations: 3.567 MB / 2.315 GB, free: 2.402 MB / 458.7 MB 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.01196/5.501, allocations: 6.931 MB / 2.322 GB, free: 11.24 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001415/5.502, allocations: 0.8174 MB / 2.323 GB, free: 10.42 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006109/5.503, allocations: 430.4 kB / 2.323 GB, free: 9.996 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001181/5.504, allocations: 0.6786 MB / 2.324 GB, free: 9.207 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.584e-05/5.504, allocations: 43.12 kB / 2.324 GB, free: 9.152 MB / 474.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001038/5.505, allocations: 234.8 kB / 2.324 GB, free: 8.922 MB / 474.7 MB Notification: Performance of pre-optimization done (n=56): time 5.15e-06/5.505, allocations: 4 kB / 2.324 GB, free: 8.918 MB / 474.7 MB Notification: Performance of matching and sorting (n=56): time 0.001979/5.507, allocations: 1.166 MB / 2.325 GB, free: 7.742 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.343e-05/5.507, allocations: 133.1 kB / 2.325 GB, free: 7.582 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/5.509, allocations: 0.9239 MB / 2.326 GB, free: 6.641 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 7.215e-05/5.509, allocations: 45.64 kB / 2.326 GB, free: 6.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005298/5.509, allocations: 0.758 MB / 2.327 GB, free: 5.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002979/5.509, allocations: 209.1 kB / 2.327 GB, free: 5.613 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.974e-05/5.51, allocations: 23.94 kB / 2.327 GB, free: 5.59 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001493/5.51, allocations: 357.9 kB / 2.327 GB, free: 5.234 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008074/5.511, allocations: 0.5102 MB / 2.328 GB, free: 4.723 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001087/5.512, allocations: 0.853 MB / 2.329 GB, free: 3.719 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001127/5.513, allocations: 0.654 MB / 2.329 GB, free: 3.066 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.334e-06/5.513, allocations: 4 kB / 2.329 GB, free: 3.062 MB / 474.7 MB Notification: Performance of matching and sorting (n=142) (initialization): time 0.002871/5.516, allocations: 1.772 MB / 2.331 GB, free: 1.277 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.3043/5.82, allocations: 4.007 MB / 2.335 GB, free: 49.19 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.563e-05/5.82, allocations: 10.44 kB / 2.335 GB, free: 49.19 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004239/5.824, allocations: 0.9156 MB / 2.336 GB, free: 49.18 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001043/5.825, allocations: 240.5 kB / 2.336 GB, free: 49.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/5.827, allocations: 1.472 MB / 2.338 GB, free: 48.66 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001332/5.829, allocations: 95.59 kB / 2.338 GB, free: 48.66 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001351/5.829, allocations: 79.44 kB / 2.338 GB, free: 48.66 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/5.829, allocations: 4.422 kB / 2.338 GB, free: 48.66 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002746/5.832, allocations: 1.491 MB / 2.339 GB, free: 48.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/5.832, allocations: 16.45 kB / 2.339 GB, free: 48.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006528/5.832, allocations: 167.2 kB / 2.339 GB, free: 48.64 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001001/5.833, allocations: 257.9 kB / 2.34 GB, free: 48.64 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002568/5.836, allocations: 2.18 MB / 2.342 GB, free: 47.4 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00114/5.837, allocations: 86.27 kB / 2.342 GB, free: 47.4 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001525/5.837, allocations: 77.39 kB / 2.342 GB, free: 47.4 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 46 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (124): * Single equations (assignments): 123 * 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 {6 13} Notification: Performance of prepare postOptimizeDAE: time 0.0003821/5.838, allocations: 173.3 kB / 2.342 GB, free: 47.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002238/5.838, allocations: 109.7 kB / 2.342 GB, free: 47.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/5.841, allocations: 1.401 MB / 2.344 GB, free: 47.23 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.153e-05/5.841, allocations: 10.53 kB / 2.344 GB, free: 47.23 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/5.841, allocations: 1.312 kB / 2.344 GB, free: 47.23 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.255e-06/5.841, allocations: 3.844 kB / 2.344 GB, free: 47.23 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004332/5.845, allocations: 2.411 MB / 2.346 GB, free: 46.9 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.471e-06/5.845, allocations: 1.062 kB / 2.346 GB, free: 46.9 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003819/5.846, allocations: 79.64 kB / 2.346 GB, free: 46.9 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003876/5.85, allocations: 0.909 MB / 2.347 GB, free: 46.89 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.08e-05/5.85, allocations: 20.33 kB / 2.347 GB, free: 46.89 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001996/5.852, allocations: 1.427 MB / 2.348 GB, free: 46.36 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/5.852, allocations: 3.281 kB / 2.348 GB, free: 46.36 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00248/5.854, allocations: 1.258 MB / 2.35 GB, free: 46.12 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007377/5.855, allocations: 301.4 kB / 2.35 GB, free: 45.97 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001385/5.855, allocations: 11.3 kB / 2.35 GB, free: 45.97 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006505/5.856, allocations: 49.64 kB / 2.35 GB, free: 45.97 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001434/5.856, allocations: 40.38 kB / 2.35 GB, free: 45.97 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000102/5.856, allocations: 43.84 kB / 2.35 GB, free: 45.97 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001166/5.857, allocations: 0.6902 MB / 2.351 GB, free: 45.85 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/5.857, allocations: 1.438 kB / 2.351 GB, free: 45.85 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.006243/5.863, allocations: 1.858 MB / 2.352 GB, free: 45.8 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 {6 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.006925/5.87, allocations: 2.521 MB / 2.355 GB, free: 45.58 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.004538/5.875, allocations: 2.158 MB / 2.357 GB, free: 45.45 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.7e-06/5.875, allocations: 0 / 2.357 GB, free: 45.45 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008798/5.876, allocations: 462.5 kB / 2.357 GB, free: 45.44 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002189/5.878, allocations: 430 kB / 2.358 GB, free: 45.43 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003194/5.881, allocations: 1.789 MB / 2.36 GB, free: 44.98 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007774/5.882, allocations: 1.331 MB / 2.361 GB, free: 44.27 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002026/5.884, allocations: 0.5883 MB / 2.362 GB, free: 44.25 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/5.884, allocations: 79.2 kB / 2.362 GB, free: 44.25 MB / 474.7 MB Notification: Performance of SimCode: time 1.412e-06/5.884, allocations: 0 / 2.362 GB, free: 44.25 MB / 474.7 MB Notification: Performance of Templates: time 0.07825/5.963, allocations: 58.23 MB / 2.418 GB, free: 42.88 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1)