Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam.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.Water.IdealSteam,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001856/0.001857, 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.37/1.37, 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.001105/0.001105, allocations: 101.7 kB / 296.7 MB, free: 6.48 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.341/0.341, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00115/0.00115, allocations: 67.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3187, allocations: 62.01 MB / 0.5152 GB, free: 37.84 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Water.IdealSteam): time 0.4934/0.8121, allocations: 173.5 MB / 0.6846 GB, free: 1.785 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.006716/0.8189, allocations: 5.485 MB / 0.6899 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008483/0.8198, allocations: 27.3 kB / 0.69 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007663/0.8206, allocations: 274.2 kB / 0.6902 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002859/0.8235, allocations: 1.22 MB / 0.6914 GB, free: 1.66 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002593/0.8261, allocations: 0.9523 MB / 0.6923 GB, free: 1.625 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003323/0.8294, allocations: 2.731 MB / 0.695 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006186/0.83, allocations: 390.5 kB / 0.6954 GB, free: 1.59 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00241/0.8324, allocations: 0.9785 MB / 0.6963 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001439/0.8339, allocations: 0.7805 MB / 0.6971 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001174/0.834, allocations: 32.5 kB / 0.6971 GB, free: 1.562 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0016/0.8356, allocations: 0.541 MB / 0.6977 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003689/0.836, allocations: 241.9 kB / 0.6979 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005343/0.8366, allocations: 371.3 kB / 0.6982 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002202/0.8388, allocations: 1.271 MB / 0.6995 GB, free: 1.48 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/0.8388, allocations: 0 / 0.6995 GB, free: 1.48 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.8388, allocations: 4 kB / 0.6995 GB, free: 1.477 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.291e-05/0.8388, allocations: 1.203 kB / 0.6995 GB, free: 1.477 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.002802/0.8416, allocations: 1.104 MB / 0.7006 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.014e-05/0.8417, allocations: 9.625 kB / 0.7006 GB, free: 16.86 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008364/0.8425, allocations: 139 kB / 0.7007 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009985/0.8435, allocations: 0.4964 MB / 0.7012 GB, free: 16.57 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001241/0.8437, allocations: 109.9 kB / 0.7013 GB, free: 16.5 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001092/0.8438, allocations: 52.88 kB / 0.7013 GB, free: 16.49 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001514/0.8453, allocations: 0.8217 MB / 0.7022 GB, free: 16.27 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.518e-05/0.8453, allocations: 13 kB / 0.7022 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.791e-05/0.8454, allocations: 21.78 kB / 0.7022 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.739e-05/0.8455, allocations: 37.88 kB / 0.7022 GB, free: 16.26 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001244/0.8468, allocations: 0.6255 MB / 0.7028 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.004836/0.8516, allocations: 3.933 MB / 0.7067 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005877/0.8522, allocations: 360.5 kB / 0.707 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000292/0.8525, allocations: 168.4 kB / 0.7072 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001203/0.8526, allocations: 94.02 kB / 0.7073 GB, free: 13.54 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.184e-05/0.8527, allocations: 40.62 kB / 0.7073 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 3.086e-06/0.8527, allocations: 0 / 0.7073 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.005868/0.8586, allocations: 1.674 MB / 0.7089 GB, free: 12.98 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.921e-05/0.8587, allocations: 139.1 kB / 0.7091 GB, free: 12.82 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008253/0.8595, allocations: 0.6123 MB / 0.7097 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.769e-05/0.8596, allocations: 32.61 kB / 0.7097 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002534/0.8598, allocations: 368.9 kB / 0.7101 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001329/0.86, allocations: 141 kB / 0.7102 GB, free: 12.37 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002512/0.8602, allocations: 153 kB / 0.7103 GB, free: 12.35 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.8604, allocations: 381.3 kB / 0.7107 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003772/0.8608, allocations: 202.8 kB / 0.7109 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005981/0.8614, allocations: 0.5122 MB / 0.7114 GB, free: 11.63 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001009/0.8624, allocations: 0.7571 MB / 0.7121 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.093e-06/0.8624, allocations: 2.844 kB / 0.7121 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001654/0.8641, allocations: 0.8804 MB / 0.713 GB, free: 11.16 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.903e-05/0.8641, allocations: 13.12 kB / 0.713 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.03e-05/0.8641, allocations: 13.14 kB / 0.713 GB, free: 11.15 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001464/0.8656, allocations: 315.7 kB / 0.7133 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004224/0.866, allocations: 124 kB / 0.7134 GB, free: 11.13 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001162/0.8672, allocations: 0.9283 MB / 0.7143 GB, free: 10.61 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006062/0.8678, allocations: 48.72 kB / 0.7144 GB, free: 10.6 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.868, allocations: 70.14 kB / 0.7145 GB, free: 10.6 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.0003529/0.8683, allocations: 251.5 kB / 0.7147 GB, free: 10.47 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001165/0.8685, allocations: 66.47 kB / 0.7148 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001662/0.8701, allocations: 0.8696 MB / 0.7156 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.8701, allocations: 3.406 kB / 0.7156 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.804e-06/0.8702, allocations: 3.938 kB / 0.7156 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.219e-06/0.8702, allocations: 2.094 kB / 0.7156 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002068/0.8722, allocations: 1.465 MB / 0.717 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.8723, allocations: 3.375 kB / 0.7171 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009926/0.8733, allocations: 213.6 kB / 0.7173 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.343e-05/0.8733, allocations: 22.02 kB / 0.7173 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.166e-05/0.8734, allocations: 23.72 kB / 0.7173 GB, free: 9.637 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.8753, allocations: 2.685 MB / 0.7199 GB, free: 7.055 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.8754, allocations: 0 / 0.7199 GB, free: 7.055 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.002137/0.8775, allocations: 1.452 MB / 0.7213 GB, free: 6.562 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.