Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.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.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001054/0.001054, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009844/0.009844, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.577/1.577, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.3347/0.3347, allocations: 38.03 MB / 308.8 MB, free: 10.36 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.0005335/0.0005335, allocations: 20 kB / 377 MB, free: 14.84 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1145/0.115, allocations: 57.52 MB / 434.6 MB, free: 5.215 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.4237/0.5387, allocations: 206.1 MB / 0.6257 GB, free: 9.844 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.3208/0.8596, allocations: 14.06 MB / 0.6394 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001291/0.8609, allocations: 47.72 kB / 0.6394 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001044/0.8619, allocations: 405.1 kB / 0.6398 GB, free: 1.695 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007453/0.8694, allocations: 2.804 MB / 0.6426 GB, free: 1.656 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007303/0.8767, allocations: 2.854 MB / 0.6453 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.004986/0.8817, allocations: 4.65 MB / 0.6499 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001082/0.8828, allocations: 0.6696 MB / 0.6505 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00196/0.8848, allocations: 1.08 MB / 0.6516 GB, free: 1.535 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00151/0.8863, allocations: 1.31 MB / 0.6529 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001324/0.8865, allocations: 54.91 kB / 0.6529 GB, free: 1.531 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006012/0.8925, allocations: 3.103 MB / 0.656 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004491/0.8929, allocations: 378.3 kB / 0.6563 GB, free: 1.5 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009098/0.8939, allocations: 0.6113 MB / 0.6569 GB, free: 17.47 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.00827/0.9021, allocations: 3.643 MB / 0.6605 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.9022, allocations: 0 / 0.6605 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.623e-06/0.9022, allocations: 1.281 kB / 0.6605 GB, free: 17.27 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.912e-05/0.9022, allocations: 6.25 kB / 0.6605 GB, free: 17.26 MB / 0.4981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.00547/0.9077, allocations: 1.716 MB / 0.6622 GB, free: 16.3 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.9077, allocations: 13.34 kB / 0.6622 GB, free: 16.29 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001219/0.909, allocations: 220 kB / 0.6624 GB, free: 16.23 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001328/0.9103, allocations: 0.8002 MB / 0.6632 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.802e-05/0.9104, allocations: 58.97 kB / 0.6632 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.9105, allocations: 67.75 kB / 0.6633 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002097/0.9126, allocations: 1.238 MB / 0.6645 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.478e-05/0.9127, allocations: 4.969 kB / 0.6645 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001085/0.9128, allocations: 30.58 kB / 0.6645 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001198/0.9129, allocations: 89.14 kB / 0.6646 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002014/0.9149, allocations: 1.209 MB / 0.6658 GB, free: 15.71 MB / 0.4981 GB 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.007158/0.9221, allocations: 4.886 MB / 0.6706 GB, free: 13.45 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001313/0.9234, allocations: 0.7655 MB / 0.6713 GB, free: 13.41 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006781/0.9241, allocations: 388.5 kB / 0.6717 GB, free: 13.39 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001371/0.9255, allocations: 1.306 MB / 0.673 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.003e-05/0.9256, allocations: 45.55 kB / 0.673 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=68): time 2.525e-06/0.9256, allocations: 0 / 0.673 GB, free: 12.22 MB / 0.4981 GB Notification: Performance of matching and sorting (n=73): time 0.008511/0.9341, allocations: 2.82 MB / 0.6757 GB, free: 11.62 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001124/0.9342, allocations: 215.2 kB / 0.676 GB, free: 11.37 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001396/0.9356, allocations: 0.9439 MB / 0.6769 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 9.849e-05/0.9357, allocations: 45.48 kB / 0.6769 GB, free: 11.18 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003607/0.9361, allocations: 481.5 kB / 0.6774 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002472/0.9364, allocations: 256.4 kB / 0.6776 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.9365, allocations: 82.98 kB / 0.6777 GB, free: 10.8 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9367, allocations: 352.2 kB / 0.678 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007606/0.9374, allocations: 439.2 kB / 0.6785 GB, free: 10.5 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009272/0.9384, allocations: 0.6819 MB / 0.6791 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001665/0.94, allocations: 1.093 MB / 0.6802 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.568e-06/0.9401, allocations: 3.156 kB / 0.6802 GB, free: 9.949 MB / 0.4981 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002752/0.9428, allocations: 1.488 MB / 0.6816 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001926/0.943, allocations: 276.9 kB / 0.6819 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.943, allocations: 7.516 kB / 0.6819 GB, free: 9.367 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/0.9464, allocations: 0.7367 MB / 0.6826 GB, free: 9.168 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006416/0.9471, allocations: 183.1 kB / 0.6828 GB, free: 9.137 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001456/0.9486, allocations: 1.296 MB / 0.6841 GB, free: 8.496 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.9497, allocations: 73.88 kB / 0.6841 GB, free: 8.473 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001244/0.9498, allocations: 92.95 kB / 0.6842 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.9499, allocations: 4.531 kB / 0.6842 GB, free: 8.469 MB / 0.4981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002029/0.9519, allocations: 1.214 MB / 0.6854 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.11e-05/0.9519, allocations: 7.469 kB / 0.6854 GB, free: 8.301 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00146/0.9534, allocations: 375.6 kB / 0.6858 GB, free: 8.199 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006599/0.9541, allocations: 204.2 kB / 0.686 GB, free: 8.176 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001009/0.9551, allocations: 0.9766 MB / 0.6869 GB, free: 7.586 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.9562, allocations: 71.58 kB / 0.687 GB, free: 7.566 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000123/0.9563, allocations: 90.33 kB / 0.6871 GB, free: 7.562 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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 (91): * Single equations (assignments): 90 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,28)} Notification: Performance of prepare postOptimizeDAE: time 0.0006927/0.957, allocations: 375 kB / 0.6875 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.9572, allocations: 109.4 kB / 0.6876 GB, free: 7.297 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002712/0.9599, allocations: 1.383 MB / 0.6889 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.096e-06/0.9599, allocations: 6.781 kB / 0.6889 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.96, allocations: 0 / 0.6889 GB, free: 6.914 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.618e-06/0.96, allocations: 7.984 kB / 0.6889 GB, free: 6.906 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003354/0.9633, allocations: 2.163 MB / 0.691 GB, free: 6.117 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.522e-06/0.9634, allocations: 3.984 kB / 0.691 GB, free: 6.113 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007171/0.9641, allocations: 179.1 kB / 0.6912 GB, free: 6.086 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.738e-05/0.9642, allocations: 23.69 kB / 0.6912 GB, free: 6.074 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.175e-05/0.9643, allocations: 39.62 kB / 0.6913 GB, free: 6.066 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009174/0.9652, allocations: 1.288 MB / 0.6925 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/0.9652, allocations: 9.781 kB / 0.6925 GB, free: 4.777 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002469/0.9677, allocations: 1.619 MB / 0.6941 GB, free: 4.332 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004101/0.9681, allocations: 200.6 kB / 0.6943 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001475/0.9683, allocations: 13.22 kB / 0.6943 GB, free: 4.168 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006809/0.969, allocations: 63.36 kB / 0.6944 GB, free: 4.148 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001469/0.9691, allocations: 63.45 kB / 0.6944 GB, free: 4.129 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001125/0.9692, allocations: 71.25 kB / 0.6945 GB, free: 4.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.000892/0.9701, allocations: 0.6721 MB / 0.6952 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.9701, allocations: 0 / 0.6952 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00378/0.9739, allocations: 1.082 MB / 0.6962 GB, free: 3.73 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 2 (junction.medium.p,junction.medium.T) * 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 (74): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.003024/0.977, allocations: 0.9929 MB / 0.6972 GB, free: 3.332 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003028/0.98, allocations: 1.643 MB / 0.6988 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 7.765e-06/0.98, allocations: 4.125 kB / 0.6988 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0008271/0.9809, allocations: 0.5761 MB / 0.6994 GB, free: 2.93 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/0.984, allocations: 0.5997 MB / 0.7 GB, free: 2.527 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003423/0.9874, allocations: 2.436 MB / 0.7023 GB, free: 312 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000622/0.9881, allocations: 1.086 MB / 0.7034 GB, free: 15.22 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002227/0.9903, allocations: 0.5865 MB / 0.704 GB, free: 14.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005191/0.9908, allocations: 167.2 kB / 0.7041 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of SimCode: time 1.112e-06/0.9909, allocations: 0 / 0.7041 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of Templates: time 0.06168/1.053, allocations: 37.44 MB / 0.7407 GB, free: 9.25 MB / 0.545 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.sim & ./ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe 2>&1) Environment - environmentSimulation: