Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.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.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001453/0.001452, allocations: 170.3 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.098/1.098, allocations: 170.6 MB / 183.8 MB, free: 11.41 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.00155/0.00155, allocations: 111.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.1563/0.1563, allocations: 37.99 MB / 300.4 MB, free: 5.34 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.119e-05/2.122e-05, allocations: 7.984 kB / 357 MB, free: 32.32 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07247/0.0725, allocations: 48.7 MB / 405.7 MB, free: 15.64 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.55/5.622, allocations: 2.542 GB / 2.938 GB, free: 70.43 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002916/5.623, allocations: 79.89 kB / 2.938 GB, free: 70.39 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.947/8.57, allocations: 0.723 GB / 3.661 GB, free: 27.43 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.064e-06/8.57, allocations: 0 / 3.661 GB, free: 27.43 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001303/8.57, allocations: 33.62 kB / 3.661 GB, free: 27.42 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: 247 * Number of variables: 247 Notification: Performance of Generate backend data structure: time 0.01324/8.583, allocations: 2.664 MB / 3.664 GB, free: 25.91 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.034e-05/8.583, allocations: 11.03 kB / 3.664 GB, free: 25.91 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003798/8.587, allocations: 456.5 kB / 3.664 GB, free: 25.79 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/8.591, allocations: 1.128 MB / 3.665 GB, free: 25.16 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001665/8.591, allocations: 142.4 kB / 3.665 GB, free: 25.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002022/8.591, allocations: 102.1 kB / 3.665 GB, free: 25.03 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004087/8.595, allocations: 1.882 MB / 3.667 GB, free: 24.14 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.203e-05/8.595, allocations: 10.41 kB / 3.667 GB, free: 24.13 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001491/8.595, allocations: 43.3 kB / 3.667 GB, free: 24.1 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001422/8.596, allocations: 77.97 kB / 3.667 GB, free: 24.09 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003652/8.599, allocations: 1.715 MB / 3.669 GB, free: 23.49 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.01231/8.612, allocations: 8.536 MB / 3.677 GB, free: 17.07 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002797/8.614, allocations: 1.383 MB / 3.679 GB, free: 16.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006089/8.615, allocations: 465.5 kB / 3.679 GB, free: 16.16 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.5454/9.16, allocations: 63.7 MB / 3.741 GB, free: 31.36 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002487/9.163, allocations: 0.9022 MB / 3.742 GB, free: 31.24 MB / 474.7 MB Notification: Performance of pre-optimization done (n=82): time 3.727e-06/9.163, allocations: 0 / 3.742 GB, free: 31.24 MB / 474.7 MB Notification: Performance of matching and sorting (n=86): time 0.008003/9.171, allocations: 3.743 MB / 3.746 GB, free: 30.25 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000172/9.171, allocations: 400.9 kB / 3.746 GB, free: 29.78 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001321/9.173, allocations: 0.9218 MB / 3.747 GB, free: 29.62 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 8.194e-05/9.173, allocations: 42.58 kB / 3.747 GB, free: 29.59 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004693/9.173, allocations: 0.5617 MB / 3.748 GB, free: 29.38 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002565/9.173, allocations: 302.2 kB / 3.748 GB, free: 29.23 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.806e-05/9.173, allocations: 29.19 kB / 3.748 GB, free: 29.23 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001133/9.174, allocations: 354.4 kB / 3.748 GB, free: 28.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007233/9.174, allocations: 477.5 kB / 3.749 GB, free: 28.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00101/9.175, allocations: 0.941 MB / 3.75 GB, free: 28.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009127/9.176, allocations: 0.6298 MB / 3.75 GB, free: 28.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.216e-06/9.176, allocations: 11.86 kB / 3.75 GB, free: 28.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.00281/9.179, allocations: 1.777 MB / 3.752 GB, free: 28.24 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001308/9.18, allocations: 5.405 MB / 3.757 GB, free: 22.62 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.235e-05/9.18, allocations: 15.22 kB / 3.758 GB, free: 22.62 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005447/9.186, allocations: 1.052 MB / 3.759 GB, free: 22.61 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/9.187, allocations: 248.9 kB / 3.759 GB, free: 22.61 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001838/9.189, allocations: 1.449 MB / 3.76 GB, free: 22.07 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002023/9.191, allocations: 124 kB / 3.76 GB, free: 22.07 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001383/9.191, allocations: 73.39 kB / 3.76 GB, free: 22.07 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.354e-05/9.191, allocations: 8.203 kB / 3.76 GB, free: 22.07 MB / 474.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002862/9.194, allocations: 1.524 MB / 3.762 GB, free: 22.04 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.308e-05/9.194, allocations: 15.12 kB / 3.762 GB, free: 22.04 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001375/9.195, allocations: 339.2 kB / 3.762 GB, free: 22.03 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00099/9.196, allocations: 284.8 kB / 3.762 GB, free: 22.03 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/9.198, allocations: 1.016 MB / 3.763 GB, free: 21.5 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00185/9.199, allocations: 125.2 kB / 3.764 GB, free: 21.49 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001306/9.2, allocations: 71.33 kB / 3.764 GB, free: 21.49 MB / 474.7 MB 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 (source.medium.phase,$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,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.0006291/9.2, allocations: 199 kB / 3.764 GB, free: 21.38 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/9.201, allocations: 126.6 kB / 3.764 GB, free: 21.32 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005379/9.206, allocations: 3.974 MB / 3.768 GB, free: 20.96 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.291e-05/9.206, allocations: 48.66 kB / 3.768 GB, free: 20.96 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.444e-05/9.206, allocations: 8.188 kB / 3.768 GB, free: 20.96 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.584e-05/9.206, allocations: 3.469 kB / 3.768 GB, free: 20.96 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008397/9.214, allocations: 5.474 MB / 3.773 GB, free: 20.38 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-05/9.215, allocations: 7.156 kB / 3.773 GB, free: 20.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006847/9.215, allocations: 175.7 kB / 3.773 GB, free: 20.38 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005853/9.221, allocations: 1.775 MB / 3.775 GB, free: 20.32 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001393/9.221, allocations: 27.11 kB / 3.775 GB, free: 20.32 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/9.223, allocations: 2.088 MB / 3.777 GB, free: 19.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.021e-06/9.223, allocations: 4.844 kB / 3.777 GB, free: 19.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004499/9.227, allocations: 3.806 MB / 3.781 GB, free: 18.68 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/9.229, allocations: 0.5347 MB / 3.781 GB, free: 18.44 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001935/9.229, allocations: 29.62 kB / 3.781 GB, free: 18.44 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/9.23, allocations: 85.14 kB / 3.782 GB, free: 18.44 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001828/9.23, allocations: 83.89 kB / 3.782 GB, free: 18.43 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.581e-05/9.23, allocations: 33.83 kB / 3.782 GB, free: 18.43 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.001546/9.232, allocations: 1.037 MB / 3.783 GB, free: 18.32 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/9.232, allocations: 0 / 3.783 GB, free: 18.32 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009999/9.242, allocations: 2.046 MB / 3.785 GB, free: 18.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (pipe.volume.medium.p,pipe.volume.medium.h) * Number of discrete variables: 25 ($cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.region,$cse10.phase,$cse10.region,$cse11.phase,$cse11.region,$cse12.phase,$cse12.region,$cse19.phase,$cse19.region,$cse23.phase,$cse23.region,$cse24.phase,$cse24.region,$whenCondition2,$whenCondition1,pipe.volume.heatTransfer.states[1].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * 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.01247/9.254, allocations: 2.359 MB / 3.787 GB, free: 17.96 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.005287/9.259, allocations: 2.304 MB / 3.789 GB, free: 17.91 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/9.26, allocations: 0 / 3.789 GB, free: 17.91 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001543/9.261, allocations: 0.9852 MB / 3.79 GB, free: 17.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/9.265, allocations: 0.6283 MB / 3.791 GB, free: 17.89 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005819/9.271, allocations: 2.844 MB / 3.794 GB, free: 17.25 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001071/9.272, allocations: 1.482 MB / 3.795 GB, free: 16.53 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.002506/9.275, allocations: 1.043 MB / 3.796 GB, free: 16.51 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000253/9.275, allocations: 101 kB / 3.796 GB, free: 16.51 MB / 474.7 MB Notification: Performance of SimCode: time 1.663e-06/9.275, allocations: 0 / 3.796 GB, free: 16.51 MB / 474.7 MB Notification: Performance of Templates: time 0.1027/9.378, allocations: 68.45 MB / 3.863 GB, free: 6.68 MB / 474.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.LumpedPipeInitialization.pipe 2>&1)