Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.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.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001809/0.001809, 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.46/1.46, allocations: 226.7 MB / 245.5 MB, free: 6.992 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009623/0.0009622, allocations: 97.5 kB / 296.7 MB, free: 6.492 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.4271/0.4271, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 63.89 kB / 465.5 MB, free: 12.11 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3616/0.3629, allocations: 62.01 MB / 0.5152 GB, free: 37.87 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition): time 0.5246/0.8875, allocations: 175.7 MB / 0.6867 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008227/0.8958, allocations: 6.704 MB / 0.6933 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001077/0.8969, allocations: 28.03 kB / 0.6933 GB, free: 1.641 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001104/0.898, allocations: 382.8 kB / 0.6936 GB, free: 1.629 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00463/0.9027, allocations: 1.609 MB / 0.6952 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003883/0.9066, allocations: 1.361 MB / 0.6965 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005113/0.9118, allocations: 3.138 MB / 0.6996 GB, free: 1.488 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001199/0.913, allocations: 476.3 kB / 0.7001 GB, free: 1.449 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004541/0.9175, allocations: 1.651 MB / 0.7017 GB, free: 1.414 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.004367/0.9219, allocations: 1.571 MB / 0.7032 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0003448/0.9223, allocations: 38.28 kB / 0.7032 GB, free: 1.375 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004679/0.927, allocations: 1.797 MB / 0.705 GB, free: 1.363 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0008095/0.9278, allocations: 416.1 kB / 0.7054 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001094/0.9289, allocations: 0.5145 MB / 0.7059 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.005128/0.934, allocations: 2.197 MB / 0.708 GB, free: 1.258 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.9341, allocations: 0 / 0.708 GB, free: 1.258 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.283e-06/0.9341, allocations: 0 / 0.708 GB, free: 1.258 MB / 490.7 MB Notification: Performance of Transformations before backend: time 2.109e-05/0.9341, allocations: 4.938 kB / 0.7081 GB, free: 1.254 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.003927/0.938, allocations: 1.454 MB / 0.7095 GB, free: 16.54 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.537e-05/0.9381, allocations: 8.781 kB / 0.7095 GB, free: 16.54 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001592/0.9397, allocations: 283.3 kB / 0.7098 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001485/0.9412, allocations: 0.6031 MB / 0.7103 GB, free: 16.21 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.9414, allocations: 118.9 kB / 0.7105 GB, free: 16.14 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001354/0.9415, allocations: 62.94 kB / 0.7105 GB, free: 16.14 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002161/0.9437, allocations: 1.27 MB / 0.7118 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/0.9437, allocations: 4.438 kB / 0.7118 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001157/0.9438, allocations: 35.38 kB / 0.7118 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001653/0.944, allocations: 87.72 kB / 0.7119 GB, free: 15.91 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001786/0.9458, allocations: 1.055 MB / 0.7129 GB, free: 15.91 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.007388/0.9532, allocations: 4.907 MB / 0.7177 GB, free: 13.09 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005214/0.9537, allocations: 309.9 kB / 0.718 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000241/0.954, allocations: 140.4 kB / 0.7181 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001282/0.9541, allocations: 107.8 kB / 0.7182 GB, free: 12.96 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.154e-05/0.9542, allocations: 40.62 kB / 0.7183 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=28): time 2.444e-06/0.9542, allocations: 0 / 0.7183 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of matching and sorting (n=33): time 0.006517/0.9607, allocations: 1.818 MB / 0.72 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.115e-05/0.9608, allocations: 135.8 kB / 0.7202 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.962, allocations: 0.9406 MB / 0.7211 GB, free: 11.88 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.906e-05/0.9621, allocations: 31.45 kB / 0.7211 GB, free: 11.85 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003946/0.9625, allocations: 0.5671 MB / 0.7217 GB, free: 11.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001229/0.9626, allocations: 132.5 kB / 0.7218 GB, free: 11.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002697/0.9629, allocations: 215 kB / 0.722 GB, free: 11.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001799/0.9631, allocations: 406.9 kB / 0.7224 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003899/0.9635, allocations: 273.2 kB / 0.7227 GB, free: 11.11 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008252/0.9643, allocations: 0.868 MB / 0.7235 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001198/0.9655, allocations: 1.178 MB / 0.7247 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.707e-06/0.9655, allocations: 6.469 kB / 0.7247 GB, free: 9.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.001794/0.9673, allocations: 1.24 MB / 0.7259 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.9674, allocations: 13.56 kB / 0.7259 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.98e-05/0.9674, allocations: 20.19 kB / 0.7259 GB, free: 9.484 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001268/0.9687, allocations: 286 kB / 0.7262 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000518/0.9692, allocations: 202.6 kB / 0.7264 GB, free: 9.473 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001016/0.9702, allocations: 0.9195 MB / 0.7273 GB, free: 8.938 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009658/0.9712, allocations: 61.53 kB / 0.7273 GB, free: 8.934 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.239e-05/0.9713, allocations: 67.8 kB / 0.7274 GB, free: 8.934 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 90 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (112): * Single equations (assignments): 111 * 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,17)} Notification: Performance of prepare postOptimizeDAE: time 0.0005019/0.9718, allocations: 341.2 kB / 0.7277 GB, free: 8.809 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.972, allocations: 99.62 kB / 0.7278 GB, free: 8.758 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001119/0.9731, allocations: 0.5275 MB / 0.7283 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.472e-06/0.9731, allocations: 2.25 kB / 0.7283 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.188e-05/0.9731, allocations: 3.562 kB / 0.7283 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.155e-06/0.9732, allocations: 4.266 kB / 0.7283 GB, free: 8.672 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00211/0.9753, allocations: 1.125 MB / 0.7294 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9753, allocations: 0 / 0.7294 GB, free: 8.344 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001016/0.9763, allocations: 184 kB / 0.7296 GB, free: 8.34 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001092/0.9764, allocations: 29.22 kB / 0.7296 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.219e-05/0.9765, allocations: 11.69 kB / 0.7296 GB, free: 8.328 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002054/0.9785, allocations: 2.678 MB / 0.7323 GB, free: 5.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/0.9786, allocations: 3.328 kB / 0.7323 GB, free: 5.746 MB / 0.4948 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/Differentiate.mo:267:5-267:157:writable] Error: Derivative of expression "shortPipe.flowModel.states[1].T = Modelica.Math.Nonlinear.solveOneNonlinearEquation(function ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.SimpleNaturalGasFixedComposition.shortPipe.Medium.T_hX.f_nonlinear(#(volume.ports[2].h_outflow), #({0.92, 0.048, 0.005, 0.002, 0.015, 0.01}), #(true), #(Modelica.Media.Interfaces.Choices.ReferenceEnthalpy.ZeroAt0K), #(0.0)), 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.002875/0.9814, allocations: 1.491 MB / 0.7337 GB, free: 5.27 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.