Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.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.BranchingPipes12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001009/0.001009, allocations: 166.2 kB / 7.642 MB, free: 1.406 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.628/1.628, 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.0017/0.0017, allocations: 99.47 kB / 218 MB, free: 8.336 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.2286/0.2286, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.141e-05/2.143e-05, allocations: 5.469 kB / 350 MB, free: 37 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1246/0.1246, allocations: 48.72 MB / 398.7 MB, free: 5.352 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.524/7.649, allocations: 2.545 GB / 2.934 GB, free: 59.3 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001963/7.649, allocations: 75.84 kB / 2.934 GB, free: 59.27 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.088/10.74, allocations: 0.7755 GB / 3.71 GB, free: 28.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.693e-06/10.74, allocations: 0 / 3.71 GB, free: 28.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003302/10.74, allocations: 72.22 kB / 3.71 GB, free: 28.59 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: 514 * Number of variables: 514 Notification: Performance of Generate backend data structure: time 0.01744/10.76, allocations: 3.827 MB / 3.713 GB, free: 26.69 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/10.76, allocations: 9.969 kB / 3.713 GB, free: 26.69 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006295/10.76, allocations: 0.8087 MB / 3.714 GB, free: 26.55 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006761/10.77, allocations: 2.158 MB / 3.716 GB, free: 26.09 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002068/10.77, allocations: 90.36 kB / 3.716 GB, free: 26.09 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009725/10.77, allocations: 116.7 kB / 3.716 GB, free: 26.08 MB / 458.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.005601/10.78, allocations: 2.866 MB / 3.719 GB, free: 26.07 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006243/10.78, allocations: 2.86 MB / 3.722 GB, free: 25.53 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.425e-05/10.78, allocations: 3.656 kB / 3.722 GB, free: 25.53 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005829/10.78, allocations: 7.125 kB / 3.722 GB, free: 25.53 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002327/10.78, allocations: 165.9 kB / 3.722 GB, free: 25.52 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.2424/11.02, allocations: 108.9 MB / 3.829 GB, free: 16.89 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002741/11.03, allocations: 1.581 MB / 3.83 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001486/11.03, allocations: 0.9698 MB / 3.831 GB, free: 16.83 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3794/11.41, allocations: 17.52 MB / 3.848 GB, free: 75.05 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002865/11.41, allocations: 1.215 MB / 3.849 GB, free: 74.9 MB / 0.4948 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001773/11.41, allocations: 163.1 kB / 3.849 GB, free: 74.9 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=148): time 1.084e-05/11.41, allocations: 1.219 kB / 3.849 GB, free: 74.9 MB / 0.4948 GB Notification: Performance of matching and sorting (n=160): time 0.02651/11.44, allocations: 7.92 MB / 3.857 GB, free: 73.39 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001753/11.44, allocations: 0.5044 MB / 3.858 GB, free: 72.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002728/11.44, allocations: 1.191 MB / 3.859 GB, free: 72.62 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003516/11.44, allocations: 28.42 kB / 3.859 GB, free: 72.59 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.001012/11.44, allocations: 1.032 MB / 3.86 GB, free: 72.25 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007738/11.44, allocations: 0.5277 MB / 3.86 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001635/11.45, allocations: 1.25 kB / 3.86 GB, free: 71.97 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001779/11.45, allocations: 387 kB / 3.861 GB, free: 71.67 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001957/11.45, allocations: 1.029 MB / 3.862 GB, free: 71.66 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/11.45, allocations: 1.49 MB / 3.863 GB, free: 71.16 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/11.46, allocations: 2.84 MB / 3.866 GB, free: 71.14 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.668e-05/11.46, allocations: 3.375 kB / 3.866 GB, free: 71.14 MB / 0.4948 GB Notification: Performance of matching and sorting (n=259) (initialization): time 0.01645/11.48, allocations: 4.742 MB / 3.871 GB, free: 70.93 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.001093/11.48, allocations: 4.524 MB / 3.875 GB, free: 66.33 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.411e-05/11.48, allocations: 17.5 kB / 3.875 GB, free: 66.33 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003299/11.48, allocations: 0.8014 MB / 3.876 GB, free: 66.3 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002074/11.48, allocations: 478 kB / 3.876 GB, free: 66.3 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002905/11.49, allocations: 3.325 MB / 3.88 GB, free: 64.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003083/11.49, allocations: 226.9 kB / 3.88 GB, free: 64.2 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005052/11.49, allocations: 105.3 kB / 3.88 GB, free: 64.2 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.302e-05/11.49, allocations: 8.938 kB / 3.88 GB, free: 64.2 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01419/11.5, allocations: 4.231 MB / 3.884 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-05/11.5, allocations: 17.03 kB / 3.884 GB, free: 64.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001056/11.5, allocations: 339.7 kB / 3.884 GB, free: 64.09 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002196/11.51, allocations: 497.5 kB / 3.885 GB, free: 64.09 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003431/11.51, allocations: 3.994 MB / 3.889 GB, free: 61.32 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002547/11.51, allocations: 207 kB / 3.889 GB, free: 61.31 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004504/11.51, allocations: 99.69 kB / 3.889 GB, free: 61.31 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 50 * Number of states: 0 () * Number of discrete variables: 27 (pipe3.state_a.phase,pipe2.state_a.phase,valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.state_a.phase,pipe1.state_b.phase,pipe1.state_a.phase,$whenCondition1,$whenCondition2,pipe1.statesFM[2].phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,source.medium.phase,sink.medium.phase,pipe3.state_b.phase,pipe2.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (223): * Single equations (assignments): 213 * Array equations: 2 * Algorithm blocks: 2 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0009961/11.51, allocations: 236.9 kB / 3.889 GB, free: 61.14 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007268/11.52, allocations: 188.3 kB / 3.889 GB, free: 61.04 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009696/11.53, allocations: 6.713 MB / 3.896 GB, free: 60.55 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.912e-05/11.53, allocations: 69.66 kB / 3.896 GB, free: 60.55 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.085e-05/11.53, allocations: 1.203 kB / 3.896 GB, free: 60.55 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.006529/11.53, allocations: 5.693 MB / 3.902 GB, free: 59.8 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01372/11.55, allocations: 9.032 MB / 3.91 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.577e-05/11.55, allocations: 5.406 kB / 3.91 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001276/11.55, allocations: 298.8 kB / 3.911 GB, free: 59.21 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003672/11.55, allocations: 2.37 MB / 3.913 GB, free: 59.11 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002755/11.55, allocations: 44.47 kB / 3.913 GB, free: 59.11 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003762/11.55, allocations: 4.402 MB / 3.917 GB, free: 57 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.442e-06/11.55, allocations: 6.672 kB / 3.917 GB, free: 57 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01042/11.57, allocations: 7.116 MB / 3.924 GB, free: 56.34 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001729/11.57, allocations: 0.6848 MB / 3.925 GB, free: 56.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007205/11.57, allocations: 19.05 kB / 3.925 GB, free: 56.05 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00203/11.57, allocations: 152 kB / 3.925 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002922/11.57, allocations: 130.9 kB / 3.925 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001646/11.57, allocations: 62.41 kB / 3.925 GB, free: 56.04 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.001939/11.57, allocations: 1.076 MB / 3.926 GB, free: 55.89 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.51e-07/11.57, allocations: 3.594 kB / 3.926 GB, free: 55.89 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01241/11.58, allocations: 2.679 MB / 3.929 GB, free: 55.77 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 10 (pipe1.mediums[1].p,pipe1.mediums[1].h,valveIncompressible.filter.x[1],valveIncompressible.filter.x[2],valveIncompressible1.filter.x[1],valveIncompressible1.filter.x[2],pipe2.mediums[1].p,pipe2.mediums[1].h,pipe3.mediums[1].p,pipe3.mediums[1].h) * Number of discrete variables: 43 ($cse5.region3boundary,$cse6.region3boundary,$cse7.phase,$cse7.region,$cse10.phase,$cse10.region,$cse17.phase,$cse17.region,$cse18.phase,$cse18.region,$cse20.phase,$cse20.region,$cse25.phase,$cse25.region,$cse26.phase,$cse26.region,$cse28.phase,$cse28.region,$cse29.region3boundary,$cse30.region3boundary,$cse31.phase,$cse31.region,$cse33.phase,$cse33.region,$cse35.region3boundary,$cse36.region3boundary,$cse37.phase,$cse37.region,$cse39.phase,$cse39.region,$whenCondition1,$whenCondition2,pipe1.statesFM[2].phase,pipe2.statesFM[2].phase,pipe3.statesFM[2].phase,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent) * Number of discrete states: 10 (valveOpening2.last,valveOpening2.nextEvent,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.b,valveOpening1.a,$whenCondition1) * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 130 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 15 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 1,1 1,1 1,3 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.01403/11.6, allocations: 2.996 MB / 3.932 GB, free: 55.45 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01011/11.61, allocations: 4.932 MB / 3.937 GB, free: 54.91 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 1.107e-05/11.61, allocations: 0 / 3.937 GB, free: 54.91 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.00352/11.61, allocations: 2.056 MB / 3.939 GB, free: 54.77 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004886/11.62, allocations: 0.7701 MB / 3.94 GB, free: 54.73 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01007/11.63, allocations: 5.336 MB / 3.945 GB, free: 53.62 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002866/11.63, allocations: 2.211 MB / 3.947 GB, free: 52.86 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.005512/11.64, allocations: 2.419 MB / 3.949 GB, free: 52.81 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006328/11.64, allocations: 145 kB / 3.949 GB, free: 52.8 MB / 0.4948 GB Notification: Performance of SimCode: time 8.42e-07/11.64, allocations: 1.406 kB / 3.949 GB, free: 52.8 MB / 0.4948 GB Notification: Performance of Templates: time 0.4401/12.08, allocations: 75.59 MB / 4.023 GB, free: 73.59 MB / 0.4948 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes12.pipe 2>&1)