Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel.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.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001399/0.001399, allocations: 183.1 kB / 15.98 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/HelmholtzMedia master/package.mo): time 0.04702/0.04702, allocations: 9.086 MB / 25.82 MB, free: 3.418 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.468/1.468, 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.001043/0.001043, allocations: 103.6 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001101/0.001101, allocations: 51.92 kB / 341.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2523/0.2535, allocations: 48.17 MB / 389.2 MB, free: 38.54 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.CarbondioxideTestModel): time 0.4374/0.6909, allocations: 130.6 MB / 0.5077 GB, free: 1.57 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.1062/0.7972, allocations: 112.8 MB / 0.6179 GB, free: 15.58 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007243/0.798, allocations: 4 kB / 0.6179 GB, free: 15.58 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.003178/0.8012, allocations: 1.175 MB / 0.619 GB, free: 14.4 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004808/0.8061, allocations: 1.466 MB / 0.6205 GB, free: 12.93 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.08608/0.8922, allocations: 25.7 MB / 0.6456 GB, free: 3.141 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002303/0.8945, allocations: 1.831 MB / 0.6473 GB, free: 1.305 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000291/0.8948, allocations: 105.7 kB / 0.6474 GB, free: 1.203 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.02302/0.9178, allocations: 11.43 MB / 0.6586 GB, free: 5.746 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007718/0.9187, allocations: 390.4 kB / 0.659 GB, free: 5.363 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001154/0.9188, allocations: 24 kB / 0.659 GB, free: 5.34 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.332/1.251, allocations: 33.01 MB / 0.6912 GB, free: 41.42 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002565/1.251, allocations: 101.8 kB / 0.6913 GB, free: 41.42 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0007387/1.252, allocations: 280.4 kB / 0.6916 GB, free: 41.42 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.04753/1.299, allocations: 14.08 MB / 0.7054 GB, free: 41.28 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.612e-06/1.299, allocations: 0 / 0.7054 GB, free: 41.28 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.673e-06/1.299, allocations: 0 / 0.7054 GB, free: 41.28 MB / 490.7 MB Notification: Performance of Transformations before backend: time 8.937e-06/1.299, allocations: 0 / 0.7054 GB, free: 41.28 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.007089/1.307, allocations: 2.574 MB / 0.7079 GB, free: 39.89 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/1.307, allocations: 7.062 kB / 0.7079 GB, free: 39.89 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006141/1.307, allocations: 86.86 kB / 0.708 GB, free: 39.86 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004135/1.308, allocations: 337.1 kB / 0.7083 GB, free: 39.63 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.457e-05/1.308, allocations: 28.03 kB / 0.7083 GB, free: 39.63 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.407e-05/1.308, allocations: 33.12 kB / 0.7083 GB, free: 39.63 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001175/1.309, allocations: 0.6029 MB / 0.7089 GB, free: 39.54 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.839e-05/1.309, allocations: 3.906 kB / 0.7089 GB, free: 39.54 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.782e-05/1.309, allocations: 14.66 kB / 0.7089 GB, free: 39.54 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.989e-05/1.309, allocations: 16.14 kB / 0.709 GB, free: 39.54 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001198/1.31, allocations: 0.5532 MB / 0.7095 GB, free: 39.54 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002155/1.312, allocations: 2.464 MB / 0.7119 GB, free: 37.93 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009515/1.313, allocations: 489.5 kB / 0.7124 GB, free: 37.91 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004872/1.314, allocations: 338.8 kB / 0.7127 GB, free: 37.89 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2453/1.559, allocations: 139 MB / 0.8484 GB, free: 11.01 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.288e-05/1.559, allocations: 37.53 kB / 0.8485 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=77): time 4.148e-06/1.559, allocations: 0 / 0.8485 GB, free: 10.97 MB / 0.5886 GB Notification: Performance of matching and sorting (n=81): time 0.006005/1.565, allocations: 2.342 MB / 0.8508 GB, free: 9.168 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.52e-05/1.565, allocations: 55.41 kB / 0.8508 GB, free: 9.102 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002794/1.566, allocations: 256.9 kB / 0.8511 GB, free: 8.883 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.382e-05/1.566, allocations: 32.27 kB / 0.8511 GB, free: 8.852 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.000124/1.566, allocations: 192.8 kB / 0.8513 GB, free: 8.691 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001767/1.566, allocations: 269.3 kB / 0.8515 GB, free: 8.465 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/1.566, allocations: 96.92 kB / 0.8516 GB, free: 8.398 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001281/1.566, allocations: 352.5 kB / 0.852 GB, free: 8.062 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/1.567, allocations: 279.2 kB / 0.8522 GB, free: 7.902 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005525/1.567, allocations: 396.6 kB / 0.8526 GB, free: 7.594 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001061/1.568, allocations: 0.696 MB / 0.8533 GB, free: 7.125 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/1.569, allocations: 4 kB / 0.8533 GB, free: 7.121 MB / 0.5886 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.001439/1.57, allocations: 0.7957 MB / 0.8541 GB, free: 6.578 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.57, allocations: 8.875 kB / 0.8541 GB, free: 6.57 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.57, allocations: 4 kB / 0.8541 GB, free: 6.566 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002554/1.57, allocations: 57 kB / 0.8541 GB, free: 6.516 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007229/1.571, allocations: 147.2 kB / 0.8543 GB, free: 6.387 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3079/1.879, allocations: 28.43 MB / 0.882 GB, free: 324.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005088/1.879, allocations: 54.67 kB / 0.8821 GB, free: 324.4 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-05/1.88, allocations: 15.47 kB / 0.8821 GB, free: 324.4 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.000274/1.88, allocations: 183.2 kB / 0.8823 GB, free: 324.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.483e-05/1.88, allocations: 49.7 kB / 0.8823 GB, free: 324.3 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00196/1.882, allocations: 1.713 MB / 0.884 GB, free: 324.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.882, allocations: 15.14 kB / 0.884 GB, free: 324.1 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.595e-06/1.882, allocations: 0 / 0.884 GB, free: 324.1 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001296/1.883, allocations: 1.303 MB / 0.8853 GB, free: 323.4 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002202/1.885, allocations: 1.747 MB / 0.887 GB, free: 322.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/1.885, allocations: 0 / 0.887 GB, free: 322.5 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000305/1.886, allocations: 71.44 kB / 0.8871 GB, free: 322.5 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003498/1.886, allocations: 172.6 kB / 0.8872 GB, free: 322.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.62e-05/1.886, allocations: 20.25 kB / 0.8872 GB, free: 322.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001157/1.887, allocations: 2.462 MB / 0.8896 GB, free: 320 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/1.887, allocations: 3.422 kB / 0.8897 GB, free: 320 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.