Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.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.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.00162/0.00162, allocations: 169.9 kB / 12.72 MB, free: 2.594 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.208/1.208, allocations: 170.6 MB / 183.8 MB, free: 11.5 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.001603/0.001603, allocations: 99.47 kB / 223.2 MB, free: 4.117 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.161/0.161, allocations: 38 MB / 300.4 MB, free: 5.355 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.696e-05, allocations: 0 / 357 MB, free: 32.33 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07961/0.07966, allocations: 48.71 MB / 405.7 MB, free: 15.65 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.819/4.899, allocations: 2.477 GB / 2.873 GB, free: 97.31 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002168/4.899, allocations: 83.83 kB / 2.873 GB, free: 97.31 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6438/5.543, allocations: 211.5 MB / 3.08 GB, free: 74.38 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.482e-06/5.543, allocations: 0 / 3.08 GB, free: 74.38 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.978e-05/5.543, allocations: 11.81 kB / 3.08 GB, free: 74.38 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.003888/5.547, allocations: 1.142 MB / 3.081 GB, free: 73.7 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.812e-05/5.547, allocations: 10.56 kB / 3.081 GB, free: 73.7 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00159/5.549, allocations: 207.8 kB / 3.081 GB, free: 73.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005321/5.549, allocations: 388 kB / 3.081 GB, free: 73.38 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.196e-05/5.549, allocations: 27.28 kB / 3.081 GB, free: 73.37 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.228e-05/5.549, allocations: 31.09 kB / 3.082 GB, free: 73.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001299/5.55, allocations: 0.5816 MB / 3.082 GB, free: 73.08 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.508e-05/5.551, allocations: 0 / 3.082 GB, free: 73.08 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.265e-05/5.551, allocations: 11.62 kB / 3.082 GB, free: 73.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.092e-05/5.551, allocations: 7.438 kB / 3.082 GB, free: 73.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001082/5.552, allocations: 0.4901 MB / 3.083 GB, free: 72.93 MB / 442.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.00239/5.554, allocations: 2.535 MB / 3.085 GB, free: 70.76 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001057/5.555, allocations: 414.3 kB / 3.085 GB, free: 70.63 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/5.555, allocations: 126.5 kB / 3.086 GB, free: 70.58 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0955/5.651, allocations: 51.59 MB / 3.136 GB, free: 36.52 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.297e-05/5.651, allocations: 42.52 kB / 3.136 GB, free: 36.47 MB / 442.7 MB Notification: Performance of pre-optimization done (n=25): time 2.154e-06/5.651, allocations: 3.938 kB / 3.136 GB, free: 36.46 MB / 442.7 MB Notification: Performance of matching and sorting (n=25): time 0.001906/5.653, allocations: 0.6116 MB / 3.137 GB, free: 35.98 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.463e-05/5.653, allocations: 110.8 kB / 3.137 GB, free: 35.85 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002253/5.653, allocations: 253.2 kB / 3.137 GB, free: 35.62 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.288e-05/5.653, allocations: 33.53 kB / 3.137 GB, free: 35.58 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 8.923e-05/5.653, allocations: 215.8 kB / 3.137 GB, free: 35.38 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.656e-05/5.653, allocations: 82.09 kB / 3.137 GB, free: 35.31 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.556e-05/5.653, allocations: 8 kB / 3.137 GB, free: 35.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 6.354e-05/5.653, allocations: 342.1 kB / 3.138 GB, free: 34.97 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001306/5.654, allocations: 87.7 kB / 3.138 GB, free: 34.88 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001742/5.654, allocations: 219.2 kB / 3.138 GB, free: 34.62 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/5.654, allocations: 125.6 kB / 3.138 GB, free: 34.52 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/5.654, allocations: 0 / 3.138 GB, free: 34.52 MB / 442.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004526/5.654, allocations: 355 kB / 3.138 GB, free: 34.19 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.782e-05/5.654, allocations: 8 kB / 3.138 GB, free: 34.18 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.226e-06/5.654, allocations: 7.953 kB / 3.138 GB, free: 34.18 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.66e-05/5.654, allocations: 4 kB / 3.138 GB, free: 34.17 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003486/5.655, allocations: 98.12 kB / 3.138 GB, free: 34.09 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/5.655, allocations: 4 kB / 3.138 GB, free: 34.09 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003246/5.655, allocations: 70.5 kB / 3.139 GB, free: 34.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.033e-05/5.655, allocations: 16 kB / 3.139 GB, free: 34.01 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 5 (SourceP1.medium.phase,SinkP1.medium.phase,Opening.y,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 40 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.893e-05/5.655, allocations: 130 kB / 3.139 GB, free: 33.88 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.302e-05/5.655, allocations: 31.72 kB / 3.139 GB, free: 33.85 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001473/5.657, allocations: 1.843 MB / 3.14 GB, free: 32.1 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/5.657, allocations: 31.91 kB / 3.141 GB, free: 32.07 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/5.657, allocations: 0 / 3.141 GB, free: 32.07 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.052e-06/5.657, allocations: 7.922 kB / 3.141 GB, free: 32.06 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008439/5.658, allocations: 0.9819 MB / 3.141 GB, free: 31.04 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/5.658, allocations: 0 / 3.141 GB, free: 31.04 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002865/5.658, allocations: 75.88 kB / 3.142 GB, free: 30.96 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/5.658, allocations: 0 / 3.142 GB, free: 30.96 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/5.658, allocations: 8 kB / 3.142 GB, free: 30.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.465e-06/5.658, allocations: 4 kB / 3.142 GB, free: 30.95 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/5.658, allocations: 11.95 kB / 3.142 GB, free: 30.94 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000804/5.659, allocations: 0.9676 MB / 3.143 GB, free: 29.95 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001237/5.659, allocations: 207.6 kB / 3.143 GB, free: 29.73 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.247e-05/5.659, allocations: 8 kB / 3.143 GB, free: 29.72 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000283/5.659, allocations: 59.39 kB / 3.143 GB, free: 29.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.927e-05/5.659, allocations: 31.91 kB / 3.143 GB, free: 29.64 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/5.659, allocations: 15.98 kB / 3.143 GB, free: 29.62 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.0002066/5.66, allocations: 253.2 kB / 3.143 GB, free: 29.38 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.6e-07/5.66, allocations: 0 / 3.143 GB, free: 29.38 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004051/5.664, allocations: 0.9991 MB / 3.144 GB, free: 28.38 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 19 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse6.phase,$cse6.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse11.phase,$cse11.region,SourceP1.medium.phase,SinkP1.medium.phase,Opening.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (35): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.005624/5.669, allocations: 1.368 MB / 3.145 GB, free: 27.16 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0007102/5.67, allocations: 0.5012 MB / 3.146 GB, free: 26.66 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 4.799e-06/5.67, allocations: 4 kB / 3.146 GB, free: 26.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004047/5.671, allocations: 473.7 kB / 3.146 GB, free: 26.19 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000924/5.671, allocations: 171.7 kB / 3.146 GB, free: 26.03 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3417/6.013, allocations: 74.98 MB / 3.22 GB, free: 70.93 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003124/6.014, allocations: 0.9799 MB / 3.221 GB, free: 70.23 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.000465/6.014, allocations: 242.3 kB / 3.221 GB, free: 70.21 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001042/6.014, allocations: 40.66 kB / 3.221 GB, free: 70.21 MB / 442.7 MB Notification: Performance of SimCode: time 1.934e-06/6.014, allocations: 0 / 3.221 GB, free: 70.21 MB / 442.7 MB Notification: Performance of Templates: time 0.03607/6.05, allocations: 31.69 MB / 3.252 GB, free: 68.4 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveDiscrete.pipe 2>&1)