Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.002301/0.002301, allocations: 180.3 kB / 7.651 MB, free: 1.402 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.692/1.692, allocations: 194.3 MB / 202.4 MB, free: 8.477 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001749/0.001749, allocations: 111.5 kB / 247.4 MB, free: 6.23 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2215/0.2215, allocations: 39.95 MB / 332.2 MB, free: 4.766 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.839e-05/1.867e-05, allocations: 4 kB / 393.3 MB, free: 75.53 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1118/0.1118, allocations: 54.87 MB / 448.2 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.091/6.203, allocations: 2.587 GB / 3.024 GB, free: 154.3 MB / 474.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/6.203, allocations: 83.58 kB / 3.024 GB, free: 154.3 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7298/6.933, allocations: 212.8 MB / 3.232 GB, free: 84.71 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.893e-06/6.933, allocations: 0 / 3.232 GB, free: 84.71 MB / 474.7 MB Notification: Performance of Transformations before backend: time 2.779e-05/6.933, allocations: 7.5 kB / 3.232 GB, free: 84.71 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: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.004653/6.938, allocations: 1.181 MB / 3.233 GB, free: 84.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/6.938, allocations: 10.81 kB / 3.233 GB, free: 84.1 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001765/6.94, allocations: 219 kB / 3.234 GB, free: 84.08 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006727/6.94, allocations: 381.8 kB / 3.234 GB, free: 83.85 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.703e-05/6.941, allocations: 14.77 kB / 3.234 GB, free: 83.85 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.19e-05/6.941, allocations: 20.64 kB / 3.234 GB, free: 83.85 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004801/6.941, allocations: 294.6 kB / 3.234 GB, free: 83.84 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005067/6.942, allocations: 393.8 kB / 3.235 GB, free: 83.7 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/6.942, allocations: 3.875 kB / 3.235 GB, free: 83.7 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.831e-05/6.942, allocations: 0 / 3.235 GB, free: 83.7 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/6.942, allocations: 10.41 kB / 3.235 GB, free: 83.7 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.005046/6.947, allocations: 3.887 MB / 3.239 GB, free: 81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003807/6.947, allocations: 236.2 kB / 3.239 GB, free: 80.97 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001494/6.947, allocations: 112.9 kB / 3.239 GB, free: 80.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09857/7.046, allocations: 50.24 MB / 3.288 GB, free: 53.32 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.161e-05/7.046, allocations: 38.33 kB / 3.288 GB, free: 53.28 MB / 474.7 MB Notification: Performance of pre-optimization done (n=24): time 3.066e-06/7.046, allocations: 0 / 3.288 GB, free: 53.28 MB / 474.7 MB Notification: Performance of matching and sorting (n=24): time 0.001795/7.048, allocations: 0.4987 MB / 3.288 GB, free: 53.23 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.707e-05/7.048, allocations: 114.6 kB / 3.289 GB, free: 53.09 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003022/7.048, allocations: 239.2 kB / 3.289 GB, free: 52.99 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.02e-05/7.048, allocations: 25.7 kB / 3.289 GB, free: 52.96 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/7.048, allocations: 223.5 kB / 3.289 GB, free: 52.82 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.674e-05/7.048, allocations: 80.03 kB / 3.289 GB, free: 52.77 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.646e-05/7.048, allocations: 0 / 3.289 GB, free: 52.77 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.583e-05/7.048, allocations: 342.5 kB / 3.289 GB, free: 52.45 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001314/7.049, allocations: 87.8 kB / 3.29 GB, free: 52.45 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001649/7.049, allocations: 200.9 kB / 3.29 GB, free: 52.3 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005948/7.049, allocations: 175.2 kB / 3.29 GB, free: 52.29 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/7.049, allocations: 3.688 kB / 3.29 GB, free: 52.29 MB / 474.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009235/7.05, allocations: 386.9 kB / 3.29 GB, free: 52.14 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.957e-05/7.05, allocations: 7.469 kB / 3.29 GB, free: 52.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.466e-06/7.05, allocations: 7.906 kB / 3.29 GB, free: 52.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.952e-05/7.05, allocations: 6.875 kB / 3.29 GB, free: 52.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003771/7.051, allocations: 106 kB / 3.29 GB, free: 52.13 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/7.051, allocations: 11.11 kB / 3.29 GB, free: 52.12 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004038/7.051, allocations: 68.22 kB / 3.29 GB, free: 52.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.609e-05/7.051, allocations: 19.22 kB / 3.29 GB, free: 52.1 MB / 474.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.0001034/7.051, allocations: 123.9 kB / 3.291 GB, free: 51.98 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.624e-05/7.051, allocations: 32.34 kB / 3.291 GB, free: 51.96 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001728/7.053, allocations: 1.618 MB / 3.292 GB, free: 51.19 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.258e-05/7.053, allocations: 30.14 kB / 3.292 GB, free: 51.18 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/7.053, allocations: 0 / 3.292 GB, free: 51.18 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.869e-06/7.053, allocations: 0 / 3.292 GB, free: 51.18 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008045/7.054, allocations: 0.8202 MB / 3.293 GB, free: 50.7 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/7.054, allocations: 0 / 3.293 GB, free: 50.7 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003272/7.054, allocations: 95.53 kB / 3.293 GB, free: 50.68 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/7.054, allocations: 3.906 kB / 3.293 GB, free: 50.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/7.054, allocations: 0 / 3.293 GB, free: 50.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.641e-06/7.054, allocations: 7.734 kB / 3.293 GB, free: 50.68 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/7.054, allocations: 0 / 3.293 GB, free: 50.68 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00103/7.056, allocations: 0.9164 MB / 3.294 GB, free: 50.21 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001847/7.056, allocations: 204.3 kB / 3.294 GB, free: 50.03 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.872e-05/7.056, allocations: 6.641 kB / 3.294 GB, free: 50.03 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003246/7.056, allocations: 50.31 kB / 3.294 GB, free: 50.02 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.333e-05/7.056, allocations: 31.89 kB / 3.294 GB, free: 50.02 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.409e-05/7.056, allocations: 11.81 kB / 3.294 GB, free: 50.01 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0002291/7.056, allocations: 261.7 kB / 3.295 GB, free: 49.87 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.5e-07/7.056, allocations: 0 / 3.295 GB, free: 49.87 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.00454/7.061, allocations: 0.9821 MB / 3.296 GB, free: 49.67 MB / 474.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.007876/7.069, allocations: 1.436 MB / 3.297 GB, free: 49.29 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0006817/7.07, allocations: 465.8 kB / 3.297 GB, free: 49.11 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 4.498e-06/7.07, allocations: 0.9375 kB / 3.297 GB, free: 49.11 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004396/7.07, allocations: 414.7 kB / 3.298 GB, free: 48.91 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001049/7.071, allocations: 170.4 kB / 3.298 GB, free: 48.88 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1039/7.175, allocations: 54.34 MB / 3.351 GB, free: 2.766 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003724/7.176, allocations: 0.9675 MB / 3.352 GB, free: 1.77 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0005755/7.176, allocations: 245.7 kB / 3.352 GB, free: 1.535 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/7.176, allocations: 43.42 kB / 3.352 GB, free: 1.492 MB / 474.7 MB Notification: Performance of SimCode: time 1.342e-06/7.176, allocations: 0 / 3.352 GB, free: 1.492 MB / 474.7 MB Notification: Performance of Templates: time 0.3237/7.5, allocations: 27.62 MB / 3.379 GB, free: 91.97 MB / 490.7 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.pipe 2>&1)