Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") translateModel(ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junctionIdeal.medium.T|junctionIdeal.medium.p|pipe1.mediums.1..T|pipe1.mediums.1..p|pipe2.mediums.1..T|pipe2.mediums.1..p|pipe3.mediums.1..T|pipe3.mediums.1..p|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent|valveOpening2.a|valveOpening2.b|valveOpening2.last|valveOpening2.nextEvent",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001039/0.001039, allocations: 183.8 kB / 17.06 MB, free: 5.074 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.273/1.273, allocations: 223.2 MB / 241 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009478/0.0009475, allocations: 87.47 kB / 292.1 MB, free: 10.94 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3045/0.3045, allocations: 44.21 MB / 387.5 MB, free: 38.83 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003136/0.0003136, allocations: 12 kB / 459.9 MB, free: 1.543 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3021/0.3025, allocations: 61.89 MB / 0.5096 GB, free: 38.15 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9788/1.281, allocations: 0.5614 GB / 1.071 GB, free: 9.848 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001932/1.282, allocations: 85 kB / 1.071 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 1.913/3.195, allocations: 0.5072 GB / 1.578 GB, free: 60.22 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.914e-06/3.195, allocations: 0 / 1.578 GB, free: 60.22 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.0003371/3.195, allocations: 63.7 kB / 1.578 GB, free: 60.21 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 427 * Number of variables: 427 Notification: Performance of Generate backend data structure: time 0.01214/3.207, allocations: 3.1 MB / 1.581 GB, free: 58.67 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.51e-05/3.207, allocations: 9.906 kB / 1.581 GB, free: 58.67 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004024/3.211, allocations: 441.5 kB / 1.582 GB, free: 58.54 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007921/3.219, allocations: 1.958 MB / 1.584 GB, free: 58.1 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/3.219, allocations: 130.3 kB / 1.584 GB, free: 58.09 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001054/3.221, allocations: 166.4 kB / 1.584 GB, free: 58.09 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006324/3.227, allocations: 2.649 MB / 1.587 GB, free: 57.66 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.64e-05/3.227, allocations: 8.062 kB / 1.587 GB, free: 57.66 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005003/3.228, allocations: 71.5 kB / 1.587 GB, free: 57.66 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001892/3.228, allocations: 156 kB / 1.587 GB, free: 57.66 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004049/3.232, allocations: 2.263 MB / 1.589 GB, free: 57.64 MB / 0.5417 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.01518/3.247, allocations: 11.02 MB / 1.6 GB, free: 51.74 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002843/3.25, allocations: 1.82 MB / 1.602 GB, free: 51.41 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008221/3.251, allocations: 0.5131 MB / 1.602 GB, free: 50.94 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001928/3.253, allocations: 1.299 MB / 1.603 GB, free: 50.77 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=162): time 4.358e-06/3.253, allocations: 2.844 kB / 1.603 GB, free: 50.77 MB / 0.5417 GB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: pipe1.mediums[1].T 2: pipe2.mediums[1].T 3: pipe3.mediums[1].T 4: junctionIdeal.medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=185): time 0.02776/3.28, allocations: 11.23 MB / 1.614 GB, free: 48.8 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001009/3.281, allocations: 363.8 kB / 1.615 GB, free: 48.39 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/3.283, allocations: 1.415 MB / 1.616 GB, free: 48.22 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0003368/3.283, allocations: 63.67 kB / 1.616 GB, free: 48.19 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.000599/3.283, allocations: 0.8745 MB / 1.617 GB, free: 47.88 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/3.284, allocations: 0.6244 MB / 1.618 GB, free: 47.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001507/3.284, allocations: 42.62 kB / 1.618 GB, free: 47.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001123/3.284, allocations: 389.7 kB / 1.618 GB, free: 47.18 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/3.286, allocations: 1.043 MB / 1.619 GB, free: 47.17 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001712/3.287, allocations: 1.486 MB / 1.62 GB, free: 46.75 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001712/3.289, allocations: 1.315 MB / 1.622 GB, free: 46.3 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.663e-06/3.289, allocations: 3.5 kB / 1.622 GB, free: 46.3 MB / 0.5417 GB Notification: Performance of matching and sorting (n=260) (initialization): time 0.004809/3.294, allocations: 3.171 MB / 1.625 GB, free: 45.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006599/3.295, allocations: 3.768 MB / 1.629 GB, free: 41.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/3.295, allocations: 9.25 kB / 1.629 GB, free: 41.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004211/3.295, allocations: 198.7 kB / 1.629 GB, free: 41.08 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/3.297, allocations: 0.5341 MB / 1.629 GB, free: 41.06 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00102/3.298, allocations: 2.33 MB / 1.632 GB, free: 38.91 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002626/3.301, allocations: 212.4 kB / 1.632 GB, free: 38.87 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003535/3.301, allocations: 190.4 kB / 1.632 GB, free: 38.85 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/3.302, allocations: 2.906 kB / 1.632 GB, free: 38.85 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004339/3.306, allocations: 2.897 MB / 1.635 GB, free: 37.84 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.506e-05/3.306, allocations: 8.844 kB / 1.635 GB, free: 37.84 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003414/3.306, allocations: 190.8 kB / 1.635 GB, free: 37.78 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002189/3.308, allocations: 0.5396 MB / 1.635 GB, free: 37.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001026/3.309, allocations: 2.323 MB / 1.638 GB, free: 35.59 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002746/3.312, allocations: 214.4 kB / 1.638 GB, free: 35.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003884/3.313, allocations: 189.3 kB / 1.638 GB, free: 35.52 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 41 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,$PRE.valveOpening1.nextEvent,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,$PRE.valveOpening2.nextEvent,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (246): * Single equations (assignments): 240 * 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,1 1} Notification: Performance of prepare postOptimizeDAE: time 0.001587/3.314, allocations: 0.6842 MB / 1.639 GB, free: 35.06 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005426/3.315, allocations: 212.2 kB / 1.639 GB, free: 34.95 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007208/3.322, allocations: 4.667 MB / 1.644 GB, free: 33.54 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.296e-05/3.322, allocations: 18.53 kB / 1.644 GB, free: 33.54 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.636e-06/3.322, allocations: 3.688 kB / 1.644 GB, free: 33.54 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003399/3.325, allocations: 2.804 MB / 1.646 GB, free: 32.21 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01079/3.336, allocations: 7.045 MB / 1.653 GB, free: 28.51 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.189e-05/3.336, allocations: 8 kB / 1.653 GB, free: 28.5 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001806/3.338, allocations: 438.7 kB / 1.654 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003989/3.339, allocations: 188.3 kB / 1.654 GB, free: 27.98 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001947/3.339, allocations: 103.3 kB / 1.654 GB, free: 27.89 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001806/3.341, allocations: 3.082 MB / 1.657 GB, free: 24.71 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/3.341, allocations: 10.44 kB / 1.657 GB, free: 24.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006537/3.347, allocations: 4.811 MB / 1.662 GB, free: 20.03 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001728/3.349, allocations: 0.5355 MB / 1.662 GB, free: 19.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005032/3.349, allocations: 59.42 kB / 1.662 GB, free: 19.49 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/3.351, allocations: 137.6 kB / 1.662 GB, free: 19.39 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002719/3.351, allocations: 180 kB / 1.662 GB, free: 19.27 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002422/3.352, allocations: 160.1 kB / 1.663 GB, free: 19.13 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001525/3.353, allocations: 1.106 MB / 1.664 GB, free: 18.18 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/3.353, allocations: 3.938 kB / 1.664 GB, free: 18.18 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.005858/3.359, allocations: 1.796 MB / 1.665 GB, free: 16.42 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 29 * Number of states: 8 (pipe1.mediums[1].p,pipe1.mediums[1].T,pipe2.mediums[1].p,pipe2.mediums[1].T,pipe3.mediums[1].p,pipe3.mediums[1].T,junctionIdeal.medium.p,junctionIdeal.medium.T) * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,valveOpening1.a,valveOpening1.b,valveOpening1.last,valveOpening1.nextEvent,valveOpening1.nextEventScaled,valveOpening2.a,valveOpening2.b,valveOpening2.last,valveOpening2.nextEvent,valveOpening2.nextEventScaled) * Number of discrete states: 12 (valveOpening2.nextEvent,valveOpening2.last,valveOpening2.nextEventScaled,valveOpening2.b,valveOpening2.a,$whenCondition2,valveOpening1.nextEvent,valveOpening1.last,valveOpening1.nextEventScaled,valveOpening1.b,valveOpening1.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (191): * Single equations (assignments): 185 * 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: 1 {(1,100.0%) 1} * Non-linear torn systems: 3 {1 1,1 1,1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.004587/3.364, allocations: 2.137 MB / 1.668 GB, free: 14.98 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.007361/3.371, allocations: 4.371 MB / 1.672 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.236e-05/3.371, allocations: 0 / 1.672 GB, free: 11.11 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00242/3.373, allocations: 1.539 MB / 1.673 GB, free: 9.719 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00491/3.378, allocations: 0.9803 MB / 1.674 GB, free: 9.012 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009749/3.388, allocations: 5.659 MB / 1.68 GB, free: 3.898 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001428/3.39, allocations: 1.717 MB / 1.681 GB, free: 2.508 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.007184/3.397, allocations: 3.041 MB / 1.684 GB, free: 0.5625 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001214/3.398, allocations: 346.8 kB / 1.685 GB, free: 284 kB / 0.5417 GB Notification: Performance of SimCode: time 8.42e-07/3.398, allocations: 4 kB / 1.685 GB, free: 280 kB / 0.5417 GB Notification: Performance of Templates: time 0.4185/3.817, allocations: 70.76 MB / 1.754 GB, free: 67.48 MB / 0.5573 GB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.sim & ./ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Fluid.TestPipesAndValves.BranchingPipes15.pipe 2>&1)