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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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 Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008465/0.0008464, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009254/0.0009254, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.241/1.241, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2639/0.2639, allocations: 39.99 MB / 310.4 MB, free: 9.582 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ModelicaTest requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005795/0.0005796, allocations: 19.98 kB / 378.8 MB, free: 12.36 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09462/0.09522, allocations: 57.95 MB / 436.8 MB, free: 2.309 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.1857/0.2809, allocations: 23.78 MB / 460.6 MB, free: 34.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0104/0.2914, allocations: 11.36 MB / 471.9 MB, free: 33.25 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000343/0.2917, allocations: 7.125 kB / 471.9 MB, free: 33.24 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005734/0.2923, allocations: 213.6 kB / 472.1 MB, free: 33.18 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007843/0.3002, allocations: 2.819 MB / 475 MB, free: 32.38 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005261/0.3055, allocations: 1.908 MB / 476.9 MB, free: 31.49 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008771/0.3064, allocations: 0.534 MB / 477.4 MB, free: 31.21 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000352/0.3067, allocations: 205.5 kB / 477.6 MB, free: 31.15 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007199/0.3075, allocations: 406.3 kB / 478 MB, free: 30.96 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002193/0.3077, allocations: 198.2 kB / 478.2 MB, free: 30.88 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.748e-05/0.3077, allocations: 13.31 kB / 478.2 MB, free: 30.88 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01074/0.3185, allocations: 7.019 MB / 485.2 MB, free: 29.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000135/0.3187, allocations: 75.47 kB / 485.3 MB, free: 29.29 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001484/0.3188, allocations: 105.8 kB / 485.4 MB, free: 29.22 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005315/0.3241, allocations: 2.947 MB / 488.3 MB, free: 28.65 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3242, allocations: 4 kB / 488.3 MB, free: 28.65 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.305e-06/0.3242, allocations: 0 / 488.3 MB, free: 28.65 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.378e-05/0.3242, allocations: 0 / 488.3 MB, free: 28.65 MB / 382.1 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.003244/0.3274, allocations: 1.181 MB / 489.5 MB, free: 27.89 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.3275, allocations: 9.344 kB / 489.5 MB, free: 27.89 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001622/0.3291, allocations: 219.3 kB / 489.7 MB, free: 27.85 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004494/0.3296, allocations: 349.9 kB / 490.1 MB, free: 27.57 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.3296, allocations: 28.56 kB / 490.1 MB, free: 27.56 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.838e-05/0.3297, allocations: 26.72 kB / 490.1 MB, free: 27.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001427/0.3311, allocations: 0.6218 MB / 490.8 MB, free: 27.29 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.3311, allocations: 3.938 kB / 490.8 MB, free: 27.28 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.801e-05/0.3312, allocations: 11.16 kB / 490.8 MB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.3312, allocations: 9.5 kB / 490.8 MB, free: 27.27 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001563/0.3328, allocations: 0.593 MB / 491.4 MB, free: 27.13 MB / 382.1 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.002525/0.3353, allocations: 2.651 MB / 494 MB, free: 24.89 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00148/0.3368, allocations: 0.4995 MB / 494.5 MB, free: 24.76 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04543/0.3822, allocations: 24.42 MB / 0.5068 GB, free: 23.72 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.3823, allocations: 45.11 kB / 0.5068 GB, free: 23.67 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.034e-06/0.3823, allocations: 0 / 0.5068 GB, free: 23.67 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.002834/0.3852, allocations: 0.8817 MB / 0.5077 GB, free: 23.26 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.479e-05/0.3853, allocations: 107.1 kB / 0.5078 GB, free: 23.14 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003268/0.3856, allocations: 308.7 kB / 0.5081 GB, free: 22.93 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.729e-05/0.3856, allocations: 30.95 kB / 0.5081 GB, free: 22.89 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001228/0.3858, allocations: 202.9 kB / 0.5083 GB, free: 22.71 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.959e-05/0.3858, allocations: 85.89 kB / 0.5084 GB, free: 22.63 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.627e-05/0.3859, allocations: 9.125 kB / 0.5084 GB, free: 22.62 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001221/0.386, allocations: 339.2 kB / 0.5087 GB, free: 22.29 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004242/0.3864, allocations: 168.3 kB / 0.5089 GB, free: 22.22 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004427/0.3869, allocations: 258.7 kB / 0.5091 GB, free: 22.03 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000429/0.3873, allocations: 191 kB / 0.5093 GB, free: 21.94 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3873, allocations: 1.25 kB / 0.5093 GB, free: 21.94 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001018/0.3883, allocations: 487.9 kB / 0.5098 GB, free: 21.7 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.3884, allocations: 9.969 kB / 0.5098 GB, free: 21.7 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.3884, allocations: 7.344 kB / 0.5098 GB, free: 21.69 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.566e-05/0.3884, allocations: 6.969 kB / 0.5098 GB, free: 21.69 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003546/0.3888, allocations: 94.97 kB / 0.5099 GB, free: 21.67 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.018e-05/0.3888, allocations: 7.438 kB / 0.5099 GB, free: 21.66 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003428/0.3891, allocations: 69.77 kB / 0.51 GB, free: 21.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.128e-05/0.3892, allocations: 19.98 kB / 0.51 GB, free: 21.62 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (35): * Single equations (assignments): 35 * 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.0001949/0.3894, allocations: 165.4 kB / 0.5101 GB, free: 21.47 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.406e-05/0.3894, allocations: 32.91 kB / 0.5102 GB, free: 21.45 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002174/0.3916, allocations: 1.958 MB / 0.5121 GB, free: 20.34 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.3917, allocations: 31.95 kB / 0.5121 GB, free: 20.32 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.3917, allocations: 2.906 kB / 0.5121 GB, free: 20.32 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.3917, allocations: 7.938 kB / 0.5121 GB, free: 20.31 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008298/0.3925, allocations: 1.013 MB / 0.5131 GB, free: 19.57 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.16e-06/0.3925, allocations: 5.141 kB / 0.5131 GB, free: 19.57 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003446/0.3929, allocations: 87.75 kB / 0.5132 GB, free: 19.54 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.3929, allocations: 1.125 kB / 0.5132 GB, free: 19.54 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.04e-05/0.3929, allocations: 11.39 kB / 0.5132 GB, free: 19.54 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.068e-06/0.3929, allocations: 1.906 kB / 0.5132 GB, free: 19.54 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.3929, allocations: 1.219 kB / 0.5132 GB, free: 19.54 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001397/0.3943, allocations: 1.122 MB / 0.5143 GB, free: 18.89 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001646/0.3945, allocations: 228.2 kB / 0.5145 GB, free: 18.67 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.054e-05/0.3946, allocations: 5.375 kB / 0.5145 GB, free: 18.67 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000312/0.3949, allocations: 48.83 kB / 0.5146 GB, free: 18.65 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.788e-05/0.395, allocations: 35.02 kB / 0.5146 GB, free: 18.63 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-05/0.395, allocations: 16.98 kB / 0.5146 GB, free: 18.62 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003072/0.3953, allocations: 320.7 kB / 0.5149 GB, free: 18.43 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3953, allocations: 4 kB / 0.515 GB, free: 18.42 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.002911/0.3983, allocations: 0.9944 MB / 0.5159 GB, free: 18.25 MB / 398.1 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,$cse4.phase,$cse4.region,$cse5.phase,$cse5.region,$cse6.region3boundary,$cse7.region3boundary,$cse8.phase,$cse8.region,$cse9.phase,$cse9.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.00391/0.4022, allocations: 1.171 MB / 0.5171 GB, free: 17.77 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001192/0.4034, allocations: 0.6434 MB / 0.5177 GB, free: 17.48 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.486e-06/0.4034, allocations: 1.438 kB / 0.5177 GB, free: 17.48 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006246/0.4041, allocations: 0.5406 MB / 0.5182 GB, free: 17.19 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001081/0.4051, allocations: 201.8 kB / 0.5184 GB, free: 17.08 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001807/0.407, allocations: 1.885 MB / 0.5203 GB, free: 15.32 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004355/0.4074, allocations: 0.9758 MB / 0.5212 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.000396/0.4078, allocations: 271.4 kB / 0.5215 GB, free: 14.06 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.68e-05/0.4079, allocations: 39.44 kB / 0.5215 GB, free: 14.02 MB / 398.1 MB Notification: Performance of SimCode: time 3.71e-07/0.4079, allocations: 8 kB / 0.5215 GB, free: 14.02 MB / 398.1 MB Notification: Performance of Templates: time 0.04974/0.4577, allocations: 39.19 MB / 0.5598 GB, free: 6.812 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: