Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001735/0.001735, 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.385/1.385, 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.001012/0.001012, allocations: 102.7 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.3298/0.3298, allocations: 44.14 MB / 386.1 MB, free: 37.99 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001036/0.001036, allocations: 47.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3522/0.3533, allocations: 60.81 MB / 0.5064 GB, free: 38.5 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.1729/0.5262, allocations: 173.4 MB / 0.6758 GB, free: 2.129 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3249/0.8512, allocations: 5.47 MB / 0.6811 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001179/0.8524, allocations: 27.19 kB / 0.6811 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008904/0.8534, allocations: 271.5 kB / 0.6814 GB, free: 1.746 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003713/0.8571, allocations: 1.211 MB / 0.6826 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.8601, allocations: 0.9464 MB / 0.6835 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0034/0.8635, allocations: 2.722 MB / 0.6862 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006768/0.8642, allocations: 405 kB / 0.6865 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002219/0.8664, allocations: 0.968 MB / 0.6875 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001218/0.8676, allocations: 0.7707 MB / 0.6882 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001082/0.8677, allocations: 33.59 kB / 0.6883 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001429/0.8692, allocations: 0.5333 MB / 0.6888 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002832/0.8695, allocations: 240.1 kB / 0.689 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004865/0.87, allocations: 374.2 kB / 0.6894 GB, free: 1.582 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001838/0.8718, allocations: 1.268 MB / 0.6906 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.119e-06/0.8718, allocations: 2.547 kB / 0.6906 GB, free: 1.512 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.8718, allocations: 3.375 kB / 0.6906 GB, free: 1.512 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.191e-05/0.8719, allocations: 4 kB / 0.6906 GB, free: 1.508 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.002925/0.8748, allocations: 1.096 MB / 0.6917 GB, free: 16.9 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.8748, allocations: 16.39 kB / 0.6917 GB, free: 16.89 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008142/0.8757, allocations: 138.6 kB / 0.6918 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001044/0.8767, allocations: 0.496 MB / 0.6923 GB, free: 16.6 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001269/0.8769, allocations: 105.8 kB / 0.6924 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001175/0.877, allocations: 50.22 kB / 0.6925 GB, free: 16.53 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001369/0.8784, allocations: 0.822 MB / 0.6933 GB, free: 16.31 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.549e-05/0.8784, allocations: 8.906 kB / 0.6933 GB, free: 16.31 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.949e-05/0.8785, allocations: 20.38 kB / 0.6933 GB, free: 16.31 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.794e-05/0.8786, allocations: 40.64 kB / 0.6933 GB, free: 16.31 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001012/0.8796, allocations: 0.6277 MB / 0.694 GB, free: 16.3 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.005022/0.8846, allocations: 3.966 MB / 0.6978 GB, free: 13.68 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006014/0.8852, allocations: 353 kB / 0.6982 GB, free: 13.65 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002891/0.8855, allocations: 170.8 kB / 0.6983 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.8857, allocations: 94.83 kB / 0.6984 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.8857, allocations: 40.12 kB / 0.6985 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 4.468e-06/0.8857, allocations: 0 / 0.6985 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.005755/0.8915, allocations: 1.668 MB / 0.7001 GB, free: 12.99 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.561e-05/0.8916, allocations: 132 kB / 0.7002 GB, free: 12.83 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00082/0.8924, allocations: 0.6133 MB / 0.7008 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.075e-05/0.8925, allocations: 35.89 kB / 0.7008 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000272/0.8928, allocations: 371.1 kB / 0.7012 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001254/0.8929, allocations: 137.1 kB / 0.7013 GB, free: 12.38 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002885/0.8932, allocations: 158 kB / 0.7015 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.8934, allocations: 376.5 kB / 0.7018 GB, free: 12.05 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003931/0.8938, allocations: 209.5 kB / 0.702 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006531/0.8944, allocations: 0.5107 MB / 0.7025 GB, free: 11.65 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001062/0.8955, allocations: 0.7529 MB / 0.7033 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.003e-06/0.8955, allocations: 2.531 kB / 0.7033 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001778/0.8973, allocations: 0.8885 MB / 0.7041 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.886e-05/0.8973, allocations: 13.19 kB / 0.7042 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.003e-05/0.8974, allocations: 11.14 kB / 0.7042 GB, free: 11.17 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001528/0.8989, allocations: 314.1 kB / 0.7045 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004389/0.8994, allocations: 121.3 kB / 0.7046 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001236/0.9006, allocations: 0.9336 MB / 0.7055 GB, free: 10.62 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006646/0.9013, allocations: 48.41 kB / 0.7055 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001173/0.9014, allocations: 67.86 kB / 0.7056 GB, free: 10.61 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.0004527/0.9019, allocations: 248.7 kB / 0.7058 GB, free: 10.49 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001592/0.902, allocations: 69.52 kB / 0.7059 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00211/0.9042, allocations: 0.8667 MB / 0.7068 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.408e-06/0.9042, allocations: 4.797 kB / 0.7068 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.253e-06/0.9042, allocations: 0.6875 kB / 0.7068 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.915e-06/0.9042, allocations: 2.297 kB / 0.7068 GB, free: 10.33 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002508/0.9067, allocations: 1.469 MB / 0.7082 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.059e-06/0.9067, allocations: 2.328 kB / 0.7082 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001113/0.9079, allocations: 206.2 kB / 0.7084 GB, free: 9.672 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001024/0.908, allocations: 28.58 kB / 0.7084 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.112e-05/0.908, allocations: 24.69 kB / 0.7084 GB, free: 9.66 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002036/0.9101, allocations: 2.678 MB / 0.7111 GB, free: 7.082 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.823e-06/0.9101, allocations: 9.844 kB / 0.7111 GB, free: 7.078 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.Water.IdealSteam.shortPipe.Medium.T_h.f_nonlinear(Modelica.Media.IdealGases.Common.DataRecord("H2O", #(0.01801528), #(-13423382.81725291), #(549760.6476280135), #(1000.0), #({-39479.6083, 575.5731019999999, 0.931782653, 0.00722271286, -7.34255737e-06, 4.95504349e-09, -1.336933246e-12}), #({-33039.7431, 17.24205775}), #({1034972.096, -2412.698562, 4.64611078, 0.002291998307, -6.836830479999999e-07, 9.426468930000001e-11, -4.82238053e-15}), #({-13842.86509, -7.97814851}), #(461.5233290850878)), #(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.002598/0.9127, allocations: 1.444 MB / 0.7125 GB, free: 6.59 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.