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.006218/0.006218, allocations: 174.9 kB / 15.12 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.435/1.435, allocations: 194.5 MB / 210.3 MB, free: 7.539 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.0017/0.0017, allocations: 128.5 kB / 255.6 MB, free: 10.14 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.1837/0.1837, allocations: 40.01 MB / 340.8 MB, free: 11.39 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000463/0.0004633, allocations: 15.09 kB / 406.2 MB, free: 51.86 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1178, allocations: 54.86 MB / 461 MB, free: 3.324 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 6.618/6.736, allocations: 2.587 GB / 3.038 GB, free: 81.92 MB / 490.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/6.736, allocations: 84.95 kB / 3.038 GB, free: 81.88 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7496/7.486, allocations: 216.2 MB / 3.249 GB, free: 66.91 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.863e-06/7.486, allocations: 3.938 kB / 3.249 GB, free: 66.9 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.32e-05/7.486, allocations: 11.91 kB / 3.249 GB, free: 66.89 MB / 490.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.005247/7.491, allocations: 1.223 MB / 3.25 GB, free: 65.63 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/7.491, allocations: 8.031 kB / 3.25 GB, free: 65.62 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001744/7.493, allocations: 226.1 kB / 3.25 GB, free: 65.41 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005639/7.493, allocations: 388.9 kB / 3.251 GB, free: 65 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/7.493, allocations: 25.17 kB / 3.251 GB, free: 64.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.301e-05/7.493, allocations: 28.34 kB / 3.251 GB, free: 64.95 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001392/7.495, allocations: 0.6177 MB / 3.251 GB, free: 64.29 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/7.495, allocations: 0 / 3.251 GB, free: 64.29 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.108e-05/7.495, allocations: 16 kB / 3.251 GB, free: 64.28 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.868e-06/7.495, allocations: 11.94 kB / 3.251 GB, free: 64.27 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001417/7.496, allocations: 0.5833 MB / 3.252 GB, free: 63.69 MB / 490.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.002162/7.499, allocations: 2.533 MB / 3.254 GB, free: 60.95 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001295/7.5, allocations: 468.5 kB / 3.255 GB, free: 60.5 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09464/7.595, allocations: 51.35 MB / 3.305 GB, free: 3.766 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.993e-05/7.595, allocations: 46.55 kB / 3.305 GB, free: 3.711 MB / 490.7 MB Notification: Performance of pre-optimization done (n=25): time 2.555e-06/7.595, allocations: 0 / 3.305 GB, free: 3.711 MB / 490.7 MB Notification: Performance of matching and sorting (n=25): time 0.002871/7.598, allocations: 0.8208 MB / 3.306 GB, free: 2.883 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.577e-05/7.598, allocations: 106.8 kB / 3.306 GB, free: 2.754 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003314/7.598, allocations: 259.6 kB / 3.306 GB, free: 2.492 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.839e-05/7.598, allocations: 29.7 kB / 3.306 GB, free: 2.457 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001266/7.598, allocations: 216 kB / 3.306 GB, free: 2.242 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.648e-05/7.598, allocations: 93.42 kB / 3.307 GB, free: 2.152 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.477e-05/7.598, allocations: 4 kB / 3.307 GB, free: 2.148 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.894e-05/7.598, allocations: 342.8 kB / 3.307 GB, free: 1.805 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003606/7.599, allocations: 156.5 kB / 3.307 GB, free: 1.648 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/7.599, allocations: 280.6 kB / 3.307 GB, free: 1.32 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003876/7.599, allocations: 175.8 kB / 3.307 GB, free: 1.148 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.429e-06/7.599, allocations: 0 / 3.307 GB, free: 1.148 MB / 490.7 MB Notification: Performance of matching and sorting (n=40) (initialization): time 0.0009486/7.6, allocations: 489.9 kB / 3.308 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.476e-05/7.6, allocations: 8 kB / 3.308 GB, free: 0.6562 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/7.6, allocations: 4 kB / 3.308 GB, free: 0.6523 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.268e-05/7.601, allocations: 4 kB / 3.308 GB, free: 0.6484 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003675/7.601, allocations: 107.9 kB / 3.308 GB, free: 0.543 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.322e-05/7.601, allocations: 8.062 kB / 3.308 GB, free: 0.5352 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003942/7.601, allocations: 71.64 kB / 3.308 GB, free: 476 kB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.054e-05/7.601, allocations: 16 kB / 3.308 GB, free: 460 kB / 490.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.0001997/7.602, allocations: 173.6 kB / 3.308 GB, free: 276 kB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.048e-05/7.602, allocations: 31.62 kB / 3.308 GB, free: 244 kB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.2895/7.891, allocations: 1.922 MB / 3.31 GB, free: 89.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.308e-05/7.891, allocations: 30.02 kB / 3.31 GB, free: 89.67 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.835e-06/7.891, allocations: 0 / 3.31 GB, free: 89.67 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/7.891, allocations: 4.531 kB / 3.31 GB, free: 89.67 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/7.893, allocations: 0.9874 MB / 3.311 GB, free: 89.46 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.088e-06/7.893, allocations: 0 / 3.311 GB, free: 89.46 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003578/7.893, allocations: 89.53 kB / 3.311 GB, free: 89.46 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.965e-06/7.893, allocations: 0 / 3.311 GB, free: 89.46 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.428e-05/7.893, allocations: 7.375 kB / 3.311 GB, free: 89.46 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.098e-06/7.893, allocations: 4.125 kB / 3.311 GB, free: 89.46 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/7.893, allocations: 5 kB / 3.311 GB, free: 89.46 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001512/7.894, allocations: 1.102 MB / 3.312 GB, free: 89.24 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/7.895, allocations: 205.6 kB / 3.313 GB, free: 89.1 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.442e-05/7.895, allocations: 9.406 kB / 3.313 GB, free: 89.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003285/7.895, allocations: 54.89 kB / 3.313 GB, free: 89.1 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001043/7.895, allocations: 27.23 kB / 3.313 GB, free: 89.1 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.767e-05/7.895, allocations: 10.28 kB / 3.313 GB, free: 89.1 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0003157/7.896, allocations: 260.8 kB / 3.313 GB, free: 89.02 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.31e-07/7.896, allocations: 1.188 kB / 3.313 GB, free: 89.02 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.005626/7.901, allocations: 1.014 MB / 3.314 GB, free: 89.01 MB / 490.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.006452/7.908, allocations: 1.367 MB / 3.315 GB, free: 88.9 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.001474/7.909, allocations: 0.6303 MB / 3.316 GB, free: 88.89 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/7.909, allocations: 1.125 kB / 3.316 GB, free: 88.89 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008194/7.91, allocations: 0.5272 MB / 3.316 GB, free: 88.89 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009975/7.911, allocations: 176.9 kB / 3.317 GB, free: 88.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1352/8.046, allocations: 77.1 MB / 3.392 GB, free: 84.76 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/8.047, allocations: 0.9723 MB / 3.393 GB, free: 84.05 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.000536/8.047, allocations: 231.6 kB / 3.393 GB, free: 84.04 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001054/8.047, allocations: 43.81 kB / 3.393 GB, free: 84.03 MB / 490.7 MB Notification: Performance of SimCode: time 1.102e-06/8.047, allocations: 0 / 3.393 GB, free: 84.03 MB / 490.7 MB Notification: Performance of Templates: time 0.04077/8.088, allocations: 30.73 MB / 3.423 GB, free: 69.36 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)