Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|pipe.mediums.3..h|pipe.mediums.3..p|pipe.mediums.4..h|pipe.mediums.4..p|pipe.mediums.5..h|pipe.mediums.5..p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") translateModel(ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe.mediums.1..h|pipe.mediums.1..p|pipe.mediums.2..h|pipe.mediums.2..p|pipe.mediums.3..h|pipe.mediums.3..p|pipe.mediums.4..h|pipe.mediums.4..p|pipe.mediums.5..h|pipe.mediums.5..p|m_flow_initial",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009237/0.0009238, allocations: 176.8 kB / 17.41 MB, free: 4.289 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.337/1.337, allocations: 205.4 MB / 223.6 MB, free: 9.027 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007948/0.0007948, allocations: 93.31 kB / 271.9 MB, free: 8.258 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3136/0.3136, allocations: 43.55 MB / 363.7 MB, free: 52.11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003768/0.0003769, allocations: 12 kB / 432.6 MB, free: 5.902 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1128/0.1131, allocations: 58.86 MB / 491.4 MB, free: 10.96 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.274/5.387, allocations: 2.834 GB / 3.314 GB, free: 143.5 MB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001737/5.387, allocations: 80 kB / 3.314 GB, free: 143.4 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 1.343/6.73, allocations: 475.5 MB / 3.778 GB, free: 40.33 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.553e-06/6.73, allocations: 3.469 kB / 3.778 GB, free: 40.33 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001423/6.731, allocations: 42.25 kB / 3.778 GB, free: 40.33 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 509 * Number of variables: 509 Notification: Performance of Generate backend data structure: time 0.01096/6.741, allocations: 3.17 MB / 3.781 GB, free: 38.7 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/6.742, allocations: 10.06 kB / 3.781 GB, free: 38.7 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005114/6.747, allocations: 0.7036 MB / 3.782 GB, free: 38.52 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02534/6.772, allocations: 15.79 MB / 3.797 GB, free: 34.62 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002353/6.772, allocations: 170.2 kB / 3.798 GB, free: 34.55 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007773/6.773, allocations: 178.5 kB / 3.798 GB, free: 34.49 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008001/6.781, allocations: 3.604 MB / 3.801 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.471e-05/6.781, allocations: 7.625 kB / 3.801 GB, free: 33.02 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/6.782, allocations: 72.72 kB / 3.801 GB, free: 32.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001512/6.782, allocations: 175.5 kB / 3.801 GB, free: 32.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006775/6.788, allocations: 3.516 MB / 3.805 GB, free: 31.88 MB / 0.5105 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.0169/6.805, allocations: 14.1 MB / 3.819 GB, free: 21.79 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00484/6.81, allocations: 2.294 MB / 3.821 GB, free: 20.98 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001877/6.812, allocations: 1.208 MB / 3.822 GB, free: 20.55 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3427/7.155, allocations: 63.4 MB / 3.884 GB, free: 47.66 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004587/7.159, allocations: 1.731 MB / 3.886 GB, free: 47.55 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=154): time 6.292e-06/7.159, allocations: 1.641 kB / 3.886 GB, free: 47.55 MB / 0.5261 GB Notification: Performance of matching and sorting (n=174): time 0.02244/7.182, allocations: 9.458 MB / 3.895 GB, free: 46.21 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.454e-05/7.182, allocations: 279.5 kB / 3.895 GB, free: 45.9 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001828/7.184, allocations: 1.325 MB / 3.897 GB, free: 45.74 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.000294/7.184, allocations: 56.05 kB / 3.897 GB, free: 45.71 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006258/7.185, allocations: 0.8242 MB / 3.897 GB, free: 45.39 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006482/7.186, allocations: 0.609 MB / 3.898 GB, free: 45.09 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002149/7.186, allocations: 39.34 kB / 3.898 GB, free: 45.09 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001396/7.186, allocations: 394.9 kB / 3.898 GB, free: 44.79 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002235/7.188, allocations: 1.282 MB / 3.9 GB, free: 44.78 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002485/7.191, allocations: 1.842 MB / 3.901 GB, free: 44.16 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00465/7.195, allocations: 3.129 MB / 3.904 GB, free: 43.57 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.939e-05/7.195, allocations: 8.5 kB / 3.904 GB, free: 43.57 MB / 0.5261 GB Notification: Performance of matching and sorting (n=270) (initialization): time 0.008701/7.204, allocations: 4.333 MB / 3.909 GB, free: 43.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.000318/7.204, allocations: 0.5657 MB / 3.909 GB, free: 42.74 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.189e-05/7.204, allocations: 18.3 kB / 3.909 GB, free: 42.74 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01444/7.219, allocations: 3.671 MB / 3.913 GB, free: 42.7 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001447/7.22, allocations: 336.9 kB / 3.913 GB, free: 42.7 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007354/7.228, allocations: 4.049 MB / 3.917 GB, free: 42.13 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002523/7.23, allocations: 275.7 kB / 3.917 GB, free: 42.12 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003827/7.231, allocations: 113.9 kB / 3.918 GB, free: 42.12 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.289e-05/7.231, allocations: 7.312 kB / 3.918 GB, free: 42.11 MB / 0.5261 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007796/7.239, allocations: 3.928 MB / 3.921 GB, free: 42.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.748e-05/7.239, allocations: 19.66 kB / 3.921 GB, free: 42.05 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008463/7.247, allocations: 2.426 MB / 3.924 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001474/7.249, allocations: 367.8 kB / 3.924 GB, free: 42.02 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00502/7.254, allocations: 3.341 MB / 3.927 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/7.256, allocations: 266.7 kB / 3.928 GB, free: 41.45 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003416/7.256, allocations: 106.9 kB / 3.928 GB, free: 41.45 MB / 0.5261 GB Warning: Assuming fixed start value for the following 1 variables: m_flow_initial:DISCRETE(unit = "kg/s" fixed = true ) type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 72 * Number of states: 0 () * Number of discrete variables: 17 (source.medium.phase,$PRE.m_flow_initial,m_flow_initial,$whenCondition2,$whenCondition1,valve.state_b.phase,valve.state_a.phase,pipe.state_a.phase,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,sink.state.phase,sink.medium.phase,pipe.state_b.phase,source.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (166): * Single equations (assignments): 165 * 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 {14 91} Notification: Performance of prepare postOptimizeDAE: time 0.001496/7.258, allocations: 0.7018 MB / 3.928 GB, free: 41.25 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004154/7.258, allocations: 166.1 kB / 3.929 GB, free: 41.17 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008481/7.267, allocations: 6.845 MB / 3.935 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.848e-05/7.267, allocations: 72.89 kB / 3.935 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.399e-05/7.267, allocations: 3.062 kB / 3.935 GB, free: 40.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006108/7.273, allocations: 5.503 MB / 3.941 GB, free: 39.99 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01343/7.286, allocations: 9.559 MB / 3.95 GB, free: 39.41 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.316e-05/7.286, allocations: 0.75 kB / 3.95 GB, free: 39.41 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001725/7.288, allocations: 446.4 kB / 3.95 GB, free: 39.41 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001661/7.29, allocations: 470.5 kB / 3.951 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002172/7.29, allocations: 59.98 kB / 3.951 GB, free: 39.36 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001441/7.291, allocations: 3.219 MB / 3.954 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.966e-06/7.291, allocations: 7.344 kB / 3.954 GB, free: 36.77 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008997/7.3, allocations: 7.051 MB / 3.961 GB, free: 35.6 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001342/7.302, allocations: 0.7724 MB / 3.962 GB, free: 35.14 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004826/7.302, allocations: 61.28 kB / 3.962 GB, free: 35.11 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001724/7.304, allocations: 208.5 kB / 3.962 GB, free: 35.07 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003465/7.304, allocations: 183.1 kB / 3.962 GB, free: 35.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001594/7.305, allocations: 69.14 kB / 3.962 GB, free: 35.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.001787/7.306, allocations: 1.235 MB / 3.963 GB, free: 34.56 MB / 0.5261 GB Notification: Performance of sort global known variables: time 2.11e-07/7.306, allocations: 0 / 3.963 GB, free: 34.56 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.008033/7.314, allocations: 2.3 MB / 3.966 GB, free: 34.33 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 10 (pipe.mediums[1].p,pipe.mediums[1].h,pipe.mediums[2].p,pipe.mediums[2].h,pipe.mediums[3].p,pipe.mediums[3].h,pipe.mediums[4].p,pipe.mediums[4].h,pipe.mediums[5].p,pipe.mediums[5].h) * Number of discrete variables: 39 ($cse4.region3boundary,$cse5.region3boundary,$cse6.phase,$cse6.region,$cse7.region3boundary,$cse8.region3boundary,$cse9.phase,$cse9.region,$cse10.region3boundary,$cse11.region3boundary,$cse12.phase,$cse12.region,$cse13.region3boundary,$cse14.region3boundary,$cse15.phase,$cse15.region,$cse16.region3boundary,$cse17.region3boundary,$cse18.phase,$cse18.region,$cse25.phase,$cse25.region,$cse31.phase,$cse31.region,$cse35.phase,$cse35.region,$cse36.phase,$cse36.region,$whenCondition2,$whenCondition1,pipe.statesFM[2].phase,pipe.statesFM[3].phase,pipe.statesFM[4].phase,pipe.statesFM[5].phase,pipe.statesFM[6].phase,m_flow_initial,$cse3.phase,$cse3.region,source.medium.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (202): * Single equations (assignments): 176 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 20 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 1,1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.008553/7.323, allocations: 1.954 MB / 3.968 GB, free: 34.07 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01003/7.333, allocations: 5.494 MB / 3.973 GB, free: 32.37 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 9.157e-06/7.333, allocations: 0 / 3.973 GB, free: 32.37 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.003308/7.336, allocations: 2.365 MB / 3.975 GB, free: 31.47 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004504/7.341, allocations: 0.8017 MB / 3.976 GB, free: 31.31 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/7.352, allocations: 8.239 MB / 3.984 GB, free: 27.1 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/7.353, allocations: 1.989 MB / 3.986 GB, free: 26.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008516/7.354, allocations: 177.3 kB / 3.986 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of SimCode: time 5.72e-07/7.354, allocations: 0 / 3.986 GB, free: 26.2 MB / 0.5261 GB Notification: Performance of Templates: time 0.3075/7.662, allocations: 86.66 MB / 4.071 GB, free: 75.34 MB / 0.5417 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Fluid.TestPipesAndValves.DynamicPipeInitialization.pipe 2>&1)