Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package HelmholtzMedia with version (/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001562/0.001562, allocations: 183 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04603/0.04603, allocations: 9.089 MB / 25.82 MB, free: 3.418 MB / 18.57 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.394/1.394, allocations: 205.1 MB / 233.2 MB, free: 14.18 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001031/0.001032, allocations: 103.1 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001186/0.001187, allocations: 56.14 kB / 341.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2564/0.2576, allocations: 48.17 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.R134aTestModel2): time 0.4787/0.7364, allocations: 200.5 MB / 0.5759 GB, free: 10.47 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.5288/1.265, allocations: 145.9 MB / 0.7183 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001125/1.266, allocations: 7.781 kB / 0.7183 GB, free: 0.8516 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.004871/1.271, allocations: 1.587 MB / 0.7199 GB, free: 0.8477 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007912/1.279, allocations: 2.246 MB / 0.7221 GB, free: 0.8125 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.1133/1.393, allocations: 33.2 MB / 0.7545 GB, free: 12.43 MB / 0.4948 GB Notification: Performance of NFFlatten.flatten: time 0.003718/1.396, allocations: 2.614 MB / 0.757 GB, free: 11.59 MB / 0.4948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000361/1.397, allocations: 162.5 kB / 0.7572 GB, free: 11.52 MB / 0.4948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001474/1.398, allocations: 0.711 MB / 0.7579 GB, free: 11.27 MB / 0.4948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006896/1.399, allocations: 0.5439 MB / 0.7584 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFPackage.collectConstants: time 7.043e-05/1.399, allocations: 31.56 kB / 0.7584 GB, free: 11.07 MB / 0.4948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.08009/1.479, allocations: 41.41 MB / 0.7989 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0003254/1.479, allocations: 142.7 kB / 0.799 GB, free: 12.93 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0007833/1.48, allocations: 396.9 kB / 0.7994 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.06451/1.545, allocations: 18.2 MB / 0.8172 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/1.545, allocations: 0 / 0.8172 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.583e-06/1.545, allocations: 0 / 0.8172 GB, free: 11.79 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.417e-05/1.545, allocations: 0 / 0.8172 GB, free: 11.79 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.00894/1.554, allocations: 3.34 MB / 0.8204 GB, free: 8.406 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/1.554, allocations: 14.94 kB / 0.8205 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007907/1.555, allocations: 123.1 kB / 0.8206 GB, free: 8.273 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005252/1.555, allocations: 406.5 kB / 0.821 GB, free: 7.844 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.635e-05/1.555, allocations: 41 kB / 0.821 GB, free: 7.805 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/1.555, allocations: 51.94 kB / 0.821 GB, free: 7.754 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001621/1.557, allocations: 0.8196 MB / 0.8218 GB, free: 6.906 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.077e-05/1.557, allocations: 3.938 kB / 0.8219 GB, free: 6.902 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.223e-05/1.557, allocations: 24 kB / 0.8219 GB, free: 6.879 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.695e-05/1.557, allocations: 19.2 kB / 0.8219 GB, free: 6.863 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001702/1.559, allocations: 0.7532 MB / 0.8226 GB, free: 6.113 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003368/1.562, allocations: 3.41 MB / 0.826 GB, free: 2.418 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001487/1.564, allocations: 0.6958 MB / 0.8266 GB, free: 1.707 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000726/1.564, allocations: 479.1 kB / 0.8271 GB, free: 1.238 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.4956/2.06, allocations: 185.3 MB / 1.008 GB, free: 258 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.131e-05/2.06, allocations: 39 kB / 1.008 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=109): time 3.547e-06/2.06, allocations: 0 / 1.008 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=117): time 0.008239/2.068, allocations: 3.42 MB / 1.011 GB, free: 254.5 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/2.069, allocations: 65.83 kB / 1.011 GB, free: 254.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003096/2.069, allocations: 304.4 kB / 1.012 GB, free: 254.1 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.798e-05/2.069, allocations: 37.7 kB / 1.012 GB, free: 254.1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001119/2.069, allocations: 233 kB / 1.012 GB, free: 253.8 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001499/2.069, allocations: 381.2 kB / 1.012 GB, free: 253.5 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001496/2.069, allocations: 136.3 kB / 1.013 GB, free: 253.3 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.785e-05/2.069, allocations: 370.8 kB / 1.013 GB, free: 253 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005841/2.07, allocations: 396.8 kB / 1.013 GB, free: 252.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006377/2.071, allocations: 0.5375 MB / 1.014 GB, free: 252 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001267/2.072, allocations: 0.9757 MB / 1.015 GB, free: 251 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/2.072, allocations: 7.938 kB / 1.015 GB, free: 251 MB / 0.6355 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001762/2.074, allocations: 1.125 MB / 1.016 GB, free: 249.8 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/2.074, allocations: 10.34 kB / 1.016 GB, free: 249.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.152e-05/2.074, allocations: 4 kB / 1.016 GB, free: 249.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003619/2.074, allocations: 103.9 kB / 1.016 GB, free: 249.7 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009278/2.075, allocations: 206.2 kB / 1.016 GB, free: 249.5 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1758/2.251, allocations: 46.38 MB / 1.061 GB, free: 201.2 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006586/2.252, allocations: 71.8 kB / 1.062 GB, free: 201.2 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.337e-05/2.252, allocations: 30.42 kB / 1.062 GB, free: 201.1 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 12 (volume1.medium.sat.vap.phase,volume1.medium.sat.liq.phase,volume1.medium.state.phase,ambient.medium.sat.vap.phase,ambient.medium.sat.liq.phase,ambient.medium.state.phase,fixedMassFlowRate.medium.sat.vap.phase,fixedMassFlowRate.medium.sat.liq.phase,fixedMassFlowRate.medium.state.phase,volume.medium.sat.vap.phase,volume.medium.sat.liq.phase,volume.medium.state.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 4 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 4 systems {1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003491/2.252, allocations: 222.2 kB / 1.062 GB, free: 200.9 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001143/2.252, allocations: 59.28 kB / 1.062 GB, free: 200.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00244/2.255, allocations: 2.394 MB / 1.064 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.17e-05/2.255, allocations: 19.42 kB / 1.064 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/2.255, allocations: 0 / 1.064 GB, free: 198.4 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00177/2.256, allocations: 1.65 MB / 1.066 GB, free: 196.6 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002699/2.259, allocations: 2.457 MB / 1.068 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.17e-06/2.259, allocations: 0 / 1.068 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004616/2.26, allocations: 119.9 kB / 1.068 GB, free: 194 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000497/2.26, allocations: 215.1 kB / 1.069 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.542e-05/2.26, allocations: 15.98 kB / 1.069 GB, free: 193.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001711/2.262, allocations: 3.778 MB / 1.072 GB, free: 189.7 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/2.262, allocations: 0 / 1.072 GB, free: 189.7 MB / 0.6355 GB Error: Found equation without time-dependent variables: $cse17.T.$pDERA.dummyVarA = 0.0 Error: Internal error IndexReduction.pantelidesIndexReduction failed! System is structurally singular and cannot be handled because the number of unassigned equations is larger than the number of states. Use -d=bltdump to get more information. Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2314:10-2314:88:writable] Error: Internal error function optimizeJacobianMatrix failed [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/Compiler/BackEnd/SymbolicJacobian.mo:2231:9-2231:79:writable] Error: Internal error function createJacobian failed Error: post-optimization module symbolicJacobian (simulation) failed.