Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph.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.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") translateModel(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001268/0.001268, allocations: 183.2 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.05097/0.05097, allocations: 9.095 MB / 25.83 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.576/1.576, 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.001311/0.001312, allocations: 99.66 kB / 282.1 MB, free: 15.1 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001636/0.001636, allocations: 52.14 kB / 341.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2694/0.2711, allocations: 48.16 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.ButaneTestModel_ph): time 0.421/0.6921, allocations: 144.1 MB / 0.5209 GB, free: 1.484 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.08919/0.7814, allocations: 99.26 MB / 0.6178 GB, free: 15.7 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007421/0.7822, allocations: 11.94 kB / 0.6178 GB, free: 15.69 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003419/0.7856, allocations: 1.171 MB / 0.6189 GB, free: 14.52 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004486/0.7901, allocations: 1.458 MB / 0.6204 GB, free: 13.05 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.08471/0.8749, allocations: 25.12 MB / 0.6449 GB, free: 3.852 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002344/0.8772, allocations: 1.831 MB / 0.6467 GB, free: 2.016 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002645/0.8775, allocations: 97.7 kB / 0.6468 GB, free: 1.922 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01799/0.8955, allocations: 9.371 MB / 0.6559 GB, free: 8.531 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005943/0.8961, allocations: 390.4 kB / 0.6563 GB, free: 8.148 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.477e-05/0.8962, allocations: 24 kB / 0.6563 GB, free: 8.125 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.361/1.257, allocations: 31.46 MB / 0.6871 GB, free: 40.56 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002721/1.258, allocations: 104.4 kB / 0.6872 GB, free: 40.56 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006172/1.258, allocations: 283.4 kB / 0.6874 GB, free: 40.56 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0533/1.312, allocations: 13.73 MB / 0.7008 GB, free: 40.45 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.498e-06/1.312, allocations: 0 / 0.7008 GB, free: 40.45 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.783e-06/1.312, allocations: 4.938 kB / 0.7008 GB, free: 40.45 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.778e-06/1.312, allocations: 0 / 0.7008 GB, free: 40.45 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.01194/1.324, allocations: 2.573 MB / 0.7033 GB, free: 39.05 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/1.324, allocations: 9.938 kB / 0.7034 GB, free: 39.05 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007052/1.324, allocations: 86.25 kB / 0.7034 GB, free: 39.03 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004937/1.325, allocations: 336.8 kB / 0.7038 GB, free: 38.8 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.42e-05/1.325, allocations: 28.75 kB / 0.7038 GB, free: 38.8 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.622e-05/1.325, allocations: 32.16 kB / 0.7038 GB, free: 38.8 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00122/1.326, allocations: 0.6024 MB / 0.7044 GB, free: 38.71 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.867e-05/1.326, allocations: 8.312 kB / 0.7044 GB, free: 38.71 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.564e-05/1.326, allocations: 12.75 kB / 0.7044 GB, free: 38.71 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/1.326, allocations: 17.77 kB / 0.7044 GB, free: 38.71 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001156/1.327, allocations: 0.549 MB / 0.705 GB, free: 38.71 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002101/1.33, allocations: 2.504 MB / 0.7074 GB, free: 37.04 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001006/1.331, allocations: 0.4929 MB / 0.7079 GB, free: 37.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000493/1.331, allocations: 335 kB / 0.7082 GB, free: 37 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.25/1.581, allocations: 139 MB / 0.844 GB, free: 14.38 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.742e-05/1.581, allocations: 34.78 kB / 0.844 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=78): time 4.689e-06/1.581, allocations: 0 / 0.844 GB, free: 14.34 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82): time 0.006631/1.588, allocations: 2.328 MB / 0.8463 GB, free: 12.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.92e-05/1.588, allocations: 61.41 kB / 0.8463 GB, free: 12.46 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003155/1.588, allocations: 262 kB / 0.8466 GB, free: 12.24 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 5.315e-05/1.588, allocations: 37.44 kB / 0.8466 GB, free: 12.21 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000147/1.589, allocations: 188.7 kB / 0.8468 GB, free: 12.05 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002296/1.589, allocations: 254 kB / 0.847 GB, free: 11.84 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001875/1.589, allocations: 99.27 kB / 0.8471 GB, free: 11.77 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001875/1.589, allocations: 358.7 kB / 0.8475 GB, free: 11.43 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005336/1.59, allocations: 270.1 kB / 0.8477 GB, free: 11.27 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006087/1.59, allocations: 414.5 kB / 0.8481 GB, free: 10.93 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001157/1.591, allocations: 0.7088 MB / 0.8488 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.569e-06/1.592, allocations: 1.312 kB / 0.8488 GB, free: 10.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001598/1.593, allocations: 0.7953 MB / 0.8496 GB, free: 9.902 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.657e-05/1.593, allocations: 8 kB / 0.8496 GB, free: 9.895 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.51e-05/1.593, allocations: 6.375 kB / 0.8496 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002715/1.593, allocations: 62.23 kB / 0.8497 GB, free: 9.836 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006597/1.594, allocations: 134 kB / 0.8498 GB, free: 9.723 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1001/1.694, allocations: 24.56 MB / 0.8738 GB, free: 1.027 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006979/1.695, allocations: 37.59 kB / 0.8738 GB, free: 0.9961 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.127e-05/1.695, allocations: 23.73 kB / 0.8738 GB, free: 0.9766 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.0003842/1.695, allocations: 189.6 kB / 0.874 GB, free: 0.8281 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/1.696, allocations: 47.38 kB / 0.8741 GB, free: 0.7812 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002293/1.698, allocations: 1.574 MB / 0.8756 GB, free: 15.68 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.21e-05/1.698, allocations: 13.55 kB / 0.8756 GB, free: 15.67 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.089e-06/1.698, allocations: 4 kB / 0.8756 GB, free: 15.66 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001533/1.7, allocations: 1.184 MB / 0.8768 GB, free: 14.68 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002558/1.702, allocations: 1.631 MB / 0.8784 GB, free: 13.51 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-06/1.702, allocations: 0 / 0.8784 GB, free: 13.51 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/1.702, allocations: 78.31 kB / 0.8784 GB, free: 13.44 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003049/1.703, allocations: 114.3 kB / 0.8786 GB, free: 13.34 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.329e-05/1.703, allocations: 9.938 kB / 0.8786 GB, free: 13.34 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001442/1.704, allocations: 1.898 MB / 0.8804 GB, free: 11.39 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/1.704, allocations: 3.938 kB / 0.8804 GB, free: 11.39 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.