Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/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_trunk_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_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001154/0.001159, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.335/1.335, allocations: 226.7 MB / 245.5 MB, free: 6.973 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001069/0.001069, allocations: 105.6 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4213/0.4213, allocations: 44.83 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001306/0.001307, allocations: 63.91 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4321/0.4334, allocations: 62.01 MB / 0.5152 GB, free: 37.76 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionVolume): time 0.6604/1.094, allocations: 198.6 MB / 0.7091 GB, free: 1.523 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.02419/1.118, allocations: 11.79 MB / 0.7206 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003121/1.121, allocations: 52.58 kB / 0.7207 GB, free: 1.293 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002103/1.123, allocations: 405.4 kB / 0.7211 GB, free: 1.285 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01146/1.135, allocations: 2.318 MB / 0.7233 GB, free: 1.16 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01289/1.148, allocations: 2.831 MB / 0.7261 GB, free: 1.078 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.00952/1.157, allocations: 4.664 MB / 0.7306 GB, free: 1.074 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002288/1.16, allocations: 0.6751 MB / 0.7313 GB, free: 1.012 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004235/1.164, allocations: 1.105 MB / 0.7324 GB, free: 1.008 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003845/1.168, allocations: 1.328 MB / 0.7337 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005036/1.168, allocations: 58.83 kB / 0.7337 GB, free: 0.9844 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008358/1.177, allocations: 2.693 MB / 0.7364 GB, free: 0.9531 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001156/1.178, allocations: 379.9 kB / 0.7367 GB, free: 0.9102 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001639/1.18, allocations: 0.5924 MB / 0.7373 GB, free: 0.7422 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01071/1.19, allocations: 3.353 MB / 0.7406 GB, free: 28 kB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.526e-06/1.19, allocations: 2.812 kB / 0.7406 GB, free: 28 kB / 490.7 MB Notification: Performance of FrontEnd: time 1.934e-06/1.19, allocations: 2.438 kB / 0.7406 GB, free: 28 kB / 490.7 MB Notification: Performance of Transformations before backend: time 2.106e-05/1.19, allocations: 0 / 0.7406 GB, free: 28 kB / 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.005047/1.196, allocations: 1.888 MB / 0.7424 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.946e-05/1.196, allocations: 10.81 kB / 0.7424 GB, free: 14.84 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001296/1.197, allocations: 210.4 kB / 0.7426 GB, free: 14.75 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001571/1.198, allocations: 0.7848 MB / 0.7434 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.951e-05/1.199, allocations: 58.52 kB / 0.7435 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001709/1.199, allocations: 70.09 kB / 0.7435 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002147/1.201, allocations: 1.248 MB / 0.7447 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.979e-05/1.201, allocations: 5.5 kB / 0.7447 GB, free: 13.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/1.201, allocations: 37.56 kB / 0.7448 GB, free: 13.87 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001168/1.201, allocations: 83.16 kB / 0.7449 GB, free: 13.85 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002036/1.203, allocations: 1.207 MB / 0.746 GB, free: 13.67 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.007987/1.211, allocations: 4.837 MB / 0.7508 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001312/1.213, allocations: 0.7561 MB / 0.7515 GB, free: 10.55 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006241/1.213, allocations: 389 kB / 0.7519 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003329/1.214, allocations: 349.9 kB / 0.7522 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.183e-05/1.214, allocations: 44.5 kB / 0.7522 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=68): time 3.085e-06/1.214, allocations: 0 / 0.7522 GB, free: 10.07 MB / 0.4948 GB Notification: Performance of matching and sorting (n=73): time 0.008227/1.222, allocations: 2.807 MB / 0.755 GB, free: 8.727 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000147/1.222, allocations: 226.2 kB / 0.7552 GB, free: 8.453 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001245/1.223, allocations: 0.9387 MB / 0.7561 GB, free: 7.492 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 8.104e-05/1.223, allocations: 41.7 kB / 0.7562 GB, free: 7.445 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003484/1.224, allocations: 489 kB / 0.7566 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002363/1.224, allocations: 253.8 kB / 0.7569 GB, free: 6.723 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000376/1.224, allocations: 234.4 kB / 0.7571 GB, free: 6.488 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001377/1.224, allocations: 341.9 kB / 0.7574 GB, free: 6.148 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007767/1.225, allocations: 444.6 kB / 0.7578 GB, free: 5.711 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009514/1.226, allocations: 0.6816 MB / 0.7585 GB, free: 4.93 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001668/1.228, allocations: 1.086 MB / 0.7596 GB, free: 3.785 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/1.228, allocations: 12 kB / 0.7596 GB, free: 3.773 MB / 0.4948 GB Notification: Performance of matching and sorting (n=120) (initialization): time 0.002694/1.231, allocations: 1.484 MB / 0.761 GB, free: 2.32 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/1.231, allocations: 8 kB / 0.761 GB, free: 2.312 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/1.231, allocations: 8.062 kB / 0.761 GB, free: 2.305 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003397/1.234, allocations: 0.7228 MB / 0.7618 GB, free: 1.578 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006474/1.235, allocations: 178.1 kB / 0.7619 GB, free: 1.414 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001826/1.237, allocations: 1.288 MB / 0.7632 GB, free: 108 kB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001194/1.238, allocations: 67.95 kB / 0.7632 GB, free: 40 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001865/1.238, allocations: 92.03 kB / 0.7633 GB, free: 15.95 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001261/1.239, allocations: 0.615 MB / 0.7639 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009392/1.24, allocations: 0.6594 MB / 0.7646 GB, free: 14.56 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001588/1.242, allocations: 1.033 MB / 0.7656 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.817e-06/1.242, allocations: 0 / 0.7656 GB, free: 13.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=120) (initialization_lambda0): time 0.002448/1.244, allocations: 1.333 MB / 0.7669 GB, free: 12.15 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/1.244, allocations: 11.66 kB / 0.7669 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.474e-06/1.244, allocations: 4 kB / 0.7669 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001483/1.246, allocations: 368.5 kB / 0.7673 GB, free: 11.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000693/1.246, allocations: 208.7 kB / 0.7675 GB, free: 11.59 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001106/1.248, allocations: 0.9799 MB / 0.7684 GB, free: 10.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001075/1.249, allocations: 83.78 kB / 0.7685 GB, free: 10.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001467/1.249, allocations: 87.98 kB / 0.7686 GB, free: 10.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.0004725/1.249, allocations: 241.5 kB / 0.7688 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002147/1.25, allocations: 110.7 kB / 0.7689 GB, free: 10.08 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/1.253, allocations: 1.908 MB / 0.7708 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/1.253, allocations: 8 kB / 0.7708 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.195e-06/1.253, allocations: 0 / 0.7708 GB, free: 8.164 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.356e-06/1.253, allocations: 7.984 kB / 0.7708 GB, free: 8.156 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00401/1.257, allocations: 2.506 MB / 0.7732 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.173e-06/1.257, allocations: 4 kB / 0.7732 GB, free: 5.531 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007443/1.258, allocations: 180.7 kB / 0.7734 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001075/1.258, allocations: 33.12 kB / 0.7734 GB, free: 5.328 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.498e-05/1.258, allocations: 43.92 kB / 0.7735 GB, free: 5.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009304/1.259, allocations: 1.281 MB / 0.7747 GB, free: 3.879 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.452e-06/1.259, allocations: 6.906 kB / 0.7747 GB, free: 3.875 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.004558/1.264, allocations: 2.724 MB / 0.7774 GB, free: 1.051 MB / 0.5105 GB Error: post-optimization module symbolicJacobian (simulation) failed.