Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.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.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.006351/0.006351, allocations: 166.5 kB / 15.11 MB, free: 5.969 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.257/1.257, allocations: 170.8 MB / 186.6 MB, free: 0.9688 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.00173/0.00173, allocations: 118.5 kB / 226.2 MB, free: 10.08 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.2729/0.2729, allocations: 38.05 MB / 303.7 MB, free: 42.52 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004063/0.0004065, allocations: 8 kB / 362.9 MB, free: 5.586 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1031, allocations: 48.7 MB / 411.6 MB, free: 4.805 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.132/6.235, allocations: 2.477 GB / 2.879 GB, free: 119.4 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/6.235, allocations: 80.95 kB / 2.879 GB, free: 119.4 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7743/7.009, allocations: 212.3 MB / 3.086 GB, free: 53.42 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.286e-06/7.009, allocations: 1.969 kB / 3.086 GB, free: 53.42 MB / 426.7 MB Notification: Performance of Transformations before backend: time 2.693e-05/7.009, allocations: 10.58 kB / 3.086 GB, free: 53.42 MB / 426.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.005365/7.015, allocations: 1.2 MB / 3.087 GB, free: 52.68 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.425e-05/7.015, allocations: 17.7 kB / 3.087 GB, free: 52.68 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001706/7.017, allocations: 206 kB / 3.087 GB, free: 52.65 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006195/7.017, allocations: 390.7 kB / 3.088 GB, free: 52.36 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.804e-05/7.017, allocations: 22.72 kB / 3.088 GB, free: 52.35 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.693e-05/7.017, allocations: 32.59 kB / 3.088 GB, free: 52.34 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00142/7.019, allocations: 0.6105 MB / 3.088 GB, free: 52.08 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.38e-05/7.019, allocations: 0 / 3.088 GB, free: 52.08 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.32e-05/7.019, allocations: 19.34 kB / 3.089 GB, free: 52.07 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/7.019, allocations: 7.344 kB / 3.089 GB, free: 52.07 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001464/7.02, allocations: 0.583 MB / 3.089 GB, free: 51.94 MB / 426.7 MB 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.002337/7.023, allocations: 2.539 MB / 3.092 GB, free: 49.76 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001328/7.024, allocations: 463.9 kB / 3.092 GB, free: 49.65 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09895/7.123, allocations: 51.3 MB / 3.142 GB, free: 15.25 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.227e-05/7.123, allocations: 46.45 kB / 3.142 GB, free: 15.2 MB / 426.7 MB Notification: Performance of pre-optimization done (n=25): time 2.785e-06/7.123, allocations: 0 / 3.142 GB, free: 15.2 MB / 426.7 MB Notification: Performance of matching and sorting (n=25): time 0.002705/7.126, allocations: 0.8305 MB / 3.143 GB, free: 14.36 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.201e-05/7.126, allocations: 102.8 kB / 3.143 GB, free: 14.24 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003077/7.126, allocations: 259.6 kB / 3.143 GB, free: 13.98 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 2.77e-05/7.126, allocations: 25.7 kB / 3.143 GB, free: 13.95 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000117/7.126, allocations: 223.8 kB / 3.144 GB, free: 13.72 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/7.126, allocations: 89.56 kB / 3.144 GB, free: 13.64 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.486e-05/7.126, allocations: 8 kB / 3.144 GB, free: 13.63 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 8.696e-05/7.127, allocations: 334.8 kB / 3.144 GB, free: 13.29 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003518/7.127, allocations: 156.5 kB / 3.144 GB, free: 13.14 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004143/7.127, allocations: 284.5 kB / 3.144 GB, free: 12.8 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000388/7.128, allocations: 180.7 kB / 3.145 GB, free: 12.63 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/7.128, allocations: 0 / 3.145 GB, free: 12.63 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009221/7.129, allocations: 485 kB / 3.145 GB, free: 12.15 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/7.129, allocations: 8 kB / 3.145 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.408e-06/7.129, allocations: 0 / 3.145 GB, free: 12.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.689e-05/7.129, allocations: 11.95 kB / 3.145 GB, free: 12.13 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/7.129, allocations: 107.8 kB / 3.145 GB, free: 12.02 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.115e-05/7.129, allocations: 12.16 kB / 3.145 GB, free: 12.01 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003767/7.13, allocations: 67.58 kB / 3.145 GB, free: 11.95 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.226e-05/7.13, allocations: 20 kB / 3.145 GB, free: 11.93 MB / 426.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: 4 (SourceP1.medium.phase,SinkP1.medium.phase,V1.state_b.phase,V1.state_a.phase) * Number of discrete states: 0 () * Number of clocked 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 0.0001985/7.13, allocations: 162.8 kB / 3.145 GB, free: 11.76 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.712e-05/7.13, allocations: 31.62 kB / 3.145 GB, free: 11.73 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002061/7.132, allocations: 1.928 MB / 3.147 GB, free: 9.785 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-05/7.132, allocations: 35.84 kB / 3.147 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.821e-06/7.132, allocations: 0 / 3.147 GB, free: 9.75 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/7.132, allocations: 3.984 kB / 3.147 GB, free: 9.746 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009149/7.133, allocations: 0.9804 MB / 3.148 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/7.133, allocations: 0 / 3.148 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003093/7.133, allocations: 91.86 kB / 3.148 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/7.133, allocations: 0 / 3.148 GB, free: 8.637 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.209e-05/7.133, allocations: 12 kB / 3.148 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.635e-06/7.133, allocations: 0 / 3.148 GB, free: 8.625 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.067e-06/7.133, allocations: 7.953 kB / 3.148 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001231/7.135, allocations: 1.101 MB / 3.149 GB, free: 7.496 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001684/7.135, allocations: 215.5 kB / 3.15 GB, free: 7.266 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.232e-05/7.135, allocations: 4 kB / 3.15 GB, free: 7.262 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003044/7.135, allocations: 47.91 kB / 3.15 GB, free: 7.215 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.286e-05/7.135, allocations: 31.95 kB / 3.15 GB, free: 7.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.433e-05/7.135, allocations: 19.94 kB / 3.15 GB, free: 7.164 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002508/7.135, allocations: 263.1 kB / 3.15 GB, free: 6.906 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.51e-07/7.135, allocations: 3.938 kB / 3.15 GB, free: 6.902 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005741/7.141, allocations: 1.007 MB / 3.151 GB, free: 5.895 MB / 426.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: 18 ($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) * Number of discrete states: 0 () * Number of clocked 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.008338/7.15, allocations: 1.363 MB / 3.152 GB, free: 4.676 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.001343/7.151, allocations: 0.6304 MB / 3.153 GB, free: 4.043 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/7.151, allocations: 0 / 3.153 GB, free: 4.043 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005643/7.152, allocations: 0.5206 MB / 3.153 GB, free: 3.523 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001117/7.153, allocations: 171.2 kB / 3.154 GB, free: 3.355 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4366/7.589, allocations: 75.81 MB / 3.228 GB, free: 67.51 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003523/7.59, allocations: 0.9798 MB / 3.229 GB, free: 66.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.0005647/7.59, allocations: 241.3 kB / 3.229 GB, free: 66.79 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001045/7.59, allocations: 37.81 kB / 3.229 GB, free: 66.79 MB / 442.7 MB Notification: Performance of SimCode: time 1.182e-06/7.59, allocations: 0 / 3.229 GB, free: 66.79 MB / 442.7 MB Notification: Performance of Templates: time 0.03995/7.63, allocations: 30.56 MB / 3.259 GB, free: 65.02 MB / 442.7 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1)