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.001019/0.001019, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001067/0.001067, allocations: 191.8 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.379/1.379, allocations: 205.1 MB / 222.1 MB, free: 4.707 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.348/0.348, allocations: 39.92 MB / 309.4 MB, free: 9.699 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.002109/0.002109, allocations: 59.91 kB / 377.1 MB, free: 13.3 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1535/0.1556, allocations: 56.88 MB / 434 MB, free: 4.324 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValveLinear): time 0.2828/0.4384, allocations: 28.25 MB / 462.2 MB, free: 35.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01487/0.4534, allocations: 13.39 MB / 475.6 MB, free: 30.55 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004358/0.4538, allocations: 14.19 kB / 475.6 MB, free: 30.54 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000796/0.4547, allocations: 213.6 kB / 475.9 MB, free: 30.45 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009697/0.4644, allocations: 3.232 MB / 479.1 MB, free: 29.26 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007122/0.4716, allocations: 2.131 MB / 481.2 MB, free: 28.2 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001217/0.4728, allocations: 0.8856 MB / 482.1 MB, free: 27.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0003798/0.4732, allocations: 248.3 kB / 482.3 MB, free: 27.68 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007579/0.474, allocations: 441 kB / 482.8 MB, free: 27.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000295/0.4743, allocations: 279.3 kB / 483 MB, free: 27.37 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.648e-05/0.4743, allocations: 33.28 kB / 483.1 MB, free: 27.37 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01454/0.4889, allocations: 7.119 MB / 490.2 MB, free: 25.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003746/0.4893, allocations: 105.4 kB / 490.3 MB, free: 25.44 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005793/0.4899, allocations: 224.2 kB / 490.5 MB, free: 25.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.01563/0.5056, allocations: 4.42 MB / 494.9 MB, free: 24.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.783e-06/0.5056, allocations: 0 / 494.9 MB, free: 24.07 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.714e-06/0.5056, allocations: 0 / 494.9 MB, free: 24.07 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.059e-05/0.5056, allocations: 0 / 494.9 MB, free: 24.07 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.005384/0.511, allocations: 1.245 MB / 496.2 MB, free: 23.26 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.5111, allocations: 12.48 kB / 496.2 MB, free: 23.26 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001769/0.5129, allocations: 209.4 kB / 496.4 MB, free: 23.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005141/0.5134, allocations: 362.8 kB / 496.8 MB, free: 22.94 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.5134, allocations: 25.5 kB / 496.8 MB, free: 22.93 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.369e-05/0.5135, allocations: 27.41 kB / 496.8 MB, free: 22.92 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001675/0.5152, allocations: 0.5946 MB / 497.4 MB, free: 22.66 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.5152, allocations: 5.031 kB / 497.4 MB, free: 22.65 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.602e-05/0.5153, allocations: 15.31 kB / 497.4 MB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.236e-05/0.5153, allocations: 8.594 kB / 497.4 MB, free: 22.64 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001685/0.517, allocations: 0.5466 MB / 498 MB, free: 22.51 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.002973/0.52, allocations: 2.625 MB / 0.4889 GB, free: 20.28 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001688/0.5217, allocations: 473.7 kB / 0.4893 GB, free: 20.15 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005265/0.5222, allocations: 196 kB / 0.4895 GB, free: 20.09 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04739/0.5696, allocations: 24.21 MB / 0.5131 GB, free: 2.004 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001297/0.5698, allocations: 45.06 kB / 0.5132 GB, free: 17.95 MB / 398.1 MB Notification: Performance of pre-optimization done (n=25): time 2.194e-06/0.5698, allocations: 3.938 kB / 0.5132 GB, free: 17.95 MB / 398.1 MB Notification: Performance of matching and sorting (n=25): time 0.003009/0.5728, allocations: 0.8131 MB / 0.514 GB, free: 17.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001069/0.5729, allocations: 113.9 kB / 0.5141 GB, free: 17.41 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004213/0.5734, allocations: 311.6 kB / 0.5144 GB, free: 17.21 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.35e-05/0.5734, allocations: 30.89 kB / 0.5144 GB, free: 17.18 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.00016/0.5736, allocations: 202.8 kB / 0.5146 GB, free: 16.99 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.317e-05/0.5737, allocations: 86.92 kB / 0.5147 GB, free: 16.92 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001288/0.5738, allocations: 71.91 kB / 0.5148 GB, free: 16.87 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.000161/0.574, allocations: 342.3 kB / 0.5151 GB, free: 16.53 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004077/0.5744, allocations: 152.4 kB / 0.5152 GB, free: 16.46 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004603/0.5749, allocations: 245.1 kB / 0.5155 GB, free: 16.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008705/0.5757, allocations: 378.1 kB / 0.5158 GB, free: 16.02 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.5758, allocations: 3.984 kB / 0.5158 GB, free: 16.02 MB / 398.1 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001074/0.5768, allocations: 438.5 kB / 0.5163 GB, free: 15.79 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.105e-05/0.5769, allocations: 6.281 kB / 0.5163 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.077e-05/0.5769, allocations: 2.75 kB / 0.5163 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.411e-05/0.5769, allocations: 3.656 kB / 0.5163 GB, free: 15.79 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003769/0.5773, allocations: 95.12 kB / 0.5164 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.373e-05/0.5773, allocations: 4.125 kB / 0.5164 GB, free: 15.76 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004279/0.5778, allocations: 65.58 kB / 0.5164 GB, free: 15.72 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.324e-05/0.5778, allocations: 14.33 kB / 0.5164 GB, free: 15.72 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 (SinkP1.medium.phase,SourceP1.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002136/0.578, allocations: 161.8 kB / 0.5166 GB, free: 15.57 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5781, allocations: 36.97 kB / 0.5166 GB, free: 15.55 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00243/0.5806, allocations: 1.928 MB / 0.5185 GB, free: 14.43 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.654e-05/0.5806, allocations: 31.77 kB / 0.5185 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.5806, allocations: 0 / 0.5185 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.801e-06/0.5806, allocations: 0 / 0.5185 GB, free: 14.41 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00111/0.5818, allocations: 1.016 MB / 0.5195 GB, free: 13.67 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.5818, allocations: 3.984 kB / 0.5195 GB, free: 13.66 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003225/0.5821, allocations: 78.66 kB / 0.5196 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.5821, allocations: 0 / 0.5196 GB, free: 13.64 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.439e-05/0.5821, allocations: 13.64 kB / 0.5196 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.5822, allocations: 6.5 kB / 0.5196 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.5822, allocations: 0 / 0.5196 GB, free: 13.63 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001547/0.5837, allocations: 1.094 MB / 0.5207 GB, free: 12.98 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000187/0.5839, allocations: 172.6 kB / 0.5209 GB, free: 12.82 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.2e-05/0.584, allocations: 21.56 kB / 0.5209 GB, free: 12.8 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003096/0.5843, allocations: 45.91 kB / 0.5209 GB, free: 12.78 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.751e-05/0.5844, allocations: 33.95 kB / 0.521 GB, free: 12.76 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.534e-05/0.5844, allocations: 12.45 kB / 0.521 GB, free: 12.75 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0003455/0.5848, allocations: 324.8 kB / 0.5213 GB, free: 12.56 MB / 398.1 MB Notification: Performance of sort global known variables: time 3.31e-07/0.5848, allocations: 0 / 0.5213 GB, free: 12.56 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.005372/0.5902, allocations: 0.9888 MB / 0.5223 GB, free: 11.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007408/0.5976, allocations: 1.195 MB / 0.5234 GB, free: 10.54 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001791/0.5994, allocations: 0.6223 MB / 0.524 GB, free: 9.918 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.5994, allocations: 4 kB / 0.524 GB, free: 9.914 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007163/0.6002, allocations: 0.51 MB / 0.5245 GB, free: 9.402 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.6015, allocations: 209.8 kB / 0.5247 GB, free: 9.199 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002512/0.604, allocations: 1.871 MB / 0.5266 GB, free: 7.305 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000584/0.6046, allocations: 0.9599 MB / 0.5275 GB, free: 6.316 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0004993/0.6051, allocations: 278.4 kB / 0.5278 GB, free: 6.051 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001133/0.6052, allocations: 47.42 kB / 0.5278 GB, free: 6.008 MB / 398.1 MB Notification: Performance of SimCode: time 1.312e-06/0.6053, allocations: 4 kB / 0.5278 GB, free: 6.004 MB / 398.1 MB Notification: Performance of Templates: time 0.05414/0.6594, allocations: 39.33 MB / 0.5662 GB, free: 14.66 MB / 446.1 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)