Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air.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.IdealGases.Air,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="ModelicaTest_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001209/0.00121, 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.293/1.293, allocations: 226.7 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001027/0.001027, allocations: 110.3 kB / 296.7 MB, free: 6.496 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3886/0.3886, allocations: 44.83 MB / 392.7 MB, free: 34.79 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001123/0.001124, allocations: 59.91 kB / 465.5 MB, free: 12.12 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3404/0.3415, allocations: 62.02 MB / 0.5152 GB, free: 37.67 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.IdealGases.Air): time 0.5644/0.906, allocations: 172.6 MB / 0.6837 GB, free: 1.773 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.008907/0.915, allocations: 5.472 MB / 0.6891 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009811/0.916, allocations: 27.94 kB / 0.6891 GB, free: 1.719 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009421/0.917, allocations: 280 kB / 0.6894 GB, free: 1.707 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003245/0.9202, allocations: 1.13 MB / 0.6905 GB, free: 1.645 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002558/0.9228, allocations: 0.8594 MB / 0.6913 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.003282/0.9261, allocations: 2.734 MB / 0.694 GB, free: 1.613 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007269/0.9268, allocations: 402.5 kB / 0.6944 GB, free: 1.566 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002719/0.9296, allocations: 0.9718 MB / 0.6953 GB, free: 1.551 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001122/0.9307, allocations: 0.6859 MB / 0.696 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001046/0.9308, allocations: 33.47 kB / 0.696 GB, free: 1.547 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001637/0.9325, allocations: 0.5377 MB / 0.6966 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003521/0.9328, allocations: 236.3 kB / 0.6968 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005859/0.9334, allocations: 378.2 kB / 0.6971 GB, free: 1.535 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002273/0.9357, allocations: 1.271 MB / 0.6984 GB, free: 1.465 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.9357, allocations: 1.438 kB / 0.6984 GB, free: 1.465 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.462e-06/0.9357, allocations: 4 kB / 0.6984 GB, free: 1.461 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.037e-05/0.9358, allocations: 0 / 0.6984 GB, free: 1.461 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.002604/0.9384, allocations: 1.103 MB / 0.6995 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.9384, allocations: 9.969 kB / 0.6995 GB, free: 16.85 MB / 0.4948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000788/0.9392, allocations: 133.2 kB / 0.6996 GB, free: 16.82 MB / 0.4948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009618/0.9402, allocations: 0.5053 MB / 0.7001 GB, free: 16.55 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001298/0.9403, allocations: 102.6 kB / 0.7002 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001345/0.9405, allocations: 49.41 kB / 0.7002 GB, free: 16.48 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001493/0.942, allocations: 0.8236 MB / 0.701 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.554e-05/0.942, allocations: 8.844 kB / 0.7011 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.995e-05/0.9421, allocations: 25.94 kB / 0.7011 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.74e-05/0.9422, allocations: 37.8 kB / 0.7011 GB, free: 16.25 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001339/0.9435, allocations: 0.6202 MB / 0.7017 GB, free: 16.24 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.005216/0.9487, allocations: 3.941 MB / 0.7056 GB, free: 13.66 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006234/0.9494, allocations: 350.8 kB / 0.7059 GB, free: 13.64 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002973/0.9497, allocations: 173 kB / 0.7061 GB, free: 13.63 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001284/0.9498, allocations: 98.05 kB / 0.7062 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.224e-05/0.9499, allocations: 45.12 kB / 0.7062 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=34): time 1.994e-06/0.9499, allocations: 0 / 0.7062 GB, free: 13.48 MB / 0.4948 GB Notification: Performance of matching and sorting (n=39): time 0.006051/0.9559, allocations: 1.662 MB / 0.7078 GB, free: 12.97 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.451e-05/0.9561, allocations: 140 kB / 0.708 GB, free: 12.81 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009366/0.957, allocations: 0.613 MB / 0.7086 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 5.942e-05/0.9571, allocations: 35.89 kB / 0.7086 GB, free: 12.64 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002868/0.9574, allocations: 368.7 kB / 0.7089 GB, free: 12.45 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001325/0.9575, allocations: 144.1 kB / 0.7091 GB, free: 12.36 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002813/0.9578, allocations: 155 kB / 0.7092 GB, free: 12.34 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000226/0.958, allocations: 381.2 kB / 0.7096 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004662/0.9585, allocations: 201.4 kB / 0.7098 GB, free: 12.02 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007367/0.9592, allocations: 0.5146 MB / 0.7103 GB, free: 11.62 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00117/0.9604, allocations: 0.7595 MB / 0.711 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.258e-06/0.9604, allocations: 2.625 kB / 0.711 GB, free: 11.23 MB / 0.4948 GB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001699/0.9621, allocations: 0.8855 MB / 0.7119 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.778e-05/0.9622, allocations: 8.781 kB / 0.7119 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.956e-05/0.9622, allocations: 9.875 kB / 0.7119 GB, free: 11.14 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001491/0.9637, allocations: 315.1 kB / 0.7122 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004487/0.9642, allocations: 125 kB / 0.7123 GB, free: 11.12 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001244/0.9654, allocations: 0.9302 MB / 0.7132 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000647/0.9661, allocations: 48.89 kB / 0.7133 GB, free: 10.59 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001193/0.9662, allocations: 63.81 kB / 0.7133 GB, free: 10.59 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.0004415/0.9667, allocations: 245.5 kB / 0.7136 GB, free: 10.46 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001491/0.9668, allocations: 66.22 kB / 0.7136 GB, free: 10.43 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001839/0.9687, allocations: 0.8702 MB / 0.7145 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.692e-06/0.9687, allocations: 6.203 kB / 0.7145 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.692e-06/0.9687, allocations: 0 / 0.7145 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.9687, allocations: 4.938 kB / 0.7145 GB, free: 10.3 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002117/0.9708, allocations: 1.454 MB / 0.7159 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.688e-06/0.9708, allocations: 1.812 kB / 0.7159 GB, free: 9.652 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001004/0.9719, allocations: 215.6 kB / 0.7161 GB, free: 9.648 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.992e-05/0.972, allocations: 25.16 kB / 0.7162 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.428e-05/0.972, allocations: 23.39 kB / 0.7162 GB, free: 9.641 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00197/0.974, allocations: 2.689 MB / 0.7188 GB, free: 7.051 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.974, allocations: 4.125 kB / 0.7188 GB, free: 7.051 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.002175/0.9762, allocations: 1.44 MB / 0.7202 GB, free: 6.566 MB / 0.4948 GB Error: post-optimization module symbolicJacobian (simulation) failed.