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.001317/0.001317, allocations: 164.4 kB / 7.635 MB, free: 1.418 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.793/1.793, allocations: 170.7 MB / 178.7 MB, free: 15.57 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.001865/0.001865, allocations: 111.4 kB / 218 MB, free: 8.348 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.2389/0.2389, allocations: 37.98 MB / 295.1 MB, free: 9.488 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.132e-05/2.134e-05, allocations: 2.219 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1267/0.1268, allocations: 48.72 MB / 398.7 MB, free: 5.355 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.426/6.553, allocations: 2.541 GB / 2.931 GB, free: 117.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002495/6.553, allocations: 72.97 kB / 2.931 GB, free: 117.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.616/9.169, allocations: 0.7163 GB / 3.647 GB, free: 38.23 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.554e-06/9.169, allocations: 0 / 3.647 GB, free: 38.23 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002264/9.169, allocations: 29.88 kB / 3.647 GB, free: 38.22 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.01301/9.182, allocations: 2.669 MB / 3.65 GB, free: 36.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.967e-05/9.182, allocations: 11.16 kB / 3.65 GB, free: 36.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003867/9.186, allocations: 458.3 kB / 3.65 GB, free: 36.82 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004213/9.19, allocations: 1.129 MB / 3.651 GB, free: 36.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002151/9.191, allocations: 110.5 kB / 3.651 GB, free: 36.44 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005262/9.191, allocations: 60.53 kB / 3.651 GB, free: 36.44 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002999/9.194, allocations: 1.339 MB / 3.653 GB, free: 36.43 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004121/9.198, allocations: 1.461 MB / 3.654 GB, free: 36.09 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.354e-05/9.199, allocations: 5.531 kB / 3.654 GB, free: 36.09 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003187/9.199, allocations: 6.531 kB / 3.654 GB, free: 36.09 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001733/9.199, allocations: 81.39 kB / 3.654 GB, free: 36.08 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.5743/9.773, allocations: 135 MB / 3.786 GB, free: 45.37 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/9.775, allocations: 0.9211 MB / 3.787 GB, free: 45.15 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000457/9.775, allocations: 378.8 kB / 3.787 GB, free: 45.14 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02811/9.803, allocations: 16.69 MB / 3.804 GB, free: 34.79 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009833/9.805, allocations: 0.4941 MB / 3.804 GB, free: 34.68 MB / 490.7 MB Notification: Performance of pre-optimization done (n=66): time 3.256e-06/9.805, allocations: 5.094 kB / 3.804 GB, free: 34.68 MB / 490.7 MB Notification: Performance of matching and sorting (n=70): time 0.008826/9.813, allocations: 3.108 MB / 3.807 GB, free: 34.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001035/9.814, allocations: 348.5 kB / 3.807 GB, free: 33.61 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001115/9.815, allocations: 0.8379 MB / 3.808 GB, free: 33.46 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 6.854e-05/9.815, allocations: 25.7 kB / 3.808 GB, free: 33.43 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004526/9.815, allocations: 0.6255 MB / 3.809 GB, free: 33.17 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001965/9.815, allocations: 247.3 kB / 3.809 GB, free: 33.05 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.288e-05/9.815, allocations: 0 / 3.809 GB, free: 33.05 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 9.719e-05/9.816, allocations: 361.5 kB / 3.809 GB, free: 32.74 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006312/9.816, allocations: 467.6 kB / 3.81 GB, free: 32.73 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008838/9.817, allocations: 0.9193 MB / 3.811 GB, free: 32.16 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.006399/9.824, allocations: 1.641 MB / 3.812 GB, free: 32.12 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.489e-05/9.824, allocations: 3.969 kB / 3.812 GB, free: 32.12 MB / 490.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.008994/9.833, allocations: 2.686 MB / 3.815 GB, free: 31.97 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001301/9.834, allocations: 5.405 MB / 3.82 GB, free: 26.31 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.599e-05/9.834, allocations: 13.34 kB / 3.82 GB, free: 26.31 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003067/9.837, allocations: 0.7134 MB / 3.821 GB, free: 26.28 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009425/9.838, allocations: 246.9 kB / 3.821 GB, free: 26.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002565/9.841, allocations: 1.614 MB / 3.823 GB, free: 25.74 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00181/9.842, allocations: 128.5 kB / 3.823 GB, free: 25.72 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002086/9.843, allocations: 71.27 kB / 3.823 GB, free: 25.72 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/9.843, allocations: 9.953 kB / 3.823 GB, free: 25.72 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007942/9.851, allocations: 2.33 MB / 3.825 GB, free: 25.66 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.374e-05/9.851, allocations: 15.97 kB / 3.825 GB, free: 25.66 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001115/9.852, allocations: 326.8 kB / 3.826 GB, free: 25.64 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001034/9.853, allocations: 285.8 kB / 3.826 GB, free: 25.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001047/9.854, allocations: 1.033 MB / 3.827 GB, free: 25.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/9.856, allocations: 108.2 kB / 3.827 GB, free: 25.09 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001724/9.856, allocations: 65.45 kB / 3.827 GB, free: 25.09 MB / 490.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 ($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.0005132/9.856, allocations: 166 kB / 3.827 GB, free: 24.98 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004123/9.857, allocations: 109.3 kB / 3.827 GB, free: 24.93 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00469/9.861, allocations: 2.897 MB / 3.83 GB, free: 24.68 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.401e-05/9.861, allocations: 36.48 kB / 3.83 GB, free: 24.68 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.837e-06/9.861, allocations: 0 / 3.83 GB, free: 24.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.489e-05/9.861, allocations: 10.42 kB / 3.83 GB, free: 24.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006518/9.868, allocations: 4.57 MB / 3.835 GB, free: 24 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.713e-06/9.868, allocations: 0 / 3.835 GB, free: 24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005257/9.869, allocations: 132 kB / 3.835 GB, free: 24 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004319/9.873, allocations: 1.53 MB / 3.836 GB, free: 23.92 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.67e-05/9.873, allocations: 11.33 kB / 3.836 GB, free: 23.92 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00204/9.875, allocations: 2.262 MB / 3.838 GB, free: 22.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/9.875, allocations: 0 / 3.838 GB, free: 22.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004572/9.88, allocations: 3.319 MB / 3.842 GB, free: 22.45 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008583/9.88, allocations: 347.9 kB / 3.842 GB, free: 22.28 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004186/9.881, allocations: 10.55 kB / 3.842 GB, free: 22.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0011/9.882, allocations: 79.56 kB / 3.842 GB, free: 22.27 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001386/9.882, allocations: 59.64 kB / 3.842 GB, free: 22.27 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.756e-05/9.882, allocations: 30.19 kB / 3.842 GB, free: 22.27 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001089/9.883, allocations: 0.6054 MB / 3.843 GB, free: 22.16 MB / 490.7 MB Notification: Performance of sort global known variables: time 5.01e-07/9.883, allocations: 4 kB / 3.843 GB, free: 22.15 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0105/9.894, allocations: 1.907 MB / 3.845 GB, free: 22.1 MB / 490.7 MB 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.01222/9.906, allocations: 2.497 MB / 3.847 GB, free: 21.73 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.004726/9.911, allocations: 2.091 MB / 3.849 GB, free: 21.69 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.293e-06/9.911, allocations: 0.6875 kB / 3.849 GB, free: 21.69 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001106/9.912, allocations: 0.8056 MB / 3.85 GB, free: 21.68 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002882/9.915, allocations: 462 kB / 3.85 GB, free: 21.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/9.919, allocations: 2.329 MB / 3.853 GB, free: 21.06 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008282/9.92, allocations: 1.343 MB / 3.854 GB, free: 20.33 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.002471/9.923, allocations: 1.189 MB / 3.855 GB, free: 20.28 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002497/9.923, allocations: 86.38 kB / 3.855 GB, free: 20.27 MB / 490.7 MB Notification: Performance of SimCode: time 5.21e-07/9.923, allocations: 0 / 3.855 GB, free: 20.27 MB / 490.7 MB Notification: Performance of Templates: time 0.07949/10, allocations: 54.01 MB / 3.908 GB, free: 8.461 MB / 490.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)