Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction.medium.T|junction.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001589/0.001595, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.342/1.342, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001066/0.001067, allocations: 113.6 kB / 291.9 MB, free: 10.96 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3796/0.3796, allocations: 44.13 MB / 386.1 MB, free: 38.08 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001253/0.001253, allocations: 59.92 kB / 457.8 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4398/0.4411, allocations: 60.79 MB / 0.5064 GB, free: 38.16 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.6404/1.082, allocations: 198.6 MB / 0.7003 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01775/1.099, allocations: 11.79 MB / 0.7118 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002281/1.102, allocations: 51.16 kB / 0.7118 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001818/1.104, allocations: 413.5 kB / 0.7122 GB, free: 1.402 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0102/1.114, allocations: 2.309 MB / 0.7145 GB, free: 1.277 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01086/1.125, allocations: 2.856 MB / 0.7173 GB, free: 1.176 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.009956/1.135, allocations: 4.665 MB / 0.7218 GB, free: 1.172 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002465/1.137, allocations: 0.6743 MB / 0.7225 GB, free: 1.102 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004669/1.142, allocations: 1.101 MB / 0.7236 GB, free: 1.094 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00399/1.146, allocations: 1.319 MB / 0.7249 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000676/1.147, allocations: 58.03 kB / 0.7249 GB, free: 1.086 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.007883/1.155, allocations: 2.679 MB / 0.7275 GB, free: 1.059 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001058/1.156, allocations: 382.1 kB / 0.7279 GB, free: 1.051 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001991/1.158, allocations: 0.5924 MB / 0.7285 GB, free: 0.9414 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.009108/1.167, allocations: 3.34 MB / 0.7317 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.933e-06/1.167, allocations: 3.125 kB / 0.7317 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.503e-06/1.167, allocations: 0 / 0.7317 GB, free: 0.6133 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.014e-05/1.167, allocations: 0 / 0.7317 GB, free: 0.6133 MB / 490.7 MB 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.006809/1.174, allocations: 1.876 MB / 0.7336 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.466e-05/1.174, allocations: 10.12 kB / 0.7336 GB, free: 15.65 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/1.175, allocations: 227.1 kB / 0.7338 GB, free: 15.56 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001727/1.177, allocations: 0.7826 MB / 0.7346 GB, free: 15.11 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.494e-05/1.177, allocations: 59.69 kB / 0.7346 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002071/1.177, allocations: 78.73 kB / 0.7347 GB, free: 15.1 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00239/1.18, allocations: 1.232 MB / 0.7359 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/1.18, allocations: 2.906 kB / 0.7359 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000133/1.18, allocations: 35.08 kB / 0.7359 GB, free: 14.7 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001263/1.18, allocations: 86.91 kB / 0.736 GB, free: 14.67 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002336/1.182, allocations: 1.212 MB / 0.7372 GB, free: 14.48 MB / 0.4948 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.009274/1.192, allocations: 4.828 MB / 0.7419 GB, free: 11.5 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001576/1.193, allocations: 0.7616 MB / 0.7427 GB, free: 11.38 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007169/1.194, allocations: 381.7 kB / 0.743 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/1.195, allocations: 355.5 kB / 0.7434 GB, free: 10.93 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.189e-05/1.195, allocations: 44.03 kB / 0.7434 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=68): time 4.529e-06/1.195, allocations: 0 / 0.7434 GB, free: 10.89 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73): time 0.009189/1.204, allocations: 2.815 MB / 0.7461 GB, free: 9.973 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001412/1.204, allocations: 218.2 kB / 0.7464 GB, free: 9.719 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001751/1.206, allocations: 0.9406 MB / 0.7473 GB, free: 9.422 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001258/1.206, allocations: 43.2 kB / 0.7473 GB, free: 9.391 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004074/1.206, allocations: 482.3 kB / 0.7478 GB, free: 9.156 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000285/1.207, allocations: 265.7 kB / 0.748 GB, free: 8.965 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004756/1.207, allocations: 230.2 kB / 0.7482 GB, free: 8.918 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001463/1.207, allocations: 341.5 kB / 0.7486 GB, free: 8.602 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009/1.208, allocations: 441.6 kB / 0.749 GB, free: 8.531 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001112/1.209, allocations: 0.6876 MB / 0.7497 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001836/1.211, allocations: 1.085 MB / 0.7507 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.749e-06/1.211, allocations: 4 kB / 0.7507 GB, free: 7.508 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002992/1.214, allocations: 1.484 MB / 0.7522 GB, free: 6.316 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.062e-05/1.214, allocations: 8 kB / 0.7522 GB, free: 6.309 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.112e-05/1.214, allocations: 4 kB / 0.7522 GB, free: 6.305 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003772/1.218, allocations: 0.7324 MB / 0.7529 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007196/1.219, allocations: 183.7 kB / 0.7531 GB, free: 5.406 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002034/1.221, allocations: 1.286 MB / 0.7543 GB, free: 4.098 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001292/1.222, allocations: 63.94 kB / 0.7544 GB, free: 4.035 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001919/1.222, allocations: 92.05 kB / 0.7545 GB, free: 3.945 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001285/1.224, allocations: 0.615 MB / 0.7551 GB, free: 3.328 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001026/1.225, allocations: 0.6588 MB / 0.7557 GB, free: 2.559 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001797/1.226, allocations: 1.035 MB / 0.7567 GB, free: 1.453 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.925e-06/1.226, allocations: 4 kB / 0.7567 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization_lambda0): time 0.00262/1.229, allocations: 1.33 MB / 0.758 GB, free: 152 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.231e-05/1.229, allocations: 13.39 kB / 0.7581 GB, free: 140 kB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/1.229, allocations: 8 kB / 0.7581 GB, free: 132 kB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/1.231, allocations: 365.7 kB / 0.7584 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007513/1.232, allocations: 207.6 kB / 0.7586 GB, free: 15.58 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001132/1.233, allocations: 0.9788 MB / 0.7596 GB, free: 14.58 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001146/1.234, allocations: 67.86 kB / 0.7596 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/1.234, allocations: 96.03 kB / 0.7597 GB, free: 14.42 MB / 0.5105 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.0004964/1.235, allocations: 245.2 kB / 0.76 GB, free: 14.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003454/1.235, allocations: 106.8 kB / 0.7601 GB, free: 14.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003881/1.239, allocations: 1.906 MB / 0.7619 GB, free: 12.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.836e-06/1.239, allocations: 4 kB / 0.7619 GB, free: 12.17 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.568e-06/1.239, allocations: 7.938 kB / 0.7619 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.518e-06/1.239, allocations: 6.609 kB / 0.7619 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004397/1.243, allocations: 2.516 MB / 0.7644 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/1.243, allocations: 0 / 0.7644 GB, free: 9.531 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007588/1.244, allocations: 183.6 kB / 0.7646 GB, free: 9.359 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001041/1.244, allocations: 24.84 kB / 0.7646 GB, free: 9.332 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.404e-05/1.244, allocations: 35.98 kB / 0.7646 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009934/1.245, allocations: 1.296 MB / 0.7659 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.245, allocations: 4 kB / 0.7659 GB, free: 7.879 MB / 0.5105 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "pipe.flowModel.states[1].T = Modelica.Math.Nonlinear.solveOneNonlinearEquation(function ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.pipe.Medium.T_h.f_nonlinear(Modelica.Media.IdealGases.Common.DataRecord("Air", #(0.0289651159), #(-4333.833858403446), #(298609.6803431054), #(1000.0), #({10099.5016, -196.827561, 5.00915511, -0.00576101373, 1.06685993e-05, -7.94029797e-09, 2.18523191e-12}), #({-176.796731, -3.921504225}), #({241521.443, -1257.8746, 5.14455867, -0.000213854179, 7.06522784e-08, -1.07148349e-11, 6.57780015e-16}), #({6462.26319, -8.147411905}), #(287.0512249529787)), #(source1.ports[1].h_outflow)), 200.0, 6000.0, 1e-13)" w.r.t. "dummyVarA" is non-existent. Error: Internal error SymbolicJacobian.deriveAll failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2440:7-2440:87:writable] Error: Internal error function generateSymbolicJacobian failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004816/1.25, allocations: 2.725 MB / 0.7686 GB, free: 5.051 MB / 0.5105 GB Error: post-optimization module symbolicJacobian (simulation) failed.