Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001734/0.001734, 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.312/1.312, 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.001044/0.001044, allocations: 102.2 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.3489/0.3489, allocations: 44.13 MB / 386.1 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001118/0.001118, allocations: 55.92 kB / 457.8 MB, free: 2.277 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3763, allocations: 60.8 MB / 0.5064 GB, free: 38.28 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.1887/0.5651, allocations: 172.5 MB / 0.6749 GB, free: 3.027 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3503/0.9154, allocations: 5.469 MB / 0.6802 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009412/0.9164, allocations: 25.12 kB / 0.6802 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009151/0.9174, allocations: 273.7 kB / 0.6805 GB, free: 1.77 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003279/0.9207, allocations: 1.213 MB / 0.6817 GB, free: 1.734 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002451/0.9232, allocations: 0.9479 MB / 0.6826 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002956/0.9261, allocations: 2.72 MB / 0.6853 GB, free: 1.703 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005817/0.9267, allocations: 403.3 kB / 0.6857 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002199/0.9289, allocations: 0.9663 MB / 0.6866 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001188/0.9301, allocations: 0.7726 MB / 0.6874 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001018/0.9303, allocations: 32.64 kB / 0.6874 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001372/0.9316, allocations: 0.5346 MB / 0.6879 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002724/0.9319, allocations: 240.9 kB / 0.6881 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004531/0.9324, allocations: 372.2 kB / 0.6885 GB, free: 1.633 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001572/0.934, allocations: 1.266 MB / 0.6897 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.342e-06/0.934, allocations: 3.656 kB / 0.6897 GB, free: 1.566 MB / 490.7 MB Notification: Performance of FrontEnd: time 8.92e-07/0.934, allocations: 5.094 kB / 0.6897 GB, free: 1.562 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.144e-05/0.934, allocations: 0 / 0.6897 GB, free: 1.562 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002353/0.9364, allocations: 1.103 MB / 0.6908 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.9364, allocations: 13.59 kB / 0.6908 GB, free: 16.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00077/0.9372, allocations: 132.9 kB / 0.691 GB, free: 16.91 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008774/0.9381, allocations: 0.5036 MB / 0.6914 GB, free: 16.64 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000108/0.9382, allocations: 102.5 kB / 0.6915 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.673e-05/0.9383, allocations: 50.22 kB / 0.6916 GB, free: 16.58 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00113/0.9394, allocations: 0.8282 MB / 0.6924 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.244e-05/0.9395, allocations: 4.5 kB / 0.6924 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.44e-05/0.9395, allocations: 21.25 kB / 0.6924 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.335e-05/0.9396, allocations: 36.91 kB / 0.6925 GB, free: 16.36 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001004/0.9406, allocations: 0.631 MB / 0.6931 GB, free: 16.35 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.004403/0.945, allocations: 3.961 MB / 0.6969 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/0.9456, allocations: 355.9 kB / 0.6973 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002573/0.9459, allocations: 168.6 kB / 0.6974 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001269/0.946, allocations: 96.42 kB / 0.6975 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.888e-05/0.946, allocations: 38.12 kB / 0.6976 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 4.068e-06/0.946, allocations: 0 / 0.6976 GB, free: 13.56 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.005481/0.9515, allocations: 1.676 MB / 0.6992 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.769e-05/0.9516, allocations: 135.3 kB / 0.6993 GB, free: 12.88 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006558/0.9523, allocations: 0.6141 MB / 0.6999 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.433e-05/0.9523, allocations: 34.92 kB / 0.7 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002053/0.9526, allocations: 366.3 kB / 0.7003 GB, free: 12.52 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 8.832e-05/0.9527, allocations: 139.6 kB / 0.7005 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002057/0.9529, allocations: 156.7 kB / 0.7006 GB, free: 12.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.953, allocations: 375.7 kB / 0.701 GB, free: 12.1 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003342/0.9534, allocations: 206 kB / 0.7012 GB, free: 12.09 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005831/0.954, allocations: 0.5118 MB / 0.7017 GB, free: 11.7 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009832/0.9549, allocations: 0.7541 MB / 0.7024 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.36e-06/0.955, allocations: 2.969 kB / 0.7024 GB, free: 11.32 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001513/0.9565, allocations: 0.8894 MB / 0.7033 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.9565, allocations: 8.781 kB / 0.7033 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.073e-05/0.9565, allocations: 11.88 kB / 0.7033 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001386/0.9579, allocations: 317.8 kB / 0.7036 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003899/0.9583, allocations: 124.2 kB / 0.7037 GB, free: 11.2 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001143/0.9595, allocations: 0.929 MB / 0.7046 GB, free: 10.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006193/0.9601, allocations: 50.11 kB / 0.7047 GB, free: 10.66 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001067/0.9602, allocations: 66.83 kB / 0.7047 GB, free: 10.66 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (67): * Single equations (assignments): 66 * 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.0003922/0.9606, allocations: 244.8 kB / 0.705 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001396/0.9608, allocations: 73.84 kB / 0.705 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001948/0.9627, allocations: 0.8585 MB / 0.7059 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.167e-06/0.9628, allocations: 7.75 kB / 0.7059 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.9628, allocations: 1.859 kB / 0.7059 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.763e-06/0.9628, allocations: 2.438 kB / 0.7059 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002357/0.9652, allocations: 1.463 MB / 0.7073 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.42e-06/0.9652, allocations: 3.5 kB / 0.7073 GB, free: 9.727 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001064/0.9662, allocations: 213.5 kB / 0.7075 GB, free: 9.723 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.548e-05/0.9664, allocations: 24.06 kB / 0.7075 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.145e-05/0.9664, allocations: 22.45 kB / 0.7076 GB, free: 9.715 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002039/0.9685, allocations: 2.689 MB / 0.7102 GB, free: 7.129 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.958e-06/0.9685, allocations: 1.625 kB / 0.7102 GB, free: 7.129 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[2].T = Modelica.Math.Nonlinear.solveOneNonlinearEquation(function ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.shortPipe.Medium.T_h.f_nonlinear(Modelica.Media.IdealGases.Common.DataRecord("N2", #(0.0280134), #(0.0), #(309498.4543111511), #(1000.0), #({22103.71497, -381.846182, 6.08273836, -0.00853091441, 1.384646189e-05, -9.62579362e-09, 2.519705809e-12}), #({710.846086, -10.76003744}), #({587712.406, -2239.249073, 6.06694922, -0.00061396855, 1.491806679e-07, -1.923105485e-11, 1.061954386e-15}), #({12832.10415, -15.86640027}), #(296.8033869505308)), #(ambient.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.002418/0.9709, allocations: 1.439 MB / 0.7116 GB, free: 6.645 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.