Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001242/0.001242, allocations: 187.4 kB / 7.654 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.727/1.727, allocations: 194.3 MB / 202.4 MB, free: 8.543 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001778/0.001778, allocations: 119.7 kB / 247.4 MB, free: 6.215 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.219/0.219, allocations: 39.94 MB / 332.2 MB, free: 4.773 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.663e-05/1.666e-05, allocations: 4 kB / 393.3 MB, free: 75.54 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1021/0.1021, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.504/5.606, allocations: 2.652 GB / 3.089 GB, free: 16.32 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/5.606, allocations: 79.52 kB / 3.089 GB, free: 16.28 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.608/8.214, allocations: 0.7337 GB / 3.823 GB, free: 8.195 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.443e-06/8.214, allocations: 0 / 3.823 GB, free: 8.195 MB / 490.7 MB Notification: Performance of Transformations before backend: time 0.0001927/8.214, allocations: 39.69 kB / 3.823 GB, free: 8.16 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01415/8.228, allocations: 2.755 MB / 3.826 GB, free: 5.367 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.218e-05/8.228, allocations: 8.031 kB / 3.826 GB, free: 5.359 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004068/8.232, allocations: 477.9 kB / 3.826 GB, free: 4.891 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004115/8.237, allocations: 1.128 MB / 3.827 GB, free: 3.738 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002524/8.237, allocations: 113.4 kB / 3.828 GB, free: 3.613 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007341/8.238, allocations: 56 kB / 3.828 GB, free: 3.559 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003212/8.241, allocations: 1.335 MB / 3.829 GB, free: 2.223 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003738/8.245, allocations: 1.464 MB / 3.83 GB, free: 0.6406 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.457e-05/8.245, allocations: 7.906 kB / 3.83 GB, free: 0.6328 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002342/8.245, allocations: 4 kB / 3.83 GB, free: 0.6289 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/8.245, allocations: 81.95 kB / 3.83 GB, free: 0.5508 MB / 490.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.6761/8.921, allocations: 135.2 MB / 3.962 GB, free: 20.94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002032/8.923, allocations: 0.9175 MB / 3.963 GB, free: 20.72 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007125/8.924, allocations: 376.7 kB / 3.964 GB, free: 20.71 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03437/8.958, allocations: 16.68 MB / 3.98 GB, free: 25.93 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001202/8.96, allocations: 0.4983 MB / 3.98 GB, free: 25.82 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=66): time 2.965e-06/8.96, allocations: 0 / 3.98 GB, free: 25.82 MB / 0.5573 GB Notification: Performance of matching and sorting (n=70): time 0.01174/8.971, allocations: 3.107 MB / 3.984 GB, free: 25.12 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000211/8.972, allocations: 347 kB / 3.984 GB, free: 24.72 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001781/8.973, allocations: 0.8459 MB / 3.985 GB, free: 24.56 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001384/8.974, allocations: 25.7 kB / 3.985 GB, free: 24.53 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006687/8.974, allocations: 0.6222 MB / 3.985 GB, free: 24.27 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/8.975, allocations: 252.1 kB / 3.986 GB, free: 24.15 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001139/8.975, allocations: 3.469 kB / 3.986 GB, free: 24.15 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001745/8.975, allocations: 355.6 kB / 3.986 GB, free: 23.84 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007693/8.976, allocations: 464.1 kB / 3.986 GB, free: 23.84 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009911/8.977, allocations: 0.9159 MB / 3.987 GB, free: 23.28 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007008/8.984, allocations: 1.648 MB / 3.989 GB, free: 23.23 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.76e-05/8.984, allocations: 7.125 kB / 3.989 GB, free: 23.23 MB / 0.5573 GB Notification: Performance of matching and sorting (n=160) (initialization): time 0.01/8.994, allocations: 2.687 MB / 3.991 GB, free: 23.08 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.002446/8.996, allocations: 5.403 MB / 3.997 GB, free: 17.42 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.212e-05/8.996, allocations: 15.62 kB / 3.997 GB, free: 17.42 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003178/9, allocations: 0.7085 MB / 3.997 GB, free: 17.39 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001135/9.001, allocations: 254.6 kB / 3.998 GB, free: 17.39 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002937/9.004, allocations: 1.612 MB / 3.999 GB, free: 16.84 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002122/9.006, allocations: 125.3 kB / 3.999 GB, free: 16.83 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002717/9.006, allocations: 70.97 kB / 3.999 GB, free: 16.82 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/9.006, allocations: 7 kB / 3.999 GB, free: 16.82 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008543/9.015, allocations: 2.333 MB / 4.002 GB, free: 16.76 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.714e-05/9.015, allocations: 17.28 kB / 4.002 GB, free: 16.76 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001164/9.016, allocations: 334.1 kB / 4.002 GB, free: 16.74 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001093/9.017, allocations: 282.8 kB / 4.002 GB, free: 16.74 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001249/9.018, allocations: 1.033 MB / 4.003 GB, free: 16.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001738/9.02, allocations: 112.1 kB / 4.003 GB, free: 16.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000269/9.02, allocations: 66.8 kB / 4.004 GB, free: 16.2 MB / 0.5573 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = false ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 62 * Number of states: 0 () * Number of discrete variables: 19 ($PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.staticPipe2.flowModel.states[2].phase,pipe.staticPipe2.flowModel.states[1].phase,pipe.staticPipe1.flowModel.states[2].phase,pipe.staticPipe1.flowModel.states[1].phase,pipe.volume.regularFlow[1],pipe.volume.regularFlow[2],pipe.volume.inFlow[2],pipe.volume.inFlow[1],pipe.volume.heatTransfer.states[1].phase,source.medium.phase,sink.state.phase,sink.medium.phase,source.state.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 35} Notification: Performance of prepare postOptimizeDAE: time 0.0007747/9.021, allocations: 158.3 kB / 4.004 GB, free: 16.09 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005298/9.022, allocations: 110.4 kB / 4.004 GB, free: 16.03 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004877/9.027, allocations: 2.9 MB / 4.007 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.472e-05/9.027, allocations: 30.58 kB / 4.007 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.457e-06/9.027, allocations: 3.344 kB / 4.007 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.454e-05/9.027, allocations: 6.234 kB / 4.007 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006977/9.034, allocations: 4.57 MB / 4.011 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.398e-06/9.034, allocations: 0 / 4.011 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005717/9.034, allocations: 133.9 kB / 4.011 GB, free: 15.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004446/9.039, allocations: 1.524 MB / 4.013 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.876e-05/9.039, allocations: 12.89 kB / 4.013 GB, free: 15.02 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002362/9.041, allocations: 2.268 MB / 4.015 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.754e-06/9.041, allocations: 8.578 kB / 4.015 GB, free: 13.95 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004638/9.046, allocations: 3.31 MB / 4.018 GB, free: 13.55 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009341/9.047, allocations: 351.1 kB / 4.019 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004415/9.047, allocations: 3.719 kB / 4.019 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001216/9.049, allocations: 73.89 kB / 4.019 GB, free: 13.38 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001413/9.049, allocations: 69.75 kB / 4.019 GB, free: 13.37 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.524e-05/9.049, allocations: 32.12 kB / 4.019 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.001189/9.05, allocations: 0.6066 MB / 4.019 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6.41e-07/9.05, allocations: 3.906 kB / 4.019 GB, free: 13.25 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01055/9.061, allocations: 1.915 MB / 4.021 GB, free: 13.23 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 20 ($cse2.region3boundary,$cse3.region3boundary,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse15.phase,$cse15.region,$cse19.phase,$cse19.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (67): * Single equations (assignments): 57 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 7 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 1,1 20} Notification: Performance of Backend phase and start with SimCode phase: time 0.01313/9.074, allocations: 2.502 MB / 4.024 GB, free: 12.84 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.005332/9.079, allocations: 2.084 MB / 4.026 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.149e-05/9.079, allocations: 4 kB / 4.026 GB, free: 11.68 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001314/9.08, allocations: 0.8028 MB / 4.026 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003077/9.084, allocations: 460.8 kB / 4.027 GB, free: 11.05 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004882/9.088, allocations: 2.326 MB / 4.029 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001518/9.09, allocations: 1.347 MB / 4.03 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.003161/9.093, allocations: 1.191 MB / 4.032 GB, free: 7.602 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003189/9.094, allocations: 83.33 kB / 4.032 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of SimCode: time 7.72e-07/9.094, allocations: 0 / 4.032 GB, free: 7.531 MB / 0.5573 GB Notification: Performance of Templates: time 0.492/9.586, allocations: 54.56 MB / 4.085 GB, free: 108.5 MB / 0.5573 GB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1)