Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.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.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume1.mC_scaled.1.|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p|volume2.mC_scaled.1.|volume2.medium.T|volume2.medium.Xi.1.|volume2.medium.p|volume3.mC_scaled.1.|volume3.medium.T|volume3.medium.Xi.1.|volume3.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume1.mC_scaled.1.|volume1.medium.T|volume1.medium.Xi.1.|volume1.medium.p|volume2.mC_scaled.1.|volume2.medium.T|volume2.medium.Xi.1.|volume2.medium.p|volume3.mC_scaled.1.|volume3.medium.T|volume3.medium.Xi.1.|volume3.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001282/0.001282, 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.554/1.554, 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.001314/0.001314, allocations: 101.8 kB / 296.7 MB, free: 6.488 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4395/0.4395, allocations: 44.82 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001708/0.001708, allocations: 64.17 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4466/0.4484, allocations: 62.02 MB / 0.5152 GB, free: 37.79 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances): time 0.8028/1.251, allocations: 334.5 MB / 0.8419 GB, free: 8.34 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.05697/1.308, allocations: 29.78 MB / 0.8709 GB, free: 10.46 MB / 0.573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005934/1.314, allocations: 103.2 kB / 0.871 GB, free: 10.36 MB / 0.573 GB Notification: Performance of NFTyping.typeComponents: time 0.00549/1.32, allocations: 1.197 MB / 0.8722 GB, free: 9.16 MB / 0.573 GB Notification: Performance of NFTyping.typeBindings: time 0.03437/1.354, allocations: 8.623 MB / 0.8806 GB, free: 0.5078 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.02272/1.377, allocations: 6.836 MB / 0.8873 GB, free: 9.676 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 0.01599/1.393, allocations: 12.85 MB / 0.8999 GB, free: 12.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005605/1.399, allocations: 2.176 MB / 0.902 GB, free: 10.59 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01848/1.417, allocations: 5.681 MB / 0.9075 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.009076/1.426, allocations: 3.918 MB / 0.9114 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 0.002636/1.429, allocations: 212 kB / 0.9116 GB, free: 0.7539 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.5026/1.932, allocations: 18.21 MB / 0.9293 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.003913/1.936, allocations: 1.631 MB / 0.9309 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.005544/1.941, allocations: 1.877 MB / 0.9328 GB, free: 12.84 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.03894/1.98, allocations: 13.8 MB / 0.9462 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.683e-06/1.98, allocations: 3.312 kB / 0.9462 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.984e-06/1.98, allocations: 0 / 0.9462 GB, free: 12.55 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001927/1.98, allocations: 0 / 0.9462 GB, free: 12.55 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 752 * Number of variables: 752 Notification: Performance of Generate backend data structure: time 0.01902/1.999, allocations: 5.899 MB / 0.952 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/1.999, allocations: 13.28 kB / 0.952 GB, free: 10.11 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/2.001, allocations: 401 kB / 0.9524 GB, free: 9.934 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003564/2.004, allocations: 1.926 MB / 0.9543 GB, free: 9.426 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002996/2.005, allocations: 0.4943 MB / 0.9548 GB, free: 9.137 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004638/2.005, allocations: 290.4 kB / 0.955 GB, free: 9.133 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007475/2.013, allocations: 4.926 MB / 0.9599 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.298e-05/2.013, allocations: 15.59 kB / 0.9599 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003967/2.013, allocations: 121.8 kB / 0.96 GB, free: 8.473 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002966/2.013, allocations: 277 kB / 0.9603 GB, free: 8.465 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00983/2.023, allocations: 5.063 MB / 0.9652 GB, free: 8.43 MB / 0.6042 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.03452/2.058, allocations: 21.82 MB / 0.9865 GB, free: 12.34 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004539/2.062, allocations: 2.634 MB / 0.9891 GB, free: 11.95 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00265/2.065, allocations: 1.617 MB / 0.9907 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00294/2.068, allocations: 3.305 MB / 0.9939 GB, free: 8.02 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.041e-05/2.068, allocations: 68.36 kB / 0.9939 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=232): time 4.549e-06/2.068, allocations: 0 / 0.9939 GB, free: 7.977 MB / 0.6198 GB Notification: Performance of matching and sorting (n=268): time 0.05439/2.122, allocations: 15.33 MB / 1.009 GB, free: 1.996 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001224/2.123, allocations: 235.7 kB / 1.009 GB, free: 1.715 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003393/2.126, allocations: 2.501 MB / 1.012 GB, free: 15.85 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0005733/2.127, allocations: 80.08 kB / 1.012 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009148/2.128, allocations: 1.478 MB / 1.013 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001266/2.129, allocations: 0.953 MB / 1.014 GB, free: 13.99 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001363/2.13, allocations: 0.817 MB / 1.015 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.786e-05/2.13, allocations: 301.1 kB / 1.015 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004166/2.134, allocations: 2.056 MB / 1.017 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005452/2.14, allocations: 3.295 MB / 1.02 GB, free: 8.766 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01016/2.15, allocations: 5.488 MB / 1.026 GB, free: 4.492 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.939e-05/2.15, allocations: 12 kB / 1.026 GB, free: 4.48 MB / 0.6355 GB Notification: Performance of matching and sorting (n=508) (initialization): time 0.01557/2.166, allocations: 6.262 MB / 1.032 GB, free: 168 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000131/2.166, allocations: 136.1 kB / 1.032 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.785e-05/2.166, allocations: 40.05 kB / 1.032 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004191/2.17, allocations: 0.9141 MB / 1.033 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004037/2.174, allocations: 0.9026 MB / 1.034 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004906/2.179, allocations: 2.731 MB / 1.036 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004656/2.184, allocations: 356.7 kB / 1.037 GB, free: 11.69 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008693/2.185, allocations: 238.1 kB / 1.037 GB, free: 11.49 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005558/2.19, allocations: 2.666 MB / 1.04 GB, free: 8.977 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004986/2.195, allocations: 3.251 MB / 1.043 GB, free: 5.184 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009069/2.204, allocations: 5.383 MB / 1.048 GB, free: 15.36 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.888e-05/2.204, allocations: 12 kB / 1.048 GB, free: 15.35 MB / 0.6667 GB Notification: Performance of matching and sorting (n=508) (initialization_lambda0): time 0.01424/2.219, allocations: 6.12 MB / 1.054 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001266/2.219, allocations: 130.8 kB / 1.054 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.078e-05/2.219, allocations: 40 kB / 1.054 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004061/2.223, allocations: 0.9188 MB / 1.055 GB, free: 8.285 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003944/2.227, allocations: 0.8882 MB / 1.056 GB, free: 7.457 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004652/2.232, allocations: 2.751 MB / 1.059 GB, free: 4.656 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004422/2.236, allocations: 367.5 kB / 1.059 GB, free: 4.297 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00078/2.237, allocations: 239.9 kB / 1.059 GB, free: 4.062 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 172 * Number of states: 0 () * Number of discrete variables: 22 (traceSubstance1.ind,traceSubstance2.ind,traceSubstance3.ind,traceSubstance.ind,volume1.regularFlow[1],volume1.regularFlow[2],volume1.regularFlow[3],volume2.regularFlow[1],volume2.regularFlow[2],volume2.regularFlow[3],volume3.regularFlow[1],volume3.regularFlow[2],volume3.regularFlow[3],volume3.inFlow[3],volume3.inFlow[2],volume3.inFlow[1],volume2.inFlow[3],volume2.inFlow[2],volume2.inFlow[1],volume1.inFlow[3],volume1.inFlow[2],volume1.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (487): * Single equations (assignments): 480 * Array equations: 0 * Algorithm blocks: 4 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * 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): 3 systems {(2,6), (2,6), (2,6)} Notification: Performance of prepare postOptimizeDAE: time 0.001204/2.238, allocations: 452.4 kB / 1.06 GB, free: 3.672 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009138/2.239, allocations: 310.2 kB / 1.06 GB, free: 3.367 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01249/2.252, allocations: 6.343 MB / 1.066 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.461e-05/2.252, allocations: 39.98 kB / 1.066 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/2.252, allocations: 0 / 1.066 GB, free: 13.01 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.25e-05/2.252, allocations: 15.94 kB / 1.066 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01654/2.268, allocations: 8.633 MB / 1.075 GB, free: 4.32 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.518e-05/2.268, allocations: 7.188 kB / 1.075 GB, free: 4.316 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002303/2.271, allocations: 0.5211 MB / 1.075 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005177/2.276, allocations: 1.095 MB / 1.076 GB, free: 2.73 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004379/2.276, allocations: 103.9 kB / 1.076 GB, free: 2.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004203/2.28, allocations: 2.619 MB / 1.079 GB, free: 15.94 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.08e-06/2.28, allocations: 6.469 kB / 1.079 GB, free: 15.94 MB / 0.698 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "pipe4.flowModel.states[1].T = Modelica.Math.Nonlinear.solveOneNonlinearEquation(function ModelicaTest.Fluid.TestComponents.Fittings.TestMultiPortTraceSubstances.pipe4.Medium.T_phX.f_nonlinear(#(pipe6.flowModel.states[1].p), #(multiPort.ports_b[2].h_outflow), #({X.k})), 190.0, 647.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.1472/2.428, allocations: 18.98 MB / 1.097 GB, free: 12.75 MB / 0.7136 GB Error: post-optimization module symbolicJacobian (simulation) failed.