Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.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.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|junction1.mC_scaled.1.|junction1.medium.T|junction1.medium.Xi.1.|junction1.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001787/0.001786, 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.402/1.402, allocations: 222.9 MB / 241.6 MB, free: 10.98 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.001142/0.001142, allocations: 108.4 kB / 291.9 MB, free: 10.93 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.4044/0.4044, allocations: 44.12 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 59.91 kB / 457.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4177/0.419, allocations: 60.79 MB / 0.5064 GB, free: 38.21 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances): time 0.7713/1.19, allocations: 316.4 MB / 0.8154 GB, free: 3.387 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0391/1.23, allocations: 24.2 MB / 0.839 GB, free: 11.97 MB / 0.5417 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004564/1.234, allocations: 83.38 kB / 0.8391 GB, free: 11.89 MB / 0.5417 GB Notification: Performance of NFTyping.typeComponents: time 0.004088/1.238, allocations: 0.9521 MB / 0.8401 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of NFTyping.typeBindings: time 0.02506/1.263, allocations: 6.34 MB / 0.8462 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of NFTyping.typeClassSections: time 0.02572/1.289, allocations: 7.243 MB / 0.8533 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.01258/1.302, allocations: 9.125 MB / 0.8622 GB, free: 4.18 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004205/1.306, allocations: 1.74 MB / 0.8639 GB, free: 2.406 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01013/1.316, allocations: 3.562 MB / 0.8674 GB, free: 14.83 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006057/1.322, allocations: 2.878 MB / 0.8702 GB, free: 11.95 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.001324/1.324, allocations: 148 kB / 0.8704 GB, free: 11.8 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03567/1.359, allocations: 17.13 MB / 0.8871 GB, free: 10.64 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 0.003978/1.363, allocations: 1.079 MB / 0.8881 GB, free: 9.559 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 0.005155/1.369, allocations: 1.373 MB / 0.8895 GB, free: 8.18 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 0.04045/1.409, allocations: 12.03 MB / 0.9012 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/1.409, allocations: 0 / 0.9012 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.953e-06/1.409, allocations: 0 / 0.9012 GB, free: 12.12 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001889/1.409, allocations: 0 / 0.9012 GB, free: 12.12 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: 498 * Number of variables: 498 Notification: Performance of Generate backend data structure: time 0.01672/1.426, allocations: 4.688 MB / 0.9058 GB, free: 7.363 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.062e-05/1.426, allocations: 8.031 kB / 0.9058 GB, free: 7.355 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001901/1.428, allocations: 285 kB / 0.9061 GB, free: 7.074 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003752/1.432, allocations: 1.451 MB / 0.9075 GB, free: 5.566 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001681/1.432, allocations: 147.5 kB / 0.9076 GB, free: 5.422 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006873/1.433, allocations: 184 kB / 0.9078 GB, free: 5.242 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005837/1.439, allocations: 3.139 MB / 0.9109 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.991e-05/1.439, allocations: 0 / 0.9109 GB, free: 2.055 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002623/1.439, allocations: 83.95 kB / 0.911 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002241/1.439, allocations: 187.7 kB / 0.9111 GB, free: 1.789 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3145/1.754, allocations: 3.514 MB / 0.9146 GB, free: 255.8 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.02065/1.774, allocations: 12.83 MB / 0.9271 GB, free: 247.9 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/1.777, allocations: 1.715 MB / 0.9288 GB, free: 247.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001592/1.779, allocations: 1.133 MB / 0.9299 GB, free: 246.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001105/1.78, allocations: 1.662 MB / 0.9315 GB, free: 245 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.381e-05/1.78, allocations: 58.22 kB / 0.9316 GB, free: 244.9 MB / 0.6042 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002105/1.782, allocations: 351.8 kB / 0.9319 GB, free: 244.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=153): time 7.835e-06/1.782, allocations: 0 / 0.9319 GB, free: 244.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=165): time 0.02556/1.808, allocations: 8.869 MB / 0.9406 GB, free: 241.6 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.393e-05/1.808, allocations: 200.7 kB / 0.9408 GB, free: 241.4 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003085/1.811, allocations: 2.063 MB / 0.9428 GB, free: 240.6 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0003456/1.811, allocations: 63.2 kB / 0.9428 GB, free: 240.6 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005673/1.812, allocations: 0.989 MB / 0.9438 GB, free: 239.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.00048/1.812, allocations: 0.5761 MB / 0.9444 GB, free: 239.3 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008912/1.813, allocations: 0.49 MB / 0.9448 GB, free: 239.1 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.619e-05/1.813, allocations: 310.2 kB / 0.9451 GB, free: 238.8 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002851/1.816, allocations: 1.351 MB / 0.9464 GB, free: 238.3 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003563/1.82, allocations: 1.726 MB / 0.9481 GB, free: 237.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006222/1.826, allocations: 3.005 MB / 0.9511 GB, free: 236 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.833e-05/1.826, allocations: 3.781 kB / 0.9511 GB, free: 236 MB / 0.6042 GB Notification: Performance of matching and sorting (n=280) (initialization): time 0.01011/1.836, allocations: 3.962 MB / 0.9549 GB, free: 234.4 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.528e-05/1.836, allocations: 71.92 kB / 0.955 GB, free: 234.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.45e-05/1.836, allocations: 8.312 kB / 0.955 GB, free: 234.4 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007912/1.844, allocations: 1.288 MB / 0.9563 GB, free: 234.2 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003144/1.848, allocations: 0.4889 MB / 0.9568 GB, free: 234.2 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003855/1.851, allocations: 2.109 MB / 0.9588 GB, free: 232.7 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003922/1.855, allocations: 178.1 kB / 0.959 GB, free: 232.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008879/1.856, allocations: 137.4 kB / 0.9591 GB, free: 232.7 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005195/1.862, allocations: 1.735 MB / 0.9608 GB, free: 232 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00351/1.865, allocations: 1.699 MB / 0.9625 GB, free: 231.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.005679/1.871, allocations: 2.925 MB / 0.9653 GB, free: 229.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.926e-05/1.871, allocations: 7.656 kB / 0.9653 GB, free: 229.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=280) (initialization_lambda0): time 0.01095/1.882, allocations: 4.056 MB / 0.9693 GB, free: 228.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 7.776e-05/1.882, allocations: 68.09 kB / 0.9694 GB, free: 228 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/1.882, allocations: 11.81 kB / 0.9694 GB, free: 228 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004707/1.887, allocations: 0.9251 MB / 0.9703 GB, free: 227.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002579/1.889, allocations: 0.4919 MB / 0.9708 GB, free: 227.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002497/1.892, allocations: 1.887 MB / 0.9726 GB, free: 226.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/1.895, allocations: 184.3 kB / 0.9728 GB, free: 226.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006338/1.896, allocations: 132.7 kB / 0.9729 GB, free: 226.4 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 2 (traceSubstance2.ind,traceSubstance.ind) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (255): * Single equations (assignments): 251 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(2,6), (4,15)} Notification: Performance of prepare postOptimizeDAE: time 0.001328/1.897, allocations: 306.5 kB / 0.9732 GB, free: 226.1 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001104/1.898, allocations: 230.5 kB / 0.9734 GB, free: 226 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00844/1.907, allocations: 4.177 MB / 0.9775 GB, free: 223.9 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.915e-05/1.907, allocations: 20 kB / 0.9775 GB, free: 223.9 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/1.907, allocations: 0 / 0.9775 GB, free: 223.9 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.138e-05/1.907, allocations: 7.969 kB / 0.9775 GB, free: 223.9 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01209/1.919, allocations: 5.597 MB / 0.983 GB, free: 220.3 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.632e-05/1.919, allocations: 8.094 kB / 0.983 GB, free: 220.3 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001272/1.92, allocations: 287.6 kB / 0.9833 GB, free: 220 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005286/1.925, allocations: 1.142 MB / 0.9844 GB, free: 218.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003288/1.926, allocations: 59.97 kB / 0.9844 GB, free: 218.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0024/1.928, allocations: 2.031 MB / 0.9864 GB, free: 216.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.952e-06/1.928, allocations: 11.88 kB / 0.9864 GB, free: 216.7 MB / 0.6042 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "pipe1.flowModel.states[2].T = Modelica.Math.Nonlinear.solveOneNonlinearEquation(function ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionTraceSubstances.pipe1.Medium.T_phX.f_nonlinear(#(junction1.medium.p), #(junction.port_1.h_outflow), #({multiPort.ports_b_Xi_inStream[2,1]})), 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.02912/1.957, allocations: 10.1 MB / 0.9963 GB, free: 206.4 MB / 0.6042 GB Error: post-optimization module symbolicJacobian (simulation) failed.