Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001021/0.001021, 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.263/1.263, allocations: 222.9 MB / 241.6 MB, free: 10.99 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.001049/0.001049, allocations: 109.6 kB / 291.9 MB, free: 10.92 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.3495/0.3495, allocations: 44.13 MB / 386.1 MB, free: 38.01 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 51.91 kB / 457.7 MB, free: 2.281 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3481/0.3492, allocations: 60.81 MB / 0.5064 GB, free: 38.36 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.183/0.5323, allocations: 172.6 MB / 0.6749 GB, free: 2.988 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3432/0.8756, allocations: 5.455 MB / 0.6803 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001089/0.8768, allocations: 27.53 kB / 0.6803 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001075/0.8779, allocations: 274.5 kB / 0.6805 GB, free: 1.789 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003495/0.8814, allocations: 1.122 MB / 0.6816 GB, free: 1.754 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002752/0.8842, allocations: 0.8676 MB / 0.6825 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.004588/0.8888, allocations: 2.722 MB / 0.6851 GB, free: 1.723 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000843/0.8897, allocations: 396.6 kB / 0.6855 GB, free: 1.691 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002547/0.8922, allocations: 0.9652 MB / 0.6865 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001047/0.8933, allocations: 0.6866 MB / 0.6871 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001163/0.8934, allocations: 31.84 kB / 0.6872 GB, free: 1.672 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00141/0.8948, allocations: 0.5363 MB / 0.6877 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002533/0.8951, allocations: 242.8 kB / 0.6879 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004522/0.8956, allocations: 369.9 kB / 0.6883 GB, free: 1.656 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001412/0.897, allocations: 1.273 MB / 0.6895 GB, free: 1.586 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/0.897, allocations: 0 / 0.6895 GB, free: 1.586 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.897, allocations: 1.094 kB / 0.6895 GB, free: 1.586 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.073e-05/0.897, allocations: 0 / 0.6895 GB, free: 1.586 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.002464/0.8995, allocations: 1.1 MB / 0.6906 GB, free: 16.98 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 5.056e-05/0.8995, allocations: 14.59 kB / 0.6906 GB, free: 16.97 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007841/0.9003, allocations: 136.5 kB / 0.6907 GB, free: 16.93 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008436/0.9012, allocations: 0.5031 MB / 0.6912 GB, free: 16.67 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001184/0.9013, allocations: 103.5 kB / 0.6913 GB, free: 16.61 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.151e-05/0.9014, allocations: 49.02 kB / 0.6914 GB, free: 16.61 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001261/0.9027, allocations: 0.8217 MB / 0.6922 GB, free: 16.39 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/0.9027, allocations: 9.25 kB / 0.6922 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.085e-05/0.9028, allocations: 19.03 kB / 0.6922 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.634e-05/0.9029, allocations: 42.98 kB / 0.6922 GB, free: 16.38 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009491/0.9038, allocations: 0.6194 MB / 0.6928 GB, free: 16.38 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.004213/0.908, allocations: 3.965 MB / 0.6967 GB, free: 13.76 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005288/0.9086, allocations: 355.5 kB / 0.6971 GB, free: 13.73 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002568/0.9089, allocations: 172.6 kB / 0.6972 GB, free: 13.72 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001228/0.909, allocations: 91.59 kB / 0.6973 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.663e-05/0.909, allocations: 40.12 kB / 0.6973 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 2.434e-06/0.909, allocations: 1.5 kB / 0.6973 GB, free: 13.59 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.00563/0.9147, allocations: 1.668 MB / 0.699 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.341e-05/0.9148, allocations: 132.2 kB / 0.6991 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000666/0.9154, allocations: 0.6124 MB / 0.6997 GB, free: 12.78 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.613e-05/0.9155, allocations: 36.11 kB / 0.6997 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002389/0.9157, allocations: 375.5 kB / 0.7001 GB, free: 12.55 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001125/0.9159, allocations: 141.7 kB / 0.7002 GB, free: 12.46 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002279/0.9161, allocations: 154.9 kB / 0.7004 GB, free: 12.44 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001829/0.9163, allocations: 374.5 kB / 0.7007 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.9166, allocations: 204.6 kB / 0.7009 GB, free: 12.12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006086/0.9173, allocations: 0.514 MB / 0.7014 GB, free: 11.73 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000968/0.9182, allocations: 0.7522 MB / 0.7022 GB, free: 11.35 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.172e-06/0.9183, allocations: 6.375 kB / 0.7022 GB, free: 11.34 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001565/0.9198, allocations: 0.8889 MB / 0.703 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.628e-05/0.9199, allocations: 9.094 kB / 0.703 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.975e-05/0.9199, allocations: 13.38 kB / 0.7031 GB, free: 11.25 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001411/0.9213, allocations: 323.2 kB / 0.7034 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004067/0.9217, allocations: 121.6 kB / 0.7035 GB, free: 11.22 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001164/0.9229, allocations: 0.9283 MB / 0.7044 GB, free: 10.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005915/0.9235, allocations: 50.67 kB / 0.7044 GB, free: 10.69 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001076/0.9236, allocations: 66.3 kB / 0.7045 GB, free: 10.69 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.000338/0.924, allocations: 246.8 kB / 0.7047 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/0.9241, allocations: 69.38 kB / 0.7048 GB, free: 10.54 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002008/0.9261, allocations: 0.8667 MB / 0.7057 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.447e-05/0.9262, allocations: 8.5 kB / 0.7057 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.523e-06/0.9262, allocations: 4 kB / 0.7057 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.9262, allocations: 3.203 kB / 0.7057 GB, free: 10.4 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002391/0.9286, allocations: 1.455 MB / 0.7071 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.009e-06/0.9286, allocations: 3.766 kB / 0.7071 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/0.9297, allocations: 205.5 kB / 0.7073 GB, free: 9.754 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.911e-05/0.9298, allocations: 24.86 kB / 0.7073 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-05/0.9299, allocations: 23.61 kB / 0.7073 GB, free: 9.746 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002177/0.9321, allocations: 2.689 MB / 0.71 GB, free: 7.16 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.3e-06/0.9321, allocations: 6.016 kB / 0.71 GB, free: 7.16 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.Air.DryAirNasa.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.0027/0.9348, allocations: 1.445 MB / 0.7114 GB, free: 6.672 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.