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.002034/0.002035, allocations: 171.3 kB / 7.638 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.626/1.626, allocations: 170.6 MB / 178.7 MB, free: 15.59 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.001699/0.001699, allocations: 99.5 kB / 218 MB, free: 8.344 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.2337/0.2337, allocations: 37.98 MB / 295.1 MB, free: 9.484 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 1.881e-05/1.883e-05, allocations: 1.562 kB / 350 MB, free: 36.98 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1033/0.1033, allocations: 48.73 MB / 398.7 MB, free: 5.32 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.066/6.169, allocations: 2.476 GB / 2.865 GB, free: 37.82 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/6.169, allocations: 85.69 kB / 2.865 GB, free: 37.74 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.109/7.278, allocations: 209 MB / 3.07 GB, free: 61.02 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.886e-06/7.278, allocations: 1.875 kB / 3.07 GB, free: 61.02 MB / 426.7 MB Notification: Performance of Transformations before backend: time 3.368e-05/7.279, allocations: 9.875 kB / 3.07 GB, free: 61.02 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.006819/7.285, allocations: 1.169 MB / 3.071 GB, free: 60.51 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.048e-05/7.285, allocations: 9.188 kB / 3.071 GB, free: 60.51 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00186/7.287, allocations: 206.4 kB / 3.071 GB, free: 60.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/7.288, allocations: 397.9 kB / 3.071 GB, free: 60.27 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.105e-05/7.288, allocations: 10.5 kB / 3.071 GB, free: 60.27 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.592e-05/7.288, allocations: 20.19 kB / 3.071 GB, free: 60.27 MB / 426.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000571/7.289, allocations: 298.2 kB / 3.072 GB, free: 60.27 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005995/7.289, allocations: 383.4 kB / 3.072 GB, free: 60.13 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.494e-05/7.289, allocations: 3.656 kB / 3.072 GB, free: 60.13 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.89e-05/7.289, allocations: 6.219 kB / 3.072 GB, free: 60.13 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/7.289, allocations: 7.469 kB / 3.072 GB, free: 60.13 MB / 426.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.00593/7.295, allocations: 3.861 MB / 3.076 GB, free: 57.44 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004371/7.296, allocations: 223.3 kB / 3.076 GB, free: 57.42 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/7.296, allocations: 116.9 kB / 3.076 GB, free: 57.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1053/7.401, allocations: 50.21 MB / 3.125 GB, free: 30.14 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.422e-05/7.401, allocations: 36.56 kB / 3.125 GB, free: 30.11 MB / 426.7 MB Notification: Performance of pre-optimization done (n=24): time 2.555e-06/7.401, allocations: 0 / 3.125 GB, free: 30.11 MB / 426.7 MB Notification: Performance of matching and sorting (n=24): time 0.002103/7.403, allocations: 0.5041 MB / 3.126 GB, free: 30.05 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.839e-05/7.404, allocations: 106.8 kB / 3.126 GB, free: 29.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004006/7.404, allocations: 242.5 kB / 3.126 GB, free: 29.82 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 6.484e-05/7.404, allocations: 29.67 kB / 3.126 GB, free: 29.79 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002023/7.404, allocations: 223 kB / 3.126 GB, free: 29.66 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001191/7.404, allocations: 80.52 kB / 3.126 GB, free: 29.62 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.735e-05/7.404, allocations: 0 / 3.126 GB, free: 29.62 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0001269/7.404, allocations: 337.3 kB / 3.127 GB, free: 29.31 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001693/7.405, allocations: 90.61 kB / 3.127 GB, free: 29.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002307/7.405, allocations: 206.7 kB / 3.127 GB, free: 29.16 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007113/7.406, allocations: 171.5 kB / 3.127 GB, free: 29.15 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.546e-06/7.406, allocations: 0 / 3.127 GB, free: 29.15 MB / 426.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.001037/7.407, allocations: 386.5 kB / 3.127 GB, free: 29.1 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.535e-05/7.407, allocations: 3.969 kB / 3.127 GB, free: 29.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.283e-05/7.407, allocations: 3.969 kB / 3.127 GB, free: 29.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.211e-05/7.407, allocations: 7.938 kB / 3.127 GB, free: 29.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005106/7.407, allocations: 108.2 kB / 3.128 GB, free: 29.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.409e-05/7.407, allocations: 5.281 kB / 3.128 GB, free: 29.1 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004945/7.408, allocations: 67.89 kB / 3.128 GB, free: 29.09 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.802e-05/7.408, allocations: 19.72 kB / 3.128 GB, free: 29.09 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 () * 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.0001203/7.408, allocations: 116.7 kB / 3.128 GB, free: 28.98 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.173e-05/7.408, allocations: 31.47 kB / 3.128 GB, free: 28.96 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00197/7.41, allocations: 1.621 MB / 3.129 GB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.566e-05/7.41, allocations: 27.94 kB / 3.129 GB, free: 28.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.696e-06/7.41, allocations: 3.953 kB / 3.129 GB, free: 28.76 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/7.41, allocations: 3.375 kB / 3.129 GB, free: 28.76 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009957/7.411, allocations: 0.8207 MB / 3.13 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.1e-06/7.411, allocations: 7.172 kB / 3.13 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003195/7.412, allocations: 86.58 kB / 3.13 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.906e-06/7.412, allocations: 3.906 kB / 3.13 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.972e-05/7.412, allocations: 7.625 kB / 3.13 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.746e-06/7.412, allocations: 4 kB / 3.13 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.426e-06/7.412, allocations: 3.938 kB / 3.13 GB, free: 28.54 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001095/7.413, allocations: 0.9129 MB / 3.131 GB, free: 28.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002144/7.413, allocations: 215 kB / 3.131 GB, free: 28.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.903e-05/7.413, allocations: 0 / 3.131 GB, free: 28.16 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003257/7.413, allocations: 42.84 kB / 3.131 GB, free: 28.15 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.103e-05/7.413, allocations: 26.75 kB / 3.131 GB, free: 28.15 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.246e-05/7.413, allocations: 15.33 kB / 3.131 GB, free: 28.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0002572/7.414, allocations: 259.1 kB / 3.132 GB, free: 28.06 MB / 426.7 MB Notification: Performance of sort global known variables: time 2.21e-07/7.414, allocations: 0 / 3.132 GB, free: 28.06 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005107/7.419, allocations: 0.9856 MB / 3.133 GB, free: 27.91 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: 16 ($cse1.phase,$cse1.region,$cse2.phase,$cse2.region,$cse3.region3boundary,$cse4.region3boundary,$cse5.phase,$cse5.region,$cse7.phase,$cse7.region,$cse8.phase,$cse8.region,$cse10.phase,$cse10.region,SourceP1.medium.phase,SinkP1.medium.phase) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * 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.008371/7.427, allocations: 1.425 MB / 3.134 GB, free: 27.61 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.000737/7.428, allocations: 467.8 kB / 3.135 GB, free: 27.6 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/7.428, allocations: 4.062 kB / 3.135 GB, free: 27.59 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004411/7.428, allocations: 419.6 kB / 3.135 GB, free: 27.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001101/7.43, allocations: 175.2 kB / 3.135 GB, free: 27.57 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1107/7.54, allocations: 54.34 MB / 3.188 GB, free: 19.09 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/7.541, allocations: 0.964 MB / 3.189 GB, free: 18.2 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005993/7.541, allocations: 249.3 kB / 3.189 GB, free: 18.06 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001251/7.541, allocations: 38.81 kB / 3.189 GB, free: 18.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.363e-06/7.541, allocations: 0 / 3.189 GB, free: 18.02 MB / 426.7 MB Notification: Performance of Templates: time 0.04508/7.587, allocations: 27.49 MB / 3.216 GB, free: 14.72 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)