Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel.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.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001356/0.001357, allocations: 182.5 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.04644/0.04644, allocations: 9.091 MB / 25.82 MB, free: 3.41 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.395/1.395, allocations: 205.1 MB / 233.2 MB, free: 14.17 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.0009416/0.0009413, allocations: 103.5 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001011/0.001011, allocations: 51.92 kB / 341.1 MB, free: 4.098 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2213/0.2224, allocations: 48.16 MB / 389.2 MB, free: 38.56 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsopentaneTestModel): time 0.3355/0.5579, allocations: 130.3 MB / 0.5074 GB, free: 1.508 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.09637/0.6543, allocations: 112.8 MB / 0.6175 GB, free: 15.99 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000638/0.655, allocations: 4 kB / 0.6175 GB, free: 15.98 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003435/0.6585, allocations: 1.171 MB / 0.6187 GB, free: 14.81 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003686/0.6622, allocations: 1.47 MB / 0.6201 GB, free: 13.34 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.08011/0.7423, allocations: 24.81 MB / 0.6443 GB, free: 4.449 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002311/0.7446, allocations: 1.823 MB / 0.6461 GB, free: 2.621 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002272/0.7449, allocations: 105.7 kB / 0.6462 GB, free: 2.52 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01777/0.7626, allocations: 9.728 MB / 0.6557 GB, free: 8.773 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005535/0.7632, allocations: 390.3 kB / 0.6561 GB, free: 8.391 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.502e-05/0.7633, allocations: 24 kB / 0.6561 GB, free: 8.367 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3494/1.113, allocations: 30.63 MB / 0.686 GB, free: 41.07 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002403/1.113, allocations: 105.5 kB / 0.6861 GB, free: 41.07 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005785/1.114, allocations: 281.4 kB / 0.6864 GB, free: 41.07 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04352/1.157, allocations: 13.51 MB / 0.6996 GB, free: 40.97 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.157, allocations: 3 kB / 0.6996 GB, free: 40.97 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.383e-06/1.157, allocations: 0 / 0.6996 GB, free: 40.97 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.285e-06/1.157, allocations: 2.438 kB / 0.6996 GB, free: 40.97 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: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.007499/1.165, allocations: 2.569 MB / 0.7021 GB, free: 39.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/1.165, allocations: 7.656 kB / 0.7021 GB, free: 39.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006065/1.165, allocations: 85.61 kB / 0.7022 GB, free: 39.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003902/1.166, allocations: 339.1 kB / 0.7025 GB, free: 39.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/1.166, allocations: 31.88 kB / 0.7025 GB, free: 39.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.334e-05/1.166, allocations: 32.12 kB / 0.7026 GB, free: 39.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00116/1.167, allocations: 0.6021 MB / 0.7032 GB, free: 39.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/1.167, allocations: 6 kB / 0.7032 GB, free: 39.22 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.885e-05/1.167, allocations: 14.38 kB / 0.7032 GB, free: 39.22 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.005e-05/1.167, allocations: 24.81 kB / 0.7032 GB, free: 39.22 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001145/1.168, allocations: 0.5453 MB / 0.7037 GB, free: 39.22 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002074/1.17, allocations: 2.459 MB / 0.7061 GB, free: 37.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009374/1.171, allocations: 495.2 kB / 0.7066 GB, free: 37.59 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004863/1.172, allocations: 341.8 kB / 0.7069 GB, free: 37.58 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2361/1.408, allocations: 139 MB / 0.8427 GB, free: 15.53 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.347e-05/1.408, allocations: 38.06 kB / 0.8427 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=77): time 2.765e-06/1.408, allocations: 4 kB / 0.8427 GB, free: 15.48 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.005546/1.414, allocations: 2.352 MB / 0.845 GB, free: 13.67 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.103e-05/1.414, allocations: 55.41 kB / 0.8451 GB, free: 13.6 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002383/1.414, allocations: 255.8 kB / 0.8453 GB, free: 13.39 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.011e-05/1.414, allocations: 32.77 kB / 0.8453 GB, free: 13.35 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/1.414, allocations: 188.8 kB / 0.8455 GB, free: 13.2 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/1.414, allocations: 262.1 kB / 0.8458 GB, free: 12.97 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001204/1.414, allocations: 98.11 kB / 0.8459 GB, free: 12.91 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001225/1.415, allocations: 355 kB / 0.8462 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004477/1.415, allocations: 277 kB / 0.8465 GB, free: 12.41 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000497/1.415, allocations: 388.7 kB / 0.8468 GB, free: 12.11 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000957/1.416, allocations: 0.6986 MB / 0.8475 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.416, allocations: 0 / 0.8475 GB, free: 11.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00128/1.418, allocations: 0.8072 MB / 0.8483 GB, free: 11.09 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/1.418, allocations: 6.5 kB / 0.8483 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/1.418, allocations: 4 kB / 0.8483 GB, free: 11.08 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002665/1.418, allocations: 65.17 kB / 0.8484 GB, free: 11.02 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006787/1.419, allocations: 139.5 kB / 0.8485 GB, free: 10.89 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09494/1.514, allocations: 23.89 MB / 0.8718 GB, free: 2.859 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006303/1.514, allocations: 44.81 kB / 0.8719 GB, free: 2.82 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.796e-05/1.514, allocations: 19.69 kB / 0.8719 GB, free: 2.805 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 9 (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 (48): * Single equations (assignments): 40 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 3 * Torn equation systems: 2 * 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): 3 systems {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): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003114/1.515, allocations: 186.2 kB / 0.8721 GB, free: 2.656 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001073/1.515, allocations: 40.66 kB / 0.8721 GB, free: 2.617 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002114/1.517, allocations: 1.72 MB / 0.8738 GB, free: 1.414 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.849e-05/1.517, allocations: 11.09 kB / 0.8738 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.519e-06/1.517, allocations: 0 / 0.8738 GB, free: 1.41 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001556/1.519, allocations: 1.305 MB / 0.8751 GB, free: 352 kB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3454/1.864, allocations: 1.734 MB / 0.8768 GB, free: 181 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.037e-06/1.864, allocations: 5.938 kB / 0.8768 GB, free: 181 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/1.864, allocations: 72.28 kB / 0.8769 GB, free: 181 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004335/1.865, allocations: 174.2 kB / 0.877 GB, free: 180.9 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.104e-05/1.865, allocations: 10.16 kB / 0.877 GB, free: 180.9 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001333/1.866, allocations: 2.476 MB / 0.8794 GB, free: 178.7 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/1.866, allocations: 2.781 kB / 0.8794 GB, free: 178.7 MB / 0.6042 GB Error: Found equation without time-dependent variables: $cse8.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.