Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel.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.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00139/0.00139, allocations: 183.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.04947/0.04947, allocations: 9.096 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.397/1.397, allocations: 205.1 MB / 233.2 MB, free: 14.16 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.0009871/0.0009868, allocations: 111.6 kB / 282.1 MB, free: 15.09 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 51.92 kB / 341.1 MB, free: 4.078 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2102/0.2113, allocations: 48.16 MB / 389.2 MB, free: 38.53 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.IsobutaneTestModel): time 0.313/0.5243, allocations: 130.6 MB / 0.5076 GB, free: 1.602 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.09367/0.6181, allocations: 112.8 MB / 0.6178 GB, free: 15.65 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005282/0.6186, allocations: 7.938 kB / 0.6178 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.002785/0.6215, allocations: 1.175 MB / 0.6189 GB, free: 14.46 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00318/0.6246, allocations: 1.47 MB / 0.6204 GB, free: 12.99 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.07472/0.6994, allocations: 25.08 MB / 0.6449 GB, free: 3.824 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002187/0.7016, allocations: 1.831 MB / 0.6466 GB, free: 1.988 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002241/0.7018, allocations: 97.7 kB / 0.6467 GB, free: 1.895 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01721/0.719, allocations: 9.363 MB / 0.6559 GB, free: 8.512 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005464/0.7196, allocations: 390.4 kB / 0.6563 GB, free: 8.129 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.894e-05/0.7197, allocations: 24 kB / 0.6563 GB, free: 8.105 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.31/1.03, allocations: 31.44 MB / 0.687 GB, free: 40.72 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000241/1.03, allocations: 100.7 kB / 0.6871 GB, free: 40.72 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005614/1.031, allocations: 281.7 kB / 0.6873 GB, free: 40.72 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04316/1.074, allocations: 13.74 MB / 0.7008 GB, free: 40.62 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.476e-06/1.074, allocations: 3.609 kB / 0.7008 GB, free: 40.62 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/1.074, allocations: 0 / 0.7008 GB, free: 40.62 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.189e-05/1.074, allocations: 0 / 0.7008 GB, free: 40.62 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.00842/1.082, allocations: 2.571 MB / 0.7033 GB, free: 39.22 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.973e-05/1.082, allocations: 9.594 kB / 0.7033 GB, free: 39.22 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006364/1.083, allocations: 82.36 kB / 0.7034 GB, free: 39.2 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003924/1.083, allocations: 340.6 kB / 0.7037 GB, free: 38.97 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.082e-05/1.083, allocations: 30.72 kB / 0.7037 GB, free: 38.97 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.499e-05/1.083, allocations: 33.5 kB / 0.7038 GB, free: 38.97 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001202/1.085, allocations: 0.5975 MB / 0.7043 GB, free: 38.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/1.085, allocations: 6.719 kB / 0.7043 GB, free: 38.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.156e-05/1.085, allocations: 16.41 kB / 0.7044 GB, free: 38.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.894e-05/1.085, allocations: 12.52 kB / 0.7044 GB, free: 38.88 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001187/1.086, allocations: 0.5504 MB / 0.7049 GB, free: 38.88 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002124/1.088, allocations: 2.451 MB / 0.7073 GB, free: 37.28 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00101/1.089, allocations: 499.8 kB / 0.7078 GB, free: 37.25 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005011/1.09, allocations: 337.7 kB / 0.7081 GB, free: 37.23 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2452/1.335, allocations: 139 MB / 0.8438 GB, free: 14.49 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.412e-05/1.335, allocations: 34.31 kB / 0.8439 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=77): time 2.565e-06/1.335, allocations: 0 / 0.8439 GB, free: 14.45 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.005886/1.341, allocations: 2.341 MB / 0.8461 GB, free: 12.64 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.586e-05/1.341, allocations: 55.41 kB / 0.8462 GB, free: 12.57 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/1.341, allocations: 274.3 kB / 0.8465 GB, free: 12.34 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.861e-05/1.341, allocations: 33.7 kB / 0.8465 GB, free: 12.31 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 9.802e-05/1.341, allocations: 185.8 kB / 0.8467 GB, free: 12.16 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001385/1.342, allocations: 260.4 kB / 0.8469 GB, free: 11.94 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001268/1.342, allocations: 99.78 kB / 0.847 GB, free: 11.87 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.000136/1.342, allocations: 350.5 kB / 0.8474 GB, free: 11.54 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004562/1.342, allocations: 275.1 kB / 0.8476 GB, free: 11.38 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004947/1.343, allocations: 395.8 kB / 0.848 GB, free: 11.07 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009464/1.344, allocations: 0.698 MB / 0.8487 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.399e-06/1.344, allocations: 0 / 0.8487 GB, free: 10.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001344/1.345, allocations: 0.8091 MB / 0.8495 GB, free: 10.05 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.895e-05/1.345, allocations: 8 kB / 0.8495 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.341e-05/1.345, allocations: 4 kB / 0.8495 GB, free: 10.04 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002359/1.345, allocations: 64.2 kB / 0.8495 GB, free: 9.98 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006862/1.346, allocations: 140 kB / 0.8497 GB, free: 9.859 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0984/1.444, allocations: 25.14 MB / 0.8742 GB, free: 0.5742 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000545/1.445, allocations: 47.25 kB / 0.8743 GB, free: 0.5352 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/1.445, allocations: 21.23 kB / 0.8743 GB, free: 0.5195 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.0003296/1.445, allocations: 190.7 kB / 0.8745 GB, free: 376 kB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001264/1.446, allocations: 39.53 kB / 0.8745 GB, free: 336 kB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002187/1.448, allocations: 1.715 MB / 0.8762 GB, free: 15.13 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/1.448, allocations: 12.72 kB / 0.8762 GB, free: 15.12 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.697e-06/1.448, allocations: 4 kB / 0.8762 GB, free: 15.12 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001572/1.449, allocations: 1.296 MB / 0.8775 GB, free: 14.06 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002394/1.452, allocations: 1.745 MB / 0.8792 GB, free: 12.83 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-06/1.452, allocations: 0 / 0.8792 GB, free: 12.83 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/1.452, allocations: 77.97 kB / 0.8792 GB, free: 12.76 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003771/1.453, allocations: 174.5 kB / 0.8794 GB, free: 12.62 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.323e-05/1.453, allocations: 11.73 kB / 0.8794 GB, free: 12.61 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001614/1.454, allocations: 2.477 MB / 0.8818 GB, free: 10.09 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.454, allocations: 4.031 kB / 0.8818 GB, free: 10.09 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.