Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_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.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.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse") translateModel(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_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.0008777/0.0008778, allocations: 94.3 kB / 15.05 MB, free: 1.113 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.001044/0.001044, allocations: 181.3 kB / 15.95 MB, free: 220 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.258/1.258, allocations: 205.4 MB / 222.1 MB, free: 5.438 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.2846/0.2846, allocations: 40 MB / 310.4 MB, free: 10.08 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.0005368/0.0005371, allocations: 16 kB / 378.8 MB, free: 12.6 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09524/0.09579, allocations: 57.96 MB / 436.8 MB, free: 2.543 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse): time 0.197/0.2928, allocations: 35.53 MB / 472.3 MB, free: 33.48 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.01221/0.3051, allocations: 10.33 MB / 482.6 MB, free: 27.05 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001727/0.3069, allocations: 46.44 kB / 482.7 MB, free: 27.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001978/0.3089, allocations: 0.6093 MB / 483.3 MB, free: 26.68 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00737/0.3163, allocations: 3.236 MB / 486.5 MB, free: 25.19 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007585/0.3239, allocations: 3.408 MB / 489.9 MB, free: 23.78 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.003038/0.3269, allocations: 1.704 MB / 491.6 MB, free: 22.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001296/0.3282, allocations: 0.7783 MB / 492.4 MB, free: 22.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005969/0.3342, allocations: 4.175 MB / 496.6 MB, free: 21.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003997/0.3382, allocations: 2.386 MB / 499 MB, free: 21.41 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0004274/0.3387, allocations: 55.47 kB / 499 MB, free: 21.41 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006983/0.3457, allocations: 3.221 MB / 0.4905 GB, free: 20.8 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005793/0.3463, allocations: 261.6 kB / 0.4907 GB, free: 20.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006525/0.347, allocations: 259.5 kB / 0.491 GB, free: 20.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004083/0.3511, allocations: 1.906 MB / 0.4928 GB, free: 20.07 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3511, allocations: 4 kB / 0.4928 GB, free: 20.06 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.843e-06/0.3511, allocations: 0 / 0.4928 GB, free: 20.06 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.024e-05/0.3512, allocations: 0 / 0.4928 GB, free: 20.06 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.00421/0.3554, allocations: 1.642 MB / 0.4944 GB, free: 19.02 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.3554, allocations: 12.19 kB / 0.4945 GB, free: 19.02 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003148/0.3586, allocations: 326 kB / 0.4948 GB, free: 18.93 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001702/0.3603, allocations: 0.7503 MB / 0.4955 GB, free: 18.45 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.499e-05/0.3604, allocations: 63.31 kB / 0.4956 GB, free: 18.42 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001936/0.3606, allocations: 77.94 kB / 0.4956 GB, free: 18.4 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003237/0.3638, allocations: 1.232 MB / 0.4968 GB, free: 17.85 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.465e-05/0.3639, allocations: 4.906 kB / 0.4968 GB, free: 17.84 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001342/0.364, allocations: 40.25 kB / 0.4969 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.073e-05/0.364, allocations: 21.34 kB / 0.4969 GB, free: 17.82 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002837/0.3669, allocations: 1.035 MB / 0.4979 GB, free: 17.52 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006157/0.3731, allocations: 5.437 MB / 0.5032 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.3752, allocations: 0.6867 MB / 0.5039 GB, free: 12.91 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005143/0.3757, allocations: 0.9391 MB / 0.5048 GB, free: 11.86 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.3758, allocations: 39.78 kB / 0.5048 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0006831/0.3765, allocations: 123.3 kB / 0.505 GB, free: 11.75 MB / 382.1 MB Notification: Performance of pre-optimization done (n=65): time 4.579e-06/0.3765, allocations: 0 / 0.505 GB, free: 11.75 MB / 382.1 MB Notification: Performance of matching and sorting (n=65): time 0.006455/0.3829, allocations: 1.726 MB / 0.5067 GB, free: 10.95 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.465e-05/0.383, allocations: 191.4 kB / 0.5068 GB, free: 10.72 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001364/0.3844, allocations: 0.9636 MB / 0.5078 GB, free: 10.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.3846, allocations: 42.36 kB / 0.5078 GB, free: 10.14 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003481/0.385, allocations: 0.495 MB / 0.5083 GB, free: 9.695 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.3852, allocations: 232.6 kB / 0.5085 GB, free: 9.492 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.151e-05/0.3853, allocations: 15.88 kB / 0.5085 GB, free: 9.48 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.676e-05/0.3854, allocations: 337.5 kB / 0.5089 GB, free: 9.152 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008203/0.3862, allocations: 356.3 kB / 0.5092 GB, free: 8.996 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00089/0.3871, allocations: 0.5623 MB / 0.5097 GB, free: 8.578 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000869/0.388, allocations: 426 kB / 0.5102 GB, free: 8.379 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.604e-06/0.388, allocations: 1.844 kB / 0.5102 GB, free: 8.379 MB / 382.1 MB Notification: Performance of matching and sorting (n=102) (initialization): time 0.002494/0.3905, allocations: 1.194 MB / 0.5113 GB, free: 7.809 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003123/0.3908, allocations: 1.834 MB / 0.5131 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.3909, allocations: 4.125 kB / 0.5131 GB, free: 5.848 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005768/0.3966, allocations: 0.826 MB / 0.5139 GB, free: 5.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00102/0.3977, allocations: 261.1 kB / 0.5142 GB, free: 5.438 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008167/0.3985, allocations: 0.7849 MB / 0.5149 GB, free: 4.773 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00126/0.3998, allocations: 88.86 kB / 0.515 GB, free: 4.734 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002159/0.4001, allocations: 87.89 kB / 0.5151 GB, free: 4.715 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.4001, allocations: 2.75 kB / 0.5151 GB, free: 4.715 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002145/0.4022, allocations: 1.018 MB / 0.5161 GB, free: 4.246 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.288e-06/0.4023, allocations: 7.328 kB / 0.5161 GB, free: 4.242 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002987/0.4026, allocations: 83.73 kB / 0.5162 GB, free: 4.203 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008841/0.4035, allocations: 277.6 kB / 0.5165 GB, free: 4.129 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001296/0.4048, allocations: 1.658 MB / 0.5181 GB, free: 2.547 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/0.4058, allocations: 84.91 kB / 0.5182 GB, free: 2.508 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/0.406, allocations: 78.12 kB / 0.5182 GB, free: 2.492 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.0006825/0.4067, allocations: 328 kB / 0.5185 GB, free: 2.215 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003201/0.407, allocations: 115.7 kB / 0.5187 GB, free: 2.156 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003619/0.4107, allocations: 1.857 MB / 0.5205 GB, free: 1.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.207e-06/0.4107, allocations: 9.938 kB / 0.5205 GB, free: 1.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.066e-06/0.4107, allocations: 6.688 kB / 0.5205 GB, free: 1.008 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.646e-06/0.4107, allocations: 7.938 kB / 0.5205 GB, free: 1 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003167/0.4139, allocations: 1.858 MB / 0.5223 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.21e-06/0.4139, allocations: 0 / 0.5223 GB, free: 15.38 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004601/0.4144, allocations: 140 kB / 0.5224 GB, free: 15.25 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.003004/0.4174, allocations: 0.6297 MB / 0.5231 GB, free: 14.61 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.073e-05/0.4175, allocations: 20 kB / 0.5231 GB, free: 14.59 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0008492/0.4184, allocations: 0.8293 MB / 0.5239 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.4184, allocations: 0 / 0.5239 GB, free: 13.74 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002124/0.4205, allocations: 1.102 MB / 0.525 GB, free: 12.58 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007923/0.4214, allocations: 327.2 kB / 0.5253 GB, free: 12.24 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003288/0.4217, allocations: 20 kB / 0.5253 GB, free: 12.22 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008945/0.4226, allocations: 67.94 kB / 0.5254 GB, free: 12.15 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001252/0.4227, allocations: 56.44 kB / 0.5254 GB, free: 12.1 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.713e-05/0.4228, allocations: 51.86 kB / 0.5255 GB, free: 12.05 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.001069/0.4239, allocations: 0.7416 MB / 0.5262 GB, free: 11.3 MB / 398.1 MB Notification: Performance of sort global known variables: time 2.4e-07/0.4239, allocations: 4 kB / 0.5262 GB, free: 11.3 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.00302/0.427, allocations: 0.8508 MB / 0.527 GB, free: 10.45 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.002/0.429, allocations: 0.632 MB / 0.5276 GB, free: 9.812 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.0034/0.4324, allocations: 1.504 MB / 0.5291 GB, free: 8.297 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 6.823e-06/0.4324, allocations: 4 kB / 0.5291 GB, free: 8.293 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000879/0.4333, allocations: 414.3 kB / 0.5295 GB, free: 7.891 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002675/0.436, allocations: 0.5084 MB / 0.53 GB, free: 7.383 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003372/0.4394, allocations: 2.187 MB / 0.5321 GB, free: 5.156 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005907/0.44, allocations: 1.099 MB / 0.5332 GB, free: 4.027 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.001914/0.4419, allocations: 460.5 kB / 0.5336 GB, free: 3.574 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004075/0.4424, allocations: 135.4 kB / 0.5338 GB, free: 3.441 MB / 398.1 MB Notification: Performance of SimCode: time 6.92e-07/0.4424, allocations: 0 / 0.5338 GB, free: 3.441 MB / 398.1 MB Notification: Performance of Templates: time 0.04018/0.4826, allocations: 27.9 MB / 0.561 GB, free: 7.535 MB / 430.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.sim & ./ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Fluid.TestComponents.Valves.TestValvesIncompressibleReverse.pipe 2>&1) Environment - environmentSimulation: