Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel.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.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") translateModel(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="HelmholtzMedia_HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001222/0.001222, allocations: 182.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.04838/0.04838, allocations: 9.09 MB / 25.82 MB, free: 3.426 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.316/1.316, 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.0009961/0.0009963, allocations: 95.55 kB / 282.1 MB, free: 15.11 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001184/0.001184, allocations: 59.89 kB / 341.1 MB, free: 4.09 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2279, allocations: 48.16 MB / 389.2 MB, free: 38.55 MB / 298.7 MB Notification: Performance of NFInst.instantiate(HelmholtzMedia.Examples.MediaTestModels.PropaneTestModel): time 0.403/0.6309, allocations: 130.6 MB / 0.5076 GB, free: 1.562 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.108/0.7389, allocations: 112.8 MB / 0.6178 GB, free: 15.65 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008041/0.7398, allocations: 7.938 kB / 0.6178 GB, free: 15.64 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.00365/0.7435, allocations: 1.171 MB / 0.6189 GB, free: 14.47 MB / 442.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004411/0.748, allocations: 1.458 MB / 0.6204 GB, free: 13 MB / 442.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.08302/0.831, allocations: 25.08 MB / 0.6449 GB, free: 3.84 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.002037/0.8331, allocations: 1.823 MB / 0.6466 GB, free: 2.012 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000229/0.8333, allocations: 101.7 kB / 0.6467 GB, free: 1.914 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.01876/0.8521, allocations: 9.232 MB / 0.6558 GB, free: 8.66 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005088/0.8526, allocations: 386.4 kB / 0.6561 GB, free: 8.281 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 5.106e-05/0.8527, allocations: 20 kB / 0.6561 GB, free: 8.262 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.3691/1.222, allocations: 31.36 MB / 0.6868 GB, free: 40.76 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0003019/1.222, allocations: 103.2 kB / 0.6869 GB, free: 40.76 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0006997/1.223, allocations: 286.1 kB / 0.6871 GB, free: 40.76 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0526/1.275, allocations: 13.67 MB / 0.7005 GB, free: 40.64 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 7.544e-06/1.276, allocations: 1.906 kB / 0.7005 GB, free: 40.64 MB / 490.7 MB Notification: Performance of FrontEnd: time 2.194e-06/1.276, allocations: 0 / 0.7005 GB, free: 40.64 MB / 490.7 MB Notification: Performance of Transformations before backend: time 9.598e-06/1.276, allocations: 1.656 kB / 0.7005 GB, free: 40.64 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.008897/1.284, allocations: 2.565 MB / 0.703 GB, free: 39.25 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.284, allocations: 13.84 kB / 0.703 GB, free: 39.25 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006381/1.285, allocations: 85.06 kB / 0.7031 GB, free: 39.22 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004375/1.286, allocations: 330.9 kB / 0.7034 GB, free: 38.99 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.9e-05/1.286, allocations: 28.47 kB / 0.7034 GB, free: 38.99 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.611e-05/1.286, allocations: 32.25 kB / 0.7035 GB, free: 38.99 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001215/1.287, allocations: 0.6047 MB / 0.704 GB, free: 38.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.133e-05/1.287, allocations: 6.781 kB / 0.7041 GB, free: 38.9 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.76e-05/1.287, allocations: 16.8 kB / 0.7041 GB, free: 38.9 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.066e-05/1.287, allocations: 18.78 kB / 0.7041 GB, free: 38.9 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001207/1.288, allocations: 0.5444 MB / 0.7046 GB, free: 38.9 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002222/1.29, allocations: 2.507 MB / 0.7071 GB, free: 37.23 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009738/1.291, allocations: 0.49 MB / 0.7075 GB, free: 37.21 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004986/1.292, allocations: 333.4 kB / 0.7079 GB, free: 37.19 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.2431/1.535, allocations: 139 MB / 0.8436 GB, free: 14.36 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.486e-05/1.535, allocations: 34.59 kB / 0.8436 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=78): time 3.366e-06/1.535, allocations: 0 / 0.8436 GB, free: 14.32 MB / 0.5886 GB Notification: Performance of matching and sorting (n=82): time 0.005665/1.541, allocations: 2.344 MB / 0.8459 GB, free: 12.51 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.53e-05/1.541, allocations: 55.41 kB / 0.846 GB, free: 12.44 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00026/1.541, allocations: 264 kB / 0.8462 GB, free: 12.22 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.265e-05/1.541, allocations: 33.14 kB / 0.8463 GB, free: 12.18 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001144/1.541, allocations: 189.4 kB / 0.8464 GB, free: 12.03 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001186/1.541, allocations: 255.7 kB / 0.8467 GB, free: 11.81 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001201/1.542, allocations: 104.5 kB / 0.8468 GB, free: 11.74 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 0.0001526/1.542, allocations: 354.6 kB / 0.8471 GB, free: 11.4 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004764/1.542, allocations: 271.2 kB / 0.8474 GB, free: 11.25 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004975/1.543, allocations: 383.1 kB / 0.8477 GB, free: 10.95 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009777/1.544, allocations: 0.6849 MB / 0.8484 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/1.544, allocations: 0 / 0.8484 GB, free: 10.49 MB / 0.5886 GB Notification: Performance of matching and sorting (n=95) (initialization): time 0.00132/1.545, allocations: 0.7803 MB / 0.8492 GB, free: 9.961 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 2.093e-05/1.545, allocations: 13.44 kB / 0.8492 GB, free: 9.953 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.986e-05/1.545, allocations: 8.328 kB / 0.8492 GB, free: 9.945 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002544/1.545, allocations: 64.31 kB / 0.8493 GB, free: 9.891 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005991/1.546, allocations: 119.8 kB / 0.8494 GB, free: 9.781 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.09764/1.644, allocations: 24.89 MB / 0.8737 GB, free: 0.7617 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006238/1.644, allocations: 56.55 kB / 0.8737 GB, free: 0.7148 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.56e-05/1.644, allocations: 19.52 kB / 0.8738 GB, free: 0.6992 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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.0003095/1.645, allocations: 182.8 kB / 0.8739 GB, free: 0.5547 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.996e-05/1.645, allocations: 43.47 kB / 0.874 GB, free: 0.5117 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002214/1.647, allocations: 1.678 MB / 0.8756 GB, free: 15.34 MB / 0.6199 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.876e-05/1.647, allocations: 11.92 kB / 0.8756 GB, free: 15.34 MB / 0.6199 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.647, allocations: 4 kB / 0.8756 GB, free: 15.33 MB / 0.6199 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001544/1.649, allocations: 1.25 MB / 0.8768 GB, free: 14.3 MB / 0.6199 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002458/1.651, allocations: 1.706 MB / 0.8785 GB, free: 13.1 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/1.651, allocations: 0 / 0.8785 GB, free: 13.1 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003633/1.651, allocations: 81.28 kB / 0.8786 GB, free: 13.03 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003515/1.652, allocations: 109.4 kB / 0.8787 GB, free: 12.93 MB / 0.6199 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.742e-05/1.652, allocations: 15.75 kB / 0.8787 GB, free: 12.93 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001822/1.654, allocations: 1.886 MB / 0.8805 GB, free: 10.99 MB / 0.6199 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/1.654, allocations: 12 kB / 0.8806 GB, free: 10.98 MB / 0.6199 GB Error: Found equation without time-dependent variables: $cse7.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.