Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.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.BranchingPipes3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001111/0.001111, allocations: 165.7 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.391/1.391, allocations: 170.7 MB / 178.7 MB, free: 15.64 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.001791/0.001791, allocations: 103.5 kB / 218 MB, free: 8.406 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.1952/0.1952, allocations: 37.98 MB / 295.1 MB, free: 9.492 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.973e-05/1.979e-05, allocations: 2.312 kB / 350 MB, free: 37.01 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09414/0.09418, allocations: 48.73 MB / 398.7 MB, free: 5.348 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 7.534/7.629, allocations: 2.562 GB / 2.951 GB, free: 112 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000305/7.629, allocations: 79.52 kB / 2.951 GB, free: 112 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.593/11.22, allocations: 0.8392 GB / 3.791 GB, free: 33.66 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.613e-06/11.22, allocations: 0 / 3.791 GB, free: 33.66 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0003108/11.22, allocations: 58.91 kB / 3.791 GB, free: 33.65 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 472 * Number of variables: 472 Notification: Performance of Generate backend data structure: time 0.01481/11.24, allocations: 3.628 MB / 3.794 GB, free: 32.04 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.216e-05/11.24, allocations: 12.58 kB / 3.794 GB, free: 32.04 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006162/11.24, allocations: 0.7514 MB / 3.795 GB, free: 31.91 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007409/11.25, allocations: 1.961 MB / 3.797 GB, free: 31.48 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004083/11.25, allocations: 86.45 kB / 3.797 GB, free: 31.48 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001308/11.25, allocations: 112.8 kB / 3.797 GB, free: 31.47 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007085/11.26, allocations: 2.279 MB / 3.799 GB, free: 31.46 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006151/11.27, allocations: 2.522 MB / 3.802 GB, free: 30.98 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.928e-05/11.27, allocations: 11.5 kB / 3.802 GB, free: 30.98 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005452/11.27, allocations: 11.53 kB / 3.802 GB, free: 30.98 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002193/11.27, allocations: 151.3 kB / 3.802 GB, free: 30.98 MB / 474.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.2325/11.5, allocations: 108 MB / 3.907 GB, free: 22.49 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002788/11.5, allocations: 1.44 MB / 3.909 GB, free: 22.45 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001706/11.5, allocations: 0.9342 MB / 3.91 GB, free: 22.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.03416/11.54, allocations: 17.45 MB / 3.927 GB, free: 10.87 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002627/11.54, allocations: 1.127 MB / 3.928 GB, free: 10.7 MB / 0.5105 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.00169/11.54, allocations: 144.9 kB / 3.928 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=141): time 7.785e-06/11.54, allocations: 0 / 3.928 GB, free: 10.64 MB / 0.5105 GB Notification: Performance of matching and sorting (n=153): time 0.03785/11.58, allocations: 8.765 MB / 3.937 GB, free: 5.176 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002167/11.58, allocations: 358.4 kB / 3.937 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001885/11.58, allocations: 1.021 MB / 3.938 GB, free: 4.086 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004109/11.58, allocations: 29.7 kB / 3.938 GB, free: 4.051 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008357/11.58, allocations: 0.9368 MB / 3.939 GB, free: 3.508 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000635/11.58, allocations: 0.4936 MB / 3.939 GB, free: 3.109 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/11.58, allocations: 4 kB / 3.939 GB, free: 3.105 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0001928/11.59, allocations: 377.6 kB / 3.94 GB, free: 2.781 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001317/11.59, allocations: 0.8863 MB / 3.941 GB, free: 2.324 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001573/11.59, allocations: 1.318 MB / 3.942 GB, free: 1.348 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0078/11.6, allocations: 1.809 MB / 3.944 GB, free: 392 kB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/11.6, allocations: 8 kB / 3.944 GB, free: 384 kB / 0.5105 GB Notification: Performance of matching and sorting (n=232) (initialization): time 0.3619/11.96, allocations: 3.733 MB / 3.947 GB, free: 79.97 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008473/11.96, allocations: 4.31 MB / 3.952 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/11.96, allocations: 14.25 kB / 3.952 GB, free: 75.56 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002024/11.96, allocations: 499 kB / 3.952 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00212/11.96, allocations: 454.4 kB / 3.952 GB, free: 75.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002317/11.97, allocations: 2.815 MB / 3.955 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002641/11.97, allocations: 266.5 kB / 3.955 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/11.97, allocations: 100 kB / 3.956 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/11.97, allocations: 5.594 kB / 3.956 GB, free: 73.46 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01012/11.98, allocations: 2.962 MB / 3.958 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/11.98, allocations: 12.31 kB / 3.958 GB, free: 73.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004394/11.98, allocations: 182.6 kB / 3.959 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001868/11.98, allocations: 465.5 kB / 3.959 GB, free: 73.36 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001077/11.98, allocations: 1.894 MB / 3.961 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002319/11.98, allocations: 243.8 kB / 3.961 GB, free: 71.81 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00023/11.98, allocations: 94.03 kB / 3.961 GB, free: 71.81 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * Number of states: 0 () * Number of discrete variables: 27 (valveIncompressible1.state_b.phase,valveIncompressible1.state_a.phase,valveIncompressible.state_b.phase,valveIncompressible.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_a.phase,pipe3.state_b.phase,pipe2.state_a.phase,pipe2.state_b.phase,pipe1.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 209 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * 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,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0006143/11.98, allocations: 233 kB / 3.961 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003524/11.99, allocations: 176.4 kB / 3.962 GB, free: 71.64 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01318/12, allocations: 6.698 MB / 3.968 GB, free: 71.29 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.618e-05/12, allocations: 71.11 kB / 3.968 GB, free: 71.29 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.059e-05/12, allocations: 1.094 kB / 3.968 GB, free: 71.29 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.01161/12.01, allocations: 5.831 MB / 3.974 GB, free: 70.54 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01878/12.03, allocations: 9.907 MB / 3.984 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.118e-05/12.03, allocations: 3.719 kB / 3.984 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/12.03, allocations: 313.5 kB / 3.984 GB, free: 69.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001926/12.03, allocations: 1.265 MB / 3.985 GB, free: 69.58 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001832/12.03, allocations: 44.67 kB / 3.985 GB, free: 69.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00225/12.03, allocations: 3.392 MB / 3.989 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.706e-06/12.03, allocations: 8.75 kB / 3.989 GB, free: 67.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01213/12.05, allocations: 7.074 MB / 3.995 GB, free: 66.37 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00147/12.05, allocations: 0.6436 MB / 3.996 GB, free: 66.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000322/12.05, allocations: 26.25 kB / 3.996 GB, free: 66.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001312/12.05, allocations: 147.2 kB / 3.996 GB, free: 66.13 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002214/12.05, allocations: 136.9 kB / 3.996 GB, free: 66.13 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/12.05, allocations: 69.14 kB / 3.996 GB, free: 66.13 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001192/12.05, allocations: 0.9528 MB / 3.997 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.41e-07/12.05, allocations: 0 / 3.997 GB, free: 66.02 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008699/12.06, allocations: 2.449 MB / 4 GB, free: 66.02 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 23 * Number of states: 6 (pipe1.mediums[1].p,pipe1.mediums[1].h,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,$cse9.phase,$cse9.region,$cse14.phase,$cse14.region,$cse15.phase,$cse15.region,$cse17.phase,$cse17.region,$cse22.phase,$cse22.region,$cse23.phase,$cse23.region,$cse25.phase,$cse25.region,$cse26.region3boundary,$cse27.region3boundary,$cse28.phase,$cse28.region,$cse30.phase,$cse30.region,$cse31.region3boundary,$cse32.region3boundary,$cse33.phase,$cse33.region,$cse35.phase,$cse35.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 (161): * Single equations (assignments): 139 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 16 * 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,2 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.01064/12.07, allocations: 2.931 MB / 4.003 GB, free: 65.73 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.006592/12.08, allocations: 4.207 MB / 4.007 GB, free: 65.42 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.103e-05/12.08, allocations: 1.375 kB / 4.007 GB, free: 65.42 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002613/12.08, allocations: 2.089 MB / 4.009 GB, free: 65.28 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004242/12.08, allocations: 0.7784 MB / 4.01 GB, free: 65.25 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007395/12.09, allocations: 5.08 MB / 4.014 GB, free: 64.13 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001352/12.09, allocations: 2.094 MB / 4.017 GB, free: 63.38 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.004351/12.1, allocations: 2.478 MB / 4.019 GB, free: 63.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004545/12.1, allocations: 148.7 kB / 4.019 GB, free: 63.33 MB / 0.5105 GB Notification: Performance of SimCode: time 1.402e-06/12.1, allocations: 0 / 4.019 GB, free: 63.33 MB / 0.5105 GB Notification: Performance of Templates: time 0.09743/12.2, allocations: 69.26 MB / 4.087 GB, free: 55.65 MB / 0.5105 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes3.pipe 2>&1)