Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, 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.371/1.371, allocations: 222.9 MB / 241.6 MB, free: 10.97 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.001033/0.001033, allocations: 107.2 kB / 291.9 MB, free: 10.94 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.3425/0.3425, allocations: 44.12 MB / 386.1 MB, free: 37.94 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001146/0.001146, allocations: 51.92 kB / 457.7 MB, free: 2.301 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3593/0.3605, allocations: 60.81 MB / 0.5064 GB, free: 38.25 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5704/0.9309, allocations: 189.7 MB / 0.6917 GB, free: 1.848 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01336/0.9443, allocations: 7.647 MB / 0.6991 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001492/0.9459, allocations: 28.03 kB / 0.6992 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001632/0.9476, allocations: 395 kB / 0.6996 GB, free: 1.715 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.006743/0.9544, allocations: 2.083 MB / 0.7016 GB, free: 1.598 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006224/0.9606, allocations: 2.042 MB / 0.7036 GB, free: 1.508 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004085/0.9647, allocations: 3.214 MB / 0.7067 GB, free: 1.504 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001289/0.966, allocations: 0.5058 MB / 0.7072 GB, free: 1.445 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005488/0.9715, allocations: 1.628 MB / 0.7088 GB, free: 1.402 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002541/0.9741, allocations: 0.896 MB / 0.7097 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0004894/0.9746, allocations: 47.19 kB / 0.7097 GB, free: 1.395 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01269/0.9873, allocations: 5.497 MB / 0.7151 GB, free: 1.344 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001159/0.9885, allocations: 389.7 kB / 0.7155 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001985/0.9905, allocations: 497.4 kB / 0.7159 GB, free: 1.34 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01156/1.002, allocations: 3.864 MB / 0.7197 GB, free: 1.145 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.124e-06/1.002, allocations: 5.938 kB / 0.7197 GB, free: 1.141 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.482e-06/1.002, allocations: 1.203 kB / 0.7197 GB, free: 1.141 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.354e-05/1.002, allocations: 0 / 0.7197 GB, free: 1.141 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: 186 * Number of variables: 186 Notification: Performance of Generate backend data structure: time 0.005699/1.008, allocations: 1.716 MB / 0.7214 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/1.008, allocations: 14 kB / 0.7214 GB, free: 16.24 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005917/1.009, allocations: 111.6 kB / 0.7215 GB, free: 16.2 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001259/1.01, allocations: 0.5929 MB / 0.7221 GB, free: 15.92 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000116/1.01, allocations: 115.2 kB / 0.7222 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001405/1.01, allocations: 70 kB / 0.7223 GB, free: 15.86 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001862/1.012, allocations: 1.167 MB / 0.7234 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.543e-05/1.012, allocations: 0 / 0.7234 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/1.012, allocations: 33.25 kB / 0.7234 GB, free: 15.67 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.598e-05/1.012, allocations: 68.31 kB / 0.7235 GB, free: 15.66 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001824/1.014, allocations: 1.159 MB / 0.7246 GB, free: 15.66 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.006829/1.021, allocations: 4.971 MB / 0.7295 GB, free: 12.42 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001578/1.023, allocations: 0.8152 MB / 0.7303 GB, free: 12.27 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005962/1.023, allocations: 427 kB / 0.7307 GB, free: 12.21 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001303/1.024, allocations: 1.629 MB / 0.7323 GB, free: 10.38 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.031e-05/1.024, allocations: 44.12 kB / 0.7323 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 2.665e-06/1.024, allocations: 0 / 0.7323 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.01344/1.038, allocations: 4.006 MB / 0.7362 GB, free: 9.164 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.927e-05/1.038, allocations: 111.6 kB / 0.7363 GB, free: 9.035 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009394/1.039, allocations: 0.6614 MB / 0.737 GB, free: 8.797 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001333/1.039, allocations: 40.83 kB / 0.737 GB, free: 8.766 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003032/1.039, allocations: 381.8 kB / 0.7374 GB, free: 8.539 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002903/1.04, allocations: 293.9 kB / 0.7377 GB, free: 8.332 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003869/1.04, allocations: 200.6 kB / 0.7379 GB, free: 8.281 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001707/1.04, allocations: 393.2 kB / 0.7382 GB, free: 7.938 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001082/1.041, allocations: 494.5 kB / 0.7387 GB, free: 7.859 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001261/1.043, allocations: 0.761 MB / 0.7395 GB, free: 7.457 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002064/1.045, allocations: 1.282 MB / 0.7407 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.354e-06/1.045, allocations: 2.281 kB / 0.7407 GB, free: 7.035 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003288/1.048, allocations: 1.684 MB / 0.7424 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 3.896e-05/1.048, allocations: 7.875 kB / 0.7424 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.512e-05/1.048, allocations: 8.406 kB / 0.7424 GB, free: 6.715 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007084/1.055, allocations: 1.297 MB / 0.7436 GB, free: 5.969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007198/1.056, allocations: 162.8 kB / 0.7438 GB, free: 5.828 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002797/1.059, allocations: 1.536 MB / 0.7453 GB, free: 4.613 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001152/1.06, allocations: 83.56 kB / 0.7454 GB, free: 4.547 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002236/1.06, allocations: 54.67 kB / 0.7454 GB, free: 4.504 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 88 * 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 {(3,33)} Notification: Performance of prepare postOptimizeDAE: time 0.0006698/1.061, allocations: 295.5 kB / 0.7457 GB, free: 4.293 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003413/1.061, allocations: 90.91 kB / 0.7458 GB, free: 4.203 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003541/1.065, allocations: 1.673 MB / 0.7474 GB, free: 3.012 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.61e-05/1.065, allocations: 8 kB / 0.7474 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/1.065, allocations: 1.094 kB / 0.7474 GB, free: 3.004 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.791e-05/1.065, allocations: 3.984 kB / 0.7474 GB, free: 3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004892/1.07, allocations: 2.639 MB / 0.75 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.104e-06/1.07, allocations: 0 / 0.75 GB, free: 1.055 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001266/1.071, allocations: 261.1 kB / 0.7503 GB, free: 0.8125 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001756/1.073, allocations: 376.4 kB / 0.7506 GB, free: 500 kB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.755e-05/1.073, allocations: 35.53 kB / 0.7507 GB, free: 480 kB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002633/1.076, allocations: 2.254 MB / 0.7529 GB, free: 14.15 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/1.076, allocations: 6.938 kB / 0.7529 GB, free: 14.14 MB / 0.5105 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.Air.MoistAir.shortPipe.Medium.T_phX.f_nonlinear(#(shortPipe.flowModel.states[2].p), #(ambient.ports[1].h_outflow), #({ambient.X[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.007947/1.084, allocations: 3.395 MB / 0.7562 GB, free: 10.66 MB / 0.5105 GB Error: post-optimization module symbolicJacobian (simulation) failed.