Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel.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.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001833/0.001833, 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.07023/0.07023, allocations: 9.086 MB / 25.82 MB, free: 3.398 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.465/1.465, allocations: 205.1 MB / 233.2 MB, free: 14.19 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.0009858/0.0009861, allocations: 92.28 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001167/0.001168, allocations: 48.14 kB / 341.1 MB, free: 4.094 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2464/0.2476, allocations: 48.16 MB / 389.2 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.HeliumTestModel): time 0.3634/0.611, allocations: 129.9 MB / 0.5069 GB, free: 1.504 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.09407/0.7051, allocations: 111.8 MB / 0.6161 GB, free: 1.496 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005369/0.7057, allocations: 11.94 kB / 0.6162 GB, free: 1.484 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002747/0.7085, allocations: 1.116 MB / 0.6172 GB, free: 372 kB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003221/0.7117, allocations: 1.388 MB / 0.6186 GB, free: 14.97 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0646/0.7763, allocations: 24.51 MB / 0.6425 GB, free: 6.379 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001976/0.7783, allocations: 1.764 MB / 0.6443 GB, free: 4.609 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002252/0.7786, allocations: 97.7 kB / 0.6444 GB, free: 4.516 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01499/0.7936, allocations: 8.175 MB / 0.6523 GB, free: 12.32 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004767/0.7941, allocations: 374.4 kB / 0.6527 GB, free: 11.95 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.145e-05/0.7941, allocations: 24 kB / 0.6527 GB, free: 11.93 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.2999/1.094, allocations: 29.99 MB / 0.682 GB, free: 41.04 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000251/1.094, allocations: 98.91 kB / 0.6821 GB, free: 41.04 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005448/1.095, allocations: 283.2 kB / 0.6824 GB, free: 41.04 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.05836/1.153, allocations: 13.7 MB / 0.6957 GB, free: 40.94 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.917e-06/1.153, allocations: 0 / 0.6957 GB, free: 40.94 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.833e-06/1.153, allocations: 0 / 0.6957 GB, free: 40.94 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.092e-05/1.153, allocations: 3.219 kB / 0.6957 GB, free: 40.94 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.009344/1.163, allocations: 2.568 MB / 0.6983 GB, free: 39.57 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/1.163, allocations: 11.5 kB / 0.6983 GB, free: 39.57 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009999/1.164, allocations: 87.28 kB / 0.6983 GB, free: 39.55 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000528/1.164, allocations: 335 kB / 0.6987 GB, free: 39.32 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.767e-05/1.164, allocations: 30.56 kB / 0.6987 GB, free: 39.32 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.067e-05/1.164, allocations: 32.66 kB / 0.6987 GB, free: 39.32 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001863/1.166, allocations: 0.5979 MB / 0.6993 GB, free: 39.23 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.793e-05/1.166, allocations: 6.984 kB / 0.6993 GB, free: 39.23 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.071e-05/1.166, allocations: 21.31 kB / 0.6993 GB, free: 39.23 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.717e-05/1.167, allocations: 14.12 kB / 0.6994 GB, free: 39.23 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001988/1.169, allocations: 0.5545 MB / 0.6999 GB, free: 39.23 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003191/1.172, allocations: 2.499 MB / 0.7023 GB, free: 37.56 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001658/1.173, allocations: 0.493 MB / 0.7028 GB, free: 37.54 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007403/1.174, allocations: 335.8 kB / 0.7031 GB, free: 37.52 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2663/1.441, allocations: 139 MB / 0.8389 GB, free: 18.61 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.211e-05/1.441, allocations: 39.59 kB / 0.8389 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=78): time 3.978e-06/1.441, allocations: 0 / 0.8389 GB, free: 18.57 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82): time 0.005674/1.446, allocations: 2.333 MB / 0.8412 GB, free: 16.76 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.765e-05/1.446, allocations: 56.34 kB / 0.8412 GB, free: 16.69 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/1.447, allocations: 260 kB / 0.8415 GB, free: 16.47 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.154e-05/1.447, allocations: 33.77 kB / 0.8415 GB, free: 16.44 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001026/1.447, allocations: 189.7 kB / 0.8417 GB, free: 16.28 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/1.447, allocations: 262.7 kB / 0.842 GB, free: 16.06 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001571/1.447, allocations: 102.7 kB / 0.8421 GB, free: 15.99 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001233/1.447, allocations: 352.5 kB / 0.8424 GB, free: 15.65 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004462/1.448, allocations: 272 kB / 0.8426 GB, free: 15.5 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004921/1.448, allocations: 406.3 kB / 0.843 GB, free: 15.17 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000965/1.449, allocations: 0.7082 MB / 0.8437 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.364e-06/1.449, allocations: 0 / 0.8437 GB, free: 14.68 MB / 0.5886 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001312/1.45, allocations: 0.8022 MB / 0.8445 GB, free: 14.14 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.861e-05/1.45, allocations: 8 kB / 0.8445 GB, free: 14.13 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.183e-05/1.451, allocations: 6.375 kB / 0.8445 GB, free: 14.12 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002276/1.451, allocations: 60.3 kB / 0.8446 GB, free: 14.07 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005879/1.451, allocations: 128.1 kB / 0.8447 GB, free: 13.96 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09998/1.551, allocations: 25.35 MB / 0.8695 GB, free: 4.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005403/1.552, allocations: 49.09 kB / 0.8695 GB, free: 4.441 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.721e-05/1.552, allocations: 19.42 kB / 0.8695 GB, free: 4.426 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * 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): 2 systems {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.000295/1.552, allocations: 185.3 kB / 0.8697 GB, free: 4.281 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.52e-05/1.552, allocations: 47.38 kB / 0.8697 GB, free: 4.234 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00195/1.554, allocations: 1.582 MB / 0.8713 GB, free: 3.125 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.618e-05/1.554, allocations: 7.359 kB / 0.8713 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.137e-06/1.554, allocations: 0 / 0.8713 GB, free: 3.121 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001471/1.556, allocations: 1.187 MB / 0.8725 GB, free: 2.133 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002295/1.558, allocations: 1.635 MB / 0.8741 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.639e-06/1.558, allocations: 0 / 0.8741 GB, free: 0.9609 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003432/1.559, allocations: 78.34 kB / 0.8741 GB, free: 0.8906 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/1.559, allocations: 109.2 kB / 0.8742 GB, free: 0.7969 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/1.559, allocations: 11.31 kB / 0.8742 GB, free: 0.793 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001328/1.56, allocations: 1.894 MB / 0.8761 GB, free: 14.85 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.276e-06/1.56, allocations: 3.938 kB / 0.8761 GB, free: 14.85 MB / 0.6199 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.