Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2.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.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") translateModel(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00244/0.00244, allocations: 182.1 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.07714/0.07714, 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.44/1.44, 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.001005/0.001005, allocations: 95.53 kB / 282.1 MB, free: 15.12 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 51.92 kB / 341.1 MB, free: 4.109 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2215/0.2226, allocations: 48.16 MB / 389.2 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.EthanolTestModel2): time 0.4358/0.6584, allocations: 198.8 MB / 0.5742 GB, free: 11.8 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.4145/1.073, allocations: 143.9 MB / 0.7148 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009007/1.074, allocations: 8.562 kB / 0.7148 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002913/1.077, allocations: 1.152 MB / 0.7159 GB, free: 0.8828 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.003086/1.08, allocations: 1.411 MB / 0.7173 GB, free: 0.8789 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.08964/1.17, allocations: 32.7 MB / 0.7492 GB, free: 13.44 MB / 0.4949 GB Notification: Performance of NFFlatten.flatten: time 0.002855/1.173, allocations: 2.568 MB / 0.7517 GB, free: 12.61 MB / 0.4949 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002922/1.173, allocations: 163.9 kB / 0.7519 GB, free: 12.54 MB / 0.4949 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001294/1.174, allocations: 0.7254 MB / 0.7526 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005897/1.175, allocations: 0.5404 MB / 0.7531 GB, free: 12.07 MB / 0.4949 GB Notification: Performance of NFPackage.collectConstants: time 6.977e-05/1.175, allocations: 31.94 kB / 0.7531 GB, free: 12.07 MB / 0.4949 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0732/1.248, allocations: 39.37 MB / 0.7916 GB, free: 2.008 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003357/1.248, allocations: 136.5 kB / 0.7917 GB, free: 1.879 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008005/1.249, allocations: 401.7 kB / 0.7921 GB, free: 1.488 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0634/1.313, allocations: 18.25 MB / 0.8099 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 7.273e-06/1.313, allocations: 0 / 0.8099 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.144e-06/1.313, allocations: 0 / 0.8099 GB, free: 0.6953 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.539e-05/1.313, allocations: 0 / 0.8099 GB, free: 0.6953 MB / 0.5261 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.008637/1.321, allocations: 3.35 MB / 0.8132 GB, free: 13.3 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.183e-05/1.321, allocations: 12.03 kB / 0.8132 GB, free: 13.29 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007823/1.322, allocations: 123.1 kB / 0.8133 GB, free: 13.17 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000547/1.323, allocations: 407.3 kB / 0.8137 GB, free: 12.74 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.36e-05/1.323, allocations: 37 kB / 0.8137 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.34e-05/1.323, allocations: 48 kB / 0.8138 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/1.325, allocations: 0.8189 MB / 0.8146 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.866e-05/1.325, allocations: 0 / 0.8146 GB, free: 11.81 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.378e-05/1.325, allocations: 27.98 kB / 0.8146 GB, free: 11.78 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.465e-05/1.325, allocations: 19.59 kB / 0.8146 GB, free: 11.77 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001804/1.326, allocations: 0.7542 MB / 0.8154 GB, free: 11.02 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003403/1.33, allocations: 3.42 MB / 0.8187 GB, free: 7.309 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001451/1.331, allocations: 0.6866 MB / 0.8194 GB, free: 6.609 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007445/1.332, allocations: 483 kB / 0.8198 GB, free: 6.137 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.475/1.807, allocations: 185.3 MB / 1.001 GB, free: 262.4 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/1.807, allocations: 41.72 kB / 1.001 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=109): time 2.545e-06/1.807, allocations: 0 / 1.001 GB, free: 262.3 MB / 0.6355 GB Notification: Performance of matching and sorting (n=117): time 0.008253/1.815, allocations: 3.413 MB / 1.004 GB, free: 259 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/1.816, allocations: 61.91 kB / 1.004 GB, free: 258.9 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002917/1.816, allocations: 304.4 kB / 1.005 GB, free: 258.6 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.858e-05/1.816, allocations: 37.7 kB / 1.005 GB, free: 258.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/1.816, allocations: 233 kB / 1.005 GB, free: 258.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001603/1.816, allocations: 389.8 kB / 1.005 GB, free: 257.9 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000153/1.816, allocations: 138.3 kB / 1.005 GB, free: 257.8 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.651e-05/1.816, allocations: 368.1 kB / 1.006 GB, free: 257.4 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000597/1.817, allocations: 396.3 kB / 1.006 GB, free: 257 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006508/1.818, allocations: 0.5336 MB / 1.007 GB, free: 256.5 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001334/1.819, allocations: 0.9756 MB / 1.007 GB, free: 255.4 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.197e-06/1.819, allocations: 7.938 kB / 1.008 GB, free: 255.4 MB / 0.6355 GB Notification: Performance of matching and sorting (n=136) (initialization): time 0.001802/1.821, allocations: 1.125 MB / 1.009 GB, free: 254.3 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/1.821, allocations: 11.98 kB / 1.009 GB, free: 254.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/1.821, allocations: 4 kB / 1.009 GB, free: 254.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003669/1.821, allocations: 108.9 kB / 1.009 GB, free: 254.2 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009723/1.822, allocations: 203.7 kB / 1.009 GB, free: 254 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1818/2.004, allocations: 46.41 MB / 1.054 GB, free: 205.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/2.005, allocations: 71.75 kB / 1.054 GB, free: 205.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.275e-05/2.005, allocations: 24 kB / 1.054 GB, free: 205.6 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.0003414/2.005, allocations: 219 kB / 1.055 GB, free: 205.4 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/2.005, allocations: 63.28 kB / 1.055 GB, free: 205.3 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002497/2.008, allocations: 2.39 MB / 1.057 GB, free: 202.8 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-05/2.008, allocations: 19.19 kB / 1.057 GB, free: 202.8 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.828e-06/2.008, allocations: 0 / 1.057 GB, free: 202.8 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001742/2.01, allocations: 1.646 MB / 1.059 GB, free: 201.1 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00282/2.012, allocations: 2.467 MB / 1.061 GB, free: 198.6 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/2.013, allocations: 0 / 1.061 GB, free: 198.6 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004649/2.013, allocations: 119.8 kB / 1.061 GB, free: 198.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004694/2.013, allocations: 211.2 kB / 1.061 GB, free: 198.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.419e-05/2.013, allocations: 12 kB / 1.061 GB, free: 198.2 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001705/2.015, allocations: 3.792 MB / 1.065 GB, free: 194.1 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/2.015, allocations: 0 / 1.065 GB, free: 194.1 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.