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.005236/0.005236, allocations: 102.1 kB / 15.73 MB, free: 5.988 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.001178/0.001178, allocations: 195.6 kB / 16.67 MB, free: 5.926 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.633/1.633, allocations: 205.1 MB / 222.5 MB, free: 4.375 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.3712/0.3712, allocations: 37.99 MB / 307.9 MB, free: 10.33 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.001538/0.001538, allocations: 76.31 kB / 433 MB, free: 5.43 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4331/0.4347, allocations: 56.47 MB / 489.5 MB, free: 19.82 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.763/1.198, allocations: 209.9 MB / 0.683 GB, free: 1.203 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.02347/1.221, allocations: 13.64 MB / 0.6963 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003095/1.224, allocations: 32.53 kB / 0.6963 GB, free: 0.957 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002119/1.227, allocations: 485.4 kB / 0.6968 GB, free: 0.9453 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01369/1.24, allocations: 3.147 MB / 0.6999 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.01134/1.252, allocations: 3.366 MB / 0.7032 GB, free: 0.707 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.006132/1.258, allocations: 3.233 MB / 0.7063 GB, free: 0.6602 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/1.259, allocations: 0.7998 MB / 0.7071 GB, free: 0.582 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00289/1.262, allocations: 1.252 MB / 0.7083 GB, free: 492 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001829/1.264, allocations: 1.304 MB / 0.7096 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001954/1.264, allocations: 115.2 kB / 0.7097 GB, free: 216 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009609/1.274, allocations: 3.387 MB / 0.713 GB, free: 14.9 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0007119/1.275, allocations: 429.5 kB / 0.7134 GB, free: 14.61 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.001263/1.276, allocations: 0.6414 MB / 0.714 GB, free: 14.21 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01277/1.289, allocations: 3.725 MB / 0.7177 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/1.289, allocations: 0 / 0.7177 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.886e-06/1.289, allocations: 0.8438 kB / 0.7177 GB, free: 12.16 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 8.953e-05/1.289, allocations: 0 / 0.7177 GB, free: 12.16 MB / 0.5137 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.007379/1.296, allocations: 1.969 MB / 0.7196 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.179e-05/1.296, allocations: 15.45 kB / 0.7196 GB, free: 10.77 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001498/1.298, allocations: 214 kB / 0.7198 GB, free: 10.66 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001903/1.3, allocations: 0.849 MB / 0.7207 GB, free: 10.05 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.992e-05/1.3, allocations: 63.39 kB / 0.7207 GB, free: 10.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000164/1.3, allocations: 76.61 kB / 0.7208 GB, free: 10 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002241/1.302, allocations: 1.232 MB / 0.722 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.571e-05/1.302, allocations: 3.375 kB / 0.722 GB, free: 9.25 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001079/1.302, allocations: 27.84 kB / 0.722 GB, free: 9.234 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001283/1.303, allocations: 86.5 kB / 0.7221 GB, free: 9.207 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002025/1.305, allocations: 1.202 MB / 0.7233 GB, free: 8.625 MB / 0.5137 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.008114/1.313, allocations: 4.887 MB / 0.7281 GB, free: 4.145 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/1.314, allocations: 0.7576 MB / 0.7288 GB, free: 3.383 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000648/1.315, allocations: 381.7 kB / 0.7292 GB, free: 3.012 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001344/1.316, allocations: 1.298 MB / 0.7304 GB, free: 1.5 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.121e-05/1.316, allocations: 40.09 kB / 0.7305 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=68): time 2.726e-06/1.316, allocations: 0 / 0.7305 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of matching and sorting (n=73): time 0.008226/1.324, allocations: 2.792 MB / 0.7332 GB, free: 14.61 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001537/1.325, allocations: 226.2 kB / 0.7334 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001349/1.326, allocations: 0.9434 MB / 0.7343 GB, free: 13.37 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 9.759e-05/1.326, allocations: 41.7 kB / 0.7344 GB, free: 13.32 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003853/1.326, allocations: 478.4 kB / 0.7348 GB, free: 12.86 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002325/1.327, allocations: 261.8 kB / 0.7351 GB, free: 12.6 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003816/1.327, allocations: 231.2 kB / 0.7353 GB, free: 12.37 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001357/1.327, allocations: 338.6 kB / 0.7356 GB, free: 12.04 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007905/1.328, allocations: 442.1 kB / 0.736 GB, free: 11.6 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001005/1.329, allocations: 0.6842 MB / 0.7367 GB, free: 10.82 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001669/1.331, allocations: 1.087 MB / 0.7378 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/1.331, allocations: 0 / 0.7378 GB, free: 9.668 MB / 0.5294 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002705/1.333, allocations: 1.48 MB / 0.7392 GB, free: 8.219 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/1.333, allocations: 8 kB / 0.7392 GB, free: 8.211 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/1.333, allocations: 4 kB / 0.7392 GB, free: 8.207 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003475/1.337, allocations: 0.7399 MB / 0.7399 GB, free: 7.465 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006698/1.338, allocations: 178.1 kB / 0.7401 GB, free: 7.301 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001707/1.339, allocations: 1.287 MB / 0.7414 GB, free: 5.992 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001092/1.34, allocations: 43.97 kB / 0.7414 GB, free: 5.949 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001516/1.341, allocations: 92.05 kB / 0.7415 GB, free: 5.859 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001191/1.342, allocations: 0.6151 MB / 0.7421 GB, free: 5.238 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008978/1.343, allocations: 0.6594 MB / 0.7427 GB, free: 4.469 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001567/1.344, allocations: 1.013 MB / 0.7437 GB, free: 3.383 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.33e-06/1.344, allocations: 8 kB / 0.7437 GB, free: 3.375 MB / 0.5294 GB Notification: Performance of matching and sorting (n=120) (initialization_lambda0): time 0.002412/1.347, allocations: 1.329 MB / 0.745 GB, free: 2.074 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/1.347, allocations: 8 kB / 0.7451 GB, free: 2.066 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.004e-05/1.347, allocations: 8.141 kB / 0.7451 GB, free: 2.059 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001529/1.348, allocations: 375 kB / 0.7454 GB, free: 1.695 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006993/1.349, allocations: 206 kB / 0.7456 GB, free: 1.504 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001111/1.35, allocations: 0.9864 MB / 0.7466 GB, free: 0.4961 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009622/1.351, allocations: 47.97 kB / 0.7466 GB, free: 460 kB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/1.351, allocations: 87.98 kB / 0.7467 GB, free: 372 kB / 0.5294 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.0004786/1.352, allocations: 240.9 kB / 0.7469 GB, free: 136 kB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/1.352, allocations: 110.7 kB / 0.747 GB, free: 24 kB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002855/1.355, allocations: 1.369 MB / 0.7484 GB, free: 14.64 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/1.355, allocations: 8 kB / 0.7484 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.355, allocations: 0 / 0.7484 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.989e-06/1.355, allocations: 3.984 kB / 0.7484 GB, free: 14.63 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003713/1.359, allocations: 2.154 MB / 0.7505 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.861e-06/1.359, allocations: 0 / 0.7505 GB, free: 12.43 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007806/1.359, allocations: 183.7 kB / 0.7507 GB, free: 12.25 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001172/1.36, allocations: 28.83 kB / 0.7507 GB, free: 12.22 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.285e-05/1.36, allocations: 27.98 kB / 0.7507 GB, free: 12.2 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001184/1.361, allocations: 1.39 MB / 0.7521 GB, free: 10.67 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/1.361, allocations: 7.969 kB / 0.7521 GB, free: 10.66 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002871/1.364, allocations: 1.611 MB / 0.7537 GB, free: 9.016 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004432/1.364, allocations: 175.8 kB / 0.7538 GB, free: 8.824 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003059/1.365, allocations: 16 kB / 0.7538 GB, free: 8.809 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007821/1.365, allocations: 39.97 kB / 0.7539 GB, free: 8.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001705/1.366, allocations: 64.48 kB / 0.7539 GB, free: 8.707 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001376/1.366, allocations: 67.97 kB / 0.754 GB, free: 8.641 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.001188/1.367, allocations: 0.6655 MB / 0.7547 GB, free: 7.965 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.4e-07/1.367, allocations: 2.531 kB / 0.7547 GB, free: 7.965 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.004782/1.372, allocations: 1.062 MB / 0.7557 GB, free: 6.902 MB / 0.545 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.00393/1.376, allocations: 0.9991 MB / 0.7567 GB, free: 5.973 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.003906/1.38, allocations: 1.646 MB / 0.7583 GB, free: 4.383 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.283e-05/1.38, allocations: 4 kB / 0.7583 GB, free: 4.379 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.00111/1.381, allocations: 0.5622 MB / 0.7588 GB, free: 3.816 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003358/1.384, allocations: 0.5665 MB / 0.7594 GB, free: 3.25 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003728/1.388, allocations: 1.997 MB / 0.7613 GB, free: 1.223 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000708/1.388, allocations: 1.082 MB / 0.7624 GB, free: 116 kB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.002031/1.391, allocations: 0.5907 MB / 0.763 GB, free: 15.52 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/1.391, allocations: 163.3 kB / 0.7631 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of SimCode: time 2.515e-06/1.391, allocations: 4 kB / 0.7631 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of Templates: time 0.06078/1.452, allocations: 38.64 MB / 0.8009 GB, free: 8.785 MB / 0.5919 GB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.makefile (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)