Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.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.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 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.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001119/0.001119, allocations: 99.86 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.001186/0.001186, allocations: 177.3 kB / 15.94 MB, free: 228 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.544/1.544, allocations: 205.4 MB / 222.1 MB, free: 5.492 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3001/0.3001, allocations: 38.02 MB / 308.4 MB, free: 10.41 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.1. 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.0006227/0.0006231, allocations: 16 kB / 376.4 MB, free: 15.19 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1195/0.1201, allocations: 57.53 MB / 433.9 MB, free: 5.562 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.2621/0.3822, allocations: 35.53 MB / 469.5 MB, free: 34.14 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01593/0.3982, allocations: 10.32 MB / 479.8 MB, free: 29.53 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001833/0.4001, allocations: 49.69 kB / 479.8 MB, free: 29.5 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001946/0.402, allocations: 0.6084 MB / 480.4 MB, free: 29.21 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007868/0.4099, allocations: 3.229 MB / 483.7 MB, free: 27.94 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008301/0.4182, allocations: 3.418 MB / 487.1 MB, free: 26.51 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003285/0.4215, allocations: 1.704 MB / 488.8 MB, free: 25.62 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00117/0.4227, allocations: 0.78 MB / 489.6 MB, free: 25.35 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006115/0.4288, allocations: 4.189 MB / 493.8 MB, free: 24.6 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003843/0.4327, allocations: 2.392 MB / 496.2 MB, free: 24.12 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002657/0.433, allocations: 54.19 kB / 496.2 MB, free: 24.12 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008189/0.4412, allocations: 3.231 MB / 499.4 MB, free: 23.5 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004392/0.4417, allocations: 261.5 kB / 499.7 MB, free: 23.37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006131/0.4423, allocations: 263.8 kB / 500 MB, free: 23.23 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004955/0.4473, allocations: 1.907 MB / 0.4901 GB, free: 22.76 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.584e-06/0.4473, allocations: 0 / 0.4901 GB, free: 22.76 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.4473, allocations: 0 / 0.4901 GB, free: 22.76 MB / 382.1 MB Notification: Performance of Transformations before backend: time 2.243e-05/0.4473, allocations: 0 / 0.4901 GB, free: 22.76 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: 209 * Number of variables: 209 Notification: Performance of Generate backend data structure: time 0.003819/0.4512, allocations: 1.642 MB / 0.4917 GB, free: 21.72 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.021e-05/0.4512, allocations: 8.875 kB / 0.4917 GB, free: 21.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002923/0.4541, allocations: 314.1 kB / 0.492 GB, free: 21.64 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001715/0.4559, allocations: 0.7547 MB / 0.4928 GB, free: 21.16 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.837e-05/0.456, allocations: 64.58 kB / 0.4928 GB, free: 21.13 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001364/0.4561, allocations: 81.5 kB / 0.4929 GB, free: 21.1 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003334/0.4595, allocations: 1.228 MB / 0.4941 GB, free: 20.55 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.785e-05/0.4595, allocations: 10.53 kB / 0.4941 GB, free: 20.55 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001134/0.4596, allocations: 38.47 kB / 0.4941 GB, free: 20.52 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.283e-05/0.4596, allocations: 21.09 kB / 0.4942 GB, free: 20.52 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002955/0.4626, allocations: 1.036 MB / 0.4952 GB, free: 20.23 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0064/0.469, allocations: 5.436 MB / 0.5005 GB, free: 15.82 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002095/0.4711, allocations: 0.6876 MB / 0.5011 GB, free: 15.62 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006123/0.4718, allocations: 0.9438 MB / 0.5021 GB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.824e-05/0.4718, allocations: 44.16 kB / 0.5021 GB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008156/0.4727, allocations: 114.5 kB / 0.5022 GB, free: 14.45 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 6.102e-06/0.4727, allocations: 0 / 0.5022 GB, free: 14.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.006324/0.479, allocations: 1.721 MB / 0.5039 GB, free: 13.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.317e-05/0.4791, allocations: 191.1 kB / 0.5041 GB, free: 13.7 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.4806, allocations: 0.971 MB / 0.505 GB, free: 13.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001591/0.4808, allocations: 41.55 kB / 0.5051 GB, free: 13.26 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004424/0.4812, allocations: 0.4973 MB / 0.5056 GB, free: 12.86 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002225/0.4815, allocations: 224.8 kB / 0.5058 GB, free: 12.68 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.958e-05/0.4815, allocations: 19.59 kB / 0.5058 GB, free: 12.66 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.893e-05/0.4816, allocations: 338.3 kB / 0.5061 GB, free: 12.34 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008743/0.4825, allocations: 361.1 kB / 0.5065 GB, free: 12.24 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009256/0.4835, allocations: 0.5516 MB / 0.507 GB, free: 11.91 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009247/0.4844, allocations: 426 kB / 0.5074 GB, free: 11.71 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/0.4844, allocations: 2.844 kB / 0.5074 GB, free: 11.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002704/0.4871, allocations: 1.193 MB / 0.5086 GB, free: 11.14 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003248/0.4875, allocations: 1.835 MB / 0.5104 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.38e-05/0.4875, allocations: 3.688 kB / 0.5104 GB, free: 9.18 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006018/0.4935, allocations: 0.8275 MB / 0.5112 GB, free: 8.836 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.4947, allocations: 265.7 kB / 0.5114 GB, free: 8.766 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008998/0.4956, allocations: 0.7916 MB / 0.5122 GB, free: 8.098 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.4972, allocations: 90.11 kB / 0.5123 GB, free: 8.055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002149/0.4974, allocations: 87.86 kB / 0.5124 GB, free: 8.035 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.4975, allocations: 2.969 kB / 0.5124 GB, free: 8.035 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002329/0.4998, allocations: 1.017 MB / 0.5134 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.277e-05/0.4998, allocations: 5.5 kB / 0.5134 GB, free: 7.566 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003289/0.5002, allocations: 82.06 kB / 0.5134 GB, free: 7.527 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009362/0.5011, allocations: 279.4 kB / 0.5137 GB, free: 7.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00141/0.5025, allocations: 1.659 MB / 0.5153 GB, free: 5.867 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.5036, allocations: 83.2 kB / 0.5154 GB, free: 5.832 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001518/0.5038, allocations: 78.52 kB / 0.5155 GB, free: 5.812 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (90): * Single equations (assignments): 89 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0007095/0.5045, allocations: 327.6 kB / 0.5158 GB, free: 5.535 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003905/0.5049, allocations: 122.6 kB / 0.5159 GB, free: 5.473 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00388/0.5088, allocations: 1.845 MB / 0.5177 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.596e-06/0.5088, allocations: 5.594 kB / 0.5177 GB, free: 4.34 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.5088, allocations: 7.156 kB / 0.5177 GB, free: 4.336 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.717e-06/0.5088, allocations: 3.984 kB / 0.5177 GB, free: 4.332 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003198/0.512, allocations: 1.861 MB / 0.5196 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.5121, allocations: 0 / 0.5196 GB, free: 3.113 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004316/0.5125, allocations: 130.2 kB / 0.5197 GB, free: 3.082 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002975/0.5155, allocations: 0.6283 MB / 0.5203 GB, free: 2.828 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.371e-05/0.5156, allocations: 31.64 kB / 0.5203 GB, free: 2.809 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007244/0.5163, allocations: 0.8273 MB / 0.5211 GB, free: 2.133 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5163, allocations: 6.547 kB / 0.5211 GB, free: 2.129 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001823/0.5181, allocations: 1.092 MB / 0.5222 GB, free: 1.102 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006729/0.5188, allocations: 331.3 kB / 0.5225 GB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003164/0.5191, allocations: 20 kB / 0.5225 GB, free: 0.7383 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009092/0.5201, allocations: 79.84 kB / 0.5226 GB, free: 0.6602 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001071/0.5202, allocations: 56.42 kB / 0.5227 GB, free: 0.6055 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.841e-05/0.5203, allocations: 47.97 kB / 0.5227 GB, free: 0.5586 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0009877/0.5213, allocations: 0.7299 MB / 0.5234 GB, free: 15.82 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.81e-07/0.5213, allocations: 0 / 0.5234 GB, free: 15.82 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.003372/0.5247, allocations: 0.8547 MB / 0.5243 GB, free: 14.97 MB / 398.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 48 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.002316/0.527, allocations: 0.6375 MB / 0.5249 GB, free: 14.32 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.003629/0.5306, allocations: 1.508 MB / 0.5264 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.5306, allocations: 0 / 0.5264 GB, free: 12.8 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009008/0.5316, allocations: 410.3 kB / 0.5267 GB, free: 12.4 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002899/0.5345, allocations: 0.5123 MB / 0.5272 GB, free: 11.88 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004026/0.5385, allocations: 2.175 MB / 0.5294 GB, free: 9.668 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000681/0.5392, allocations: 1.099 MB / 0.5304 GB, free: 8.543 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001992/0.5412, allocations: 456.5 kB / 0.5309 GB, free: 8.094 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004724/0.5417, allocations: 139.4 kB / 0.531 GB, free: 7.957 MB / 398.1 MB Notification: Performance of SimCode: time 5.51e-07/0.5417, allocations: 0 / 0.531 GB, free: 7.957 MB / 398.1 MB Notification: Performance of Templates: time 0.04682/0.5885, allocations: 27.92 MB / 0.5583 GB, free: 12.04 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1) Environment - environmentSimulation: