Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa.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.DryAirNasa,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001161/0.001161, 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.988 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0009119/0.0009119, allocations: 108.8 kB / 296.7 MB, free: 6.469 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3838/0.3838, allocations: 44.84 MB / 392.7 MB, free: 34.73 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001326/0.001326, allocations: 63.91 kB / 465.5 MB, free: 12.08 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.349/0.3503, allocations: 62.01 MB / 0.5152 GB, free: 37.71 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.Air.DryAirNasa): time 0.5982/0.9485, allocations: 172.6 MB / 0.6837 GB, free: 1.75 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.00738/0.9559, allocations: 5.476 MB / 0.6891 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008092/0.9568, allocations: 28.62 kB / 0.6891 GB, free: 1.688 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0008689/0.9577, allocations: 275.8 kB / 0.6894 GB, free: 1.68 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003061/0.9608, allocations: 1.129 MB / 0.6905 GB, free: 1.621 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002316/0.9631, allocations: 0.8555 MB / 0.6913 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0032/0.9663, allocations: 2.734 MB / 0.694 GB, free: 1.594 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007236/0.9671, allocations: 399.2 kB / 0.6944 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003377/0.9705, allocations: 0.9754 MB / 0.6953 GB, free: 1.531 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00167/0.9722, allocations: 0.6907 MB / 0.696 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001314/0.9723, allocations: 33.45 kB / 0.696 GB, free: 1.527 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.9742, allocations: 0.5359 MB / 0.6965 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003955/0.9746, allocations: 238.7 kB / 0.6968 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.000608/0.9752, allocations: 375.3 kB / 0.6971 GB, free: 1.512 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002179/0.9774, allocations: 1.279 MB / 0.6984 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/0.9774, allocations: 0 / 0.6984 GB, free: 1.441 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.532e-06/0.9774, allocations: 1.094 kB / 0.6984 GB, free: 1.441 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.124e-05/0.9775, allocations: 0 / 0.6984 GB, free: 1.441 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.00272/0.9802, allocations: 1.1 MB / 0.6995 GB, free: 16.83 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.645e-05/0.9802, allocations: 10.3 kB / 0.6995 GB, free: 16.83 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008368/0.9811, allocations: 138 kB / 0.6996 GB, free: 16.79 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001156/0.9822, allocations: 0.5045 MB / 0.7001 GB, free: 16.52 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001777/0.9824, allocations: 104.9 kB / 0.7002 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001288/0.9826, allocations: 49.08 kB / 0.7002 GB, free: 16.46 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001832/0.9844, allocations: 0.8184 MB / 0.701 GB, free: 16.23 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.9845, allocations: 13.31 kB / 0.701 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.793e-05/0.9846, allocations: 26.02 kB / 0.7011 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.34e-05/0.9846, allocations: 42.03 kB / 0.7011 GB, free: 16.22 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001325/0.986, allocations: 0.6192 MB / 0.7017 GB, free: 16.21 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.004788/0.9908, allocations: 3.941 MB / 0.7056 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006001/0.9914, allocations: 358.2 kB / 0.7059 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003075/0.9917, allocations: 168.9 kB / 0.7061 GB, free: 13.6 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001433/0.9919, allocations: 92.47 kB / 0.7062 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.74e-05/0.9919, allocations: 42.25 kB / 0.7062 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 3.537e-06/0.9919, allocations: 0 / 0.7062 GB, free: 13.46 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.006285/0.9982, allocations: 1.671 MB / 0.7078 GB, free: 12.95 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.268e-05/0.9983, allocations: 133.4 kB / 0.708 GB, free: 12.79 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008831/0.9992, allocations: 0.6117 MB / 0.7086 GB, free: 12.66 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.066e-05/0.9992, allocations: 33.02 kB / 0.7086 GB, free: 12.62 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002524/0.9995, allocations: 370.1 kB / 0.7089 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001482/0.9997, allocations: 143.9 kB / 0.7091 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003014/1, allocations: 159.1 kB / 0.7092 GB, free: 12.32 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0001865/1, allocations: 376 kB / 0.7096 GB, free: 12 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/1.001, allocations: 202.2 kB / 0.7098 GB, free: 12 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006539/1.001, allocations: 0.5195 MB / 0.7103 GB, free: 11.6 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001111/1.002, allocations: 0.7573 MB / 0.711 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.031e-06/1.002, allocations: 3.125 kB / 0.711 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001706/1.004, allocations: 0.8808 MB / 0.7119 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/1.004, allocations: 12.44 kB / 0.7119 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.757e-05/1.004, allocations: 9.219 kB / 0.7119 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001446/1.006, allocations: 316.9 kB / 0.7122 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000431/1.006, allocations: 123 kB / 0.7123 GB, free: 11.1 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001202/1.007, allocations: 0.9298 MB / 0.7132 GB, free: 10.57 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005962/1.008, allocations: 49 kB / 0.7133 GB, free: 10.56 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001089/1.008, allocations: 65.28 kB / 0.7133 GB, free: 10.56 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.0004081/1.008, allocations: 247.5 kB / 0.7136 GB, free: 10.44 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001413/1.009, allocations: 65.5 kB / 0.7136 GB, free: 10.41 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001814/1.01, allocations: 0.8687 MB / 0.7145 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.854e-06/1.01, allocations: 7.781 kB / 0.7145 GB, free: 10.28 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.222e-06/1.01, allocations: 4 kB / 0.7145 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.062e-06/1.01, allocations: 3 kB / 0.7145 GB, free: 10.27 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/1.013, allocations: 1.46 MB / 0.7159 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.166e-06/1.013, allocations: 0 / 0.7159 GB, free: 9.625 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009907/1.014, allocations: 213.7 kB / 0.7161 GB, free: 9.621 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.448e-05/1.014, allocations: 21.31 kB / 0.7162 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.284e-05/1.014, allocations: 18.25 kB / 0.7162 GB, free: 9.613 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001899/1.016, allocations: 2.686 MB / 0.7188 GB, free: 7.031 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.856e-06/1.016, allocations: 2.906 kB / 0.7188 GB, free: 7.031 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.002151/1.018, allocations: 1.448 MB / 0.7202 GB, free: 6.539 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.