Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen.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.Nitrogen,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001245/0.001245, 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.461/1.461, 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.001089/0.001089, allocations: 108.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.4301/0.4301, allocations: 44.84 MB / 392.7 MB, free: 34.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001134/0.001134, allocations: 59.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3969/0.3981, allocations: 62.01 MB / 0.5152 GB, free: 37.81 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Nitrogen): time 0.5212/0.9193, allocations: 172.6 MB / 0.6837 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006785/0.9262, allocations: 5.474 MB / 0.689 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006772/0.9269, allocations: 28.47 kB / 0.6891 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008278/0.9278, allocations: 278.8 kB / 0.6893 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002732/0.9305, allocations: 1.219 MB / 0.6905 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002308/0.9328, allocations: 0.948 MB / 0.6915 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.002496/0.9353, allocations: 2.736 MB / 0.6941 GB, free: 1.617 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005784/0.9359, allocations: 401.7 kB / 0.6945 GB, free: 1.578 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002095/0.938, allocations: 0.9789 MB / 0.6955 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001377/0.9394, allocations: 0.7738 MB / 0.6962 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001129/0.9395, allocations: 37.22 kB / 0.6963 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001487/0.941, allocations: 0.5315 MB / 0.6968 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000363/0.9414, allocations: 243.3 kB / 0.697 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004681/0.9419, allocations: 372.3 kB / 0.6974 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002075/0.944, allocations: 1.276 MB / 0.6986 GB, free: 1.469 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.944, allocations: 0 / 0.6986 GB, free: 1.469 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.122e-06/0.944, allocations: 0 / 0.6986 GB, free: 1.469 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.287e-05/0.944, allocations: 0 / 0.6986 GB, free: 1.469 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.002536/0.9466, allocations: 1.101 MB / 0.6997 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.141e-05/0.9466, allocations: 9.188 kB / 0.6997 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008054/0.9474, allocations: 136.6 kB / 0.6998 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009922/0.9484, allocations: 0.5043 MB / 0.7003 GB, free: 16.56 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001175/0.9486, allocations: 98.94 kB / 0.7004 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001038/0.9487, allocations: 50.38 kB / 0.7005 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001372/0.9501, allocations: 0.8228 MB / 0.7013 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.253e-05/0.9501, allocations: 8.844 kB / 0.7013 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.032e-05/0.9502, allocations: 31.06 kB / 0.7013 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.621e-05/0.9502, allocations: 41.08 kB / 0.7013 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001191/0.9514, allocations: 0.6172 MB / 0.7019 GB, free: 16.25 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.004528/0.956, allocations: 3.941 MB / 0.7058 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006113/0.9566, allocations: 358.8 kB / 0.7061 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002956/0.9569, allocations: 171.7 kB / 0.7063 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001398/0.9571, allocations: 92.55 kB / 0.7064 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.694e-05/0.9571, allocations: 41.91 kB / 0.7064 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.515e-06/0.9571, allocations: 4 kB / 0.7064 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.006072/0.9632, allocations: 1.665 MB / 0.7081 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.115e-05/0.9633, allocations: 139.1 kB / 0.7082 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008953/0.9642, allocations: 0.6132 MB / 0.7088 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.59e-05/0.9643, allocations: 35.61 kB / 0.7088 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.9645, allocations: 370 kB / 0.7092 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001275/0.9647, allocations: 144.2 kB / 0.7093 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000277/0.965, allocations: 156.9 kB / 0.7095 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.9651, allocations: 374.3 kB / 0.7098 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003664/0.9655, allocations: 202.3 kB / 0.71 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005964/0.9661, allocations: 0.5193 MB / 0.7105 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009894/0.9671, allocations: 0.7542 MB / 0.7113 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.9671, allocations: 3.906 kB / 0.7113 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001647/0.9688, allocations: 0.8836 MB / 0.7121 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.518e-05/0.9688, allocations: 9.125 kB / 0.7121 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.643e-05/0.9688, allocations: 9.812 kB / 0.7121 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00142/0.9703, allocations: 319.8 kB / 0.7124 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004034/0.9707, allocations: 121.5 kB / 0.7126 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001195/0.9719, allocations: 0.9307 MB / 0.7135 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007158/0.9726, allocations: 52.62 kB / 0.7135 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000127/0.9728, allocations: 67.92 kB / 0.7136 GB, free: 10.59 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.0005183/0.9733, allocations: 238.5 kB / 0.7138 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000224/0.9735, allocations: 66.86 kB / 0.7139 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001862/0.9754, allocations: 0.8752 MB / 0.7147 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.065e-06/0.9754, allocations: 5.031 kB / 0.7147 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.9754, allocations: 0 / 0.7147 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.482e-06/0.9754, allocations: 3.094 kB / 0.7147 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00255/0.978, allocations: 1.457 MB / 0.7162 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.978, allocations: 0 / 0.7162 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009825/0.979, allocations: 210.8 kB / 0.7164 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001009/0.9791, allocations: 25.2 kB / 0.7164 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.276e-05/0.9792, allocations: 28.92 kB / 0.7164 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002046/0.9812, allocations: 2.682 MB / 0.719 GB, free: 7.059 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.9812, allocations: 3.25 kB / 0.719 GB, free: 7.059 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.002391/0.9836, allocations: 1.449 MB / 0.7204 GB, free: 6.566 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.