Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir.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.Air.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.Xi.1.|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001788/0.001788, 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.304/1.304, 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.001174/0.001174, allocations: 109.5 kB / 296.7 MB, free: 6.473 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3892/0.3892, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 63.89 kB / 465.5 MB, free: 12.09 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3407/0.3419, allocations: 62 MB / 0.5152 GB, free: 37.86 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.MoistAir): time 0.5898/0.9317, allocations: 189.9 MB / 0.7006 GB, free: 1.727 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.01082/0.9426, allocations: 7.657 MB / 0.7081 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001499/0.9441, allocations: 28.22 kB / 0.7081 GB, free: 1.555 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001611/0.9458, allocations: 399.6 kB / 0.7085 GB, free: 1.539 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00884/0.9547, allocations: 2.069 MB / 0.7105 GB, free: 1.434 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.007487/0.9622, allocations: 2.023 MB / 0.7125 GB, free: 1.359 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.005906/0.9681, allocations: 3.224 MB / 0.7157 GB, free: 1.355 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.9696, allocations: 0.513 MB / 0.7162 GB, free: 1.289 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005938/0.9755, allocations: 1.65 MB / 0.7178 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002706/0.9783, allocations: 0.8869 MB / 0.7186 GB, free: 1.242 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0005208/0.9788, allocations: 50.72 kB / 0.7187 GB, free: 1.238 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0137/0.9925, allocations: 5.534 MB / 0.7241 GB, free: 1.188 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.001243/0.9938, allocations: 387.2 kB / 0.7245 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001915/0.9958, allocations: 0.4889 MB / 0.7249 GB, free: 1.18 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01313/1.009, allocations: 3.895 MB / 0.7287 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/1.009, allocations: 0 / 0.7287 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.663e-06/1.009, allocations: 0 / 0.7287 GB, free: 0.9688 MB / 490.7 MB Notification: Performance of Transformations before backend: time 6.543e-05/1.009, allocations: 0 / 0.7287 GB, free: 0.9688 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.007491/1.017, allocations: 1.731 MB / 0.7304 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.855e-05/1.017, allocations: 12.34 kB / 0.7304 GB, free: 15.95 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008253/1.017, allocations: 105.6 kB / 0.7305 GB, free: 15.9 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001419/1.019, allocations: 0.588 MB / 0.7311 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001511/1.019, allocations: 125.1 kB / 0.7312 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002101/1.019, allocations: 69.55 kB / 0.7313 GB, free: 15.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002506/1.022, allocations: 1.158 MB / 0.7324 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/1.022, allocations: 10.12 kB / 0.7324 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001198/1.022, allocations: 31.97 kB / 0.7325 GB, free: 15.07 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.743e-05/1.022, allocations: 59.59 kB / 0.7325 GB, free: 15.06 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002191/1.024, allocations: 1.159 MB / 0.7337 GB, free: 14.86 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.007996/1.032, allocations: 4.981 MB / 0.7385 GB, free: 11.55 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001758/1.034, allocations: 0.8256 MB / 0.7393 GB, free: 11.4 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007455/1.035, allocations: 421.8 kB / 0.7397 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0015/1.036, allocations: 1.626 MB / 0.7413 GB, free: 9.504 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.005e-05/1.036, allocations: 48.81 kB / 0.7414 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=70): time 2.715e-06/1.036, allocations: 0 / 0.7414 GB, free: 9.461 MB / 0.4948 GB Notification: Performance of matching and sorting (n=82): time 0.01405/1.05, allocations: 4.002 MB / 0.7453 GB, free: 8.297 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.306e-05/1.051, allocations: 118.2 kB / 0.7454 GB, free: 8.168 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001062/1.052, allocations: 0.6582 MB / 0.746 GB, free: 7.93 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0001231/1.052, allocations: 42.11 kB / 0.7461 GB, free: 7.898 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004099/1.052, allocations: 392 kB / 0.7464 GB, free: 7.668 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003359/1.053, allocations: 288.1 kB / 0.7467 GB, free: 7.461 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000443/1.053, allocations: 199.4 kB / 0.7469 GB, free: 7.41 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.00022/1.053, allocations: 386.8 kB / 0.7473 GB, free: 7.074 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001059/1.054, allocations: 499.8 kB / 0.7477 GB, free: 6.992 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001268/1.056, allocations: 0.7518 MB / 0.7485 GB, free: 6.598 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00232/1.058, allocations: 1.278 MB / 0.7497 GB, free: 5.789 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.526e-06/1.058, allocations: 4 kB / 0.7497 GB, free: 5.785 MB / 0.4948 GB Notification: Performance of matching and sorting (n=124) (initialization): time 0.003595/1.062, allocations: 1.679 MB / 0.7514 GB, free: 4.641 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/1.062, allocations: 8.594 kB / 0.7514 GB, free: 4.633 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/1.062, allocations: 8 kB / 0.7514 GB, free: 4.625 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007089/1.069, allocations: 1.316 MB / 0.7527 GB, free: 3.445 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006175/1.069, allocations: 154 kB / 0.7528 GB, free: 3.312 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002627/1.072, allocations: 1.529 MB / 0.7543 GB, free: 1.965 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001053/1.073, allocations: 87.98 kB / 0.7544 GB, free: 1.879 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/1.073, allocations: 51.98 kB / 0.7545 GB, free: 1.828 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.0005879/1.074, allocations: 303.7 kB / 0.7547 GB, free: 1.535 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002843/1.074, allocations: 86.97 kB / 0.7548 GB, free: 1.449 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003516/1.078, allocations: 1.672 MB / 0.7565 GB, free: 15.77 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.665e-05/1.078, allocations: 11.98 kB / 0.7565 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.458e-06/1.078, allocations: 0 / 0.7565 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.284e-05/1.078, allocations: 7.922 kB / 0.7565 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004762/1.082, allocations: 2.624 MB / 0.759 GB, free: 13.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.266e-06/1.082, allocations: 8.031 kB / 0.759 GB, free: 13.05 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00127/1.084, allocations: 260.6 kB / 0.7593 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001742/1.085, allocations: 376.3 kB / 0.7597 GB, free: 12.44 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.854e-05/1.086, allocations: 35.92 kB / 0.7597 GB, free: 12.4 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002766/1.088, allocations: 2.25 MB / 0.7619 GB, free: 10 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.088, allocations: 4.031 kB / 0.7619 GB, free: 10 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.007442/1.096, allocations: 3.401 MB / 0.7652 GB, free: 6.512 MB / 0.5105 GB Error: post-optimization module symbolicJacobian (simulation) failed.