Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00114/0.00114, 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.316/1.316, allocations: 222.9 MB / 241.6 MB, free: 11.01 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.0009851/0.0009851, allocations: 109.8 kB / 291.9 MB, free: 10.97 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.3374/0.3374, allocations: 44.13 MB / 386.1 MB, free: 38.02 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001154/0.001154, allocations: 55.92 kB / 457.8 MB, free: 2.324 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3516/0.3528, allocations: 60.8 MB / 0.5064 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.1852/0.538, allocations: 172.6 MB / 0.6749 GB, free: 3.016 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3487/0.8868, allocations: 5.461 MB / 0.6803 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001022/0.8879, allocations: 27.84 kB / 0.6803 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009543/0.8889, allocations: 272.3 kB / 0.6805 GB, free: 1.777 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00349/0.8924, allocations: 1.121 MB / 0.6816 GB, free: 1.742 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002747/0.8952, allocations: 0.8625 MB / 0.6825 GB, free: 1.711 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003715/0.8989, allocations: 2.723 MB / 0.6851 GB, free: 1.711 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006824/0.8996, allocations: 397.8 kB / 0.6855 GB, free: 1.684 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0023/0.9019, allocations: 0.9633 MB / 0.6865 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001058/0.903, allocations: 0.6852 MB / 0.6871 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001079/0.9031, allocations: 31.66 kB / 0.6872 GB, free: 1.664 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001573/0.9047, allocations: 0.539 MB / 0.6877 GB, free: 1.652 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002695/0.905, allocations: 244.5 kB / 0.6879 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005249/0.9055, allocations: 369.7 kB / 0.6883 GB, free: 1.648 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001503/0.907, allocations: 1.274 MB / 0.6895 GB, free: 1.578 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.907, allocations: 0 / 0.6895 GB, free: 1.578 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.375e-06/0.907, allocations: 0 / 0.6895 GB, free: 1.578 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.508e-06/0.9071, allocations: 1.094 kB / 0.6895 GB, free: 1.578 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.002333/0.9094, allocations: 1.098 MB / 0.6906 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.842e-05/0.9095, allocations: 13.47 kB / 0.6906 GB, free: 16.96 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007918/0.9103, allocations: 132.4 kB / 0.6907 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008298/0.9111, allocations: 0.5068 MB / 0.6912 GB, free: 16.66 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.9112, allocations: 106.9 kB / 0.6913 GB, free: 16.6 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.852e-05/0.9113, allocations: 49.38 kB / 0.6914 GB, free: 16.6 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001281/0.9126, allocations: 0.8204 MB / 0.6922 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.65e-05/0.9127, allocations: 5.719 kB / 0.6922 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.048e-05/0.9127, allocations: 34.16 kB / 0.6922 GB, free: 16.37 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.151e-05/0.9128, allocations: 37.47 kB / 0.6922 GB, free: 16.37 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001146/0.914, allocations: 0.6199 MB / 0.6929 GB, free: 16.37 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.005677/0.9197, allocations: 3.973 MB / 0.6967 GB, free: 13.74 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006675/0.9203, allocations: 354.4 kB / 0.6971 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000317/0.9207, allocations: 167.4 kB / 0.6972 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001599/0.9208, allocations: 89.27 kB / 0.6973 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.34e-05/0.9209, allocations: 44.16 kB / 0.6974 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 3.947e-06/0.9209, allocations: 0 / 0.6974 GB, free: 13.57 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.005576/0.9265, allocations: 1.664 MB / 0.699 GB, free: 13.06 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.9266, allocations: 136 kB / 0.6991 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006713/0.9273, allocations: 0.6092 MB / 0.6997 GB, free: 12.77 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.019e-05/0.9274, allocations: 36.23 kB / 0.6997 GB, free: 12.74 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002198/0.9276, allocations: 374.2 kB / 0.7001 GB, free: 12.54 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 9.947e-05/0.9277, allocations: 142.2 kB / 0.7002 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002052/0.9279, allocations: 157.3 kB / 0.7004 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001672/0.9281, allocations: 377.8 kB / 0.7007 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000336/0.9284, allocations: 199.2 kB / 0.7009 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006112/0.929, allocations: 0.5163 MB / 0.7014 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009831/0.93, allocations: 0.7474 MB / 0.7022 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.755e-06/0.93, allocations: 7.5 kB / 0.7022 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001478/0.9315, allocations: 0.892 MB / 0.703 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.343e-05/0.9316, allocations: 10.92 kB / 0.7031 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.78e-05/0.9316, allocations: 9.906 kB / 0.7031 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/0.933, allocations: 314 kB / 0.7034 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004069/0.9334, allocations: 130.9 kB / 0.7035 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001217/0.9347, allocations: 0.9228 MB / 0.7044 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006197/0.9353, allocations: 53.59 kB / 0.7044 GB, free: 10.68 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001334/0.9354, allocations: 63.69 kB / 0.7045 GB, free: 10.68 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.0004303/0.9359, allocations: 247.5 kB / 0.7047 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001452/0.936, allocations: 70.91 kB / 0.7048 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002063/0.9381, allocations: 0.8627 MB / 0.7057 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.112e-05/0.9381, allocations: 8.281 kB / 0.7057 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.042e-06/0.9381, allocations: 0 / 0.7057 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.805e-06/0.9382, allocations: 7.094 kB / 0.7057 GB, free: 10.39 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002446/0.9406, allocations: 1.454 MB / 0.7071 GB, free: 9.75 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.771e-06/0.9406, allocations: 7.391 kB / 0.7071 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001141/0.9418, allocations: 209.7 kB / 0.7073 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.628e-05/0.9419, allocations: 24.27 kB / 0.7073 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.874e-05/0.9419, allocations: 20.72 kB / 0.7073 GB, free: 9.738 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001936/0.9439, allocations: 2.684 MB / 0.71 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.9439, allocations: 1.938 kB / 0.71 GB, free: 7.156 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.Air.shortPipe.Medium.T_h.f_nonlinear(Modelica.Media.IdealGases.Common.DataRecord("Air", #(0.0289651159), #(-4333.833858403446), #(298609.6803431054), #(1000.0), #({10099.5016, -196.827561, 5.00915511, -0.00576101373, 1.06685993e-05, -7.94029797e-09, 2.18523191e-12}), #({-176.796731, -3.921504225}), #({241521.443, -1257.8746, 5.14455867, -0.000213854179, 7.06522784e-08, -1.07148349e-11, 6.57780015e-16}), #({6462.26319, -8.147411905}), #(287.0512249529787)), #(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.002556/0.9465, allocations: 1.449 MB / 0.7114 GB, free: 6.664 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.