Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_GasValves.conf.json loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo", uses=false) Using package TILMedia with version 1.7.0 ClaRa (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ClaRa with version 1.7.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Running command: translateModel(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_GasValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_GasValves") translateModel(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_GasValves,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_GasValves") Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.7988/0.7988, allocations: 123 MB / 138.2 MB, free: 10.43 MB / 122.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001222/0.001222, allocations: 190.5 kB / 164.5 MB, free: 12.34 MB / 138.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.7 MB / 416.4 MB, free: 15.06 MB / 330.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008775/0.0008776, allocations: 93.23 kB / 493 MB, free: 18.24 MB / 362.8 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/TILMedia 1.7.0-main/package.mo): time 0.08159/0.08159, allocations: 20.49 MB / 0.5762 GB, free: 6.078 MB / 442.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0005366/0.0005366, allocations: 15.59 kB / 0.6679 GB, free: 118.9 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1398/0.1403, allocations: 81.84 MB / 0.7478 GB, free: 38.91 MB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.Test_GasValves): time 0.5085/0.6489, allocations: 231.1 MB / 0.9735 GB, free: 8.445 MB / 0.6043 GB Error: Internal error NFAlgorithm.getInputsOutputs failed. Notification: Performance of NFInst.instExpressions: time 0.1659/0.8149, allocations: 104.7 MB / 1.076 GB, free: 15.21 MB / 0.7137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.04648/0.8614, allocations: 0.7471 MB / 1.076 GB, free: 14.46 MB / 0.7137 GB Notification: Performance of NFTyping.typeComponents: time 0.01985/0.8813, allocations: 7.383 MB / 1.084 GB, free: 7.039 MB / 0.7137 GB Notification: Performance of NFTyping.typeBindings: time 0.4255/1.307, allocations: 9.235 MB / 1.093 GB, free: 27.64 MB / 0.7137 GB Notification: Performance of NFTyping.typeClassSections: time 0.0239/1.331, allocations: 7.917 MB / 1.1 GB, free: 27.59 MB / 0.7137 GB Notification: Performance of NFFlatten.flatten: time 0.06492/1.396, allocations: 47.82 MB / 1.147 GB, free: 27.48 MB / 0.7137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.05034/1.446, allocations: 38.83 MB / 1.185 GB, free: 29.48 MB / 0.7293 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0426/1.489, allocations: 21.43 MB / 1.206 GB, free: 13.74 MB / 0.7293 GB Notification: Performance of NFSimplifyModel.simplify: time 0.04057/1.529, allocations: 25.22 MB / 1.231 GB, free: 11.83 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 0.01827/1.548, allocations: 3.883 MB / 1.234 GB, free: 7.945 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02956/1.577, allocations: 6.866 MB / 1.241 GB, free: 2.09 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 0.04379/1.621, allocations: 28.47 MB / 1.269 GB, free: 13.08 MB / 0.7762 GB Notification: Performance of NFVerifyModel.verify: time 0.06877/1.69, allocations: 30.76 MB / 1.299 GB, free: 9 MB / 0.7918 GB Notification: Performance of NFConvertDAE.convert: time 0.1223/1.812, allocations: 94.68 MB / 1.391 GB, free: 3.348 MB / 0.8699 GB Notification: Performance of FrontEnd - DAE generated: time 8.156e-06/1.812, allocations: 0 / 1.391 GB, free: 3.348 MB / 0.8699 GB Notification: Performance of FrontEnd: time 4.769e-06/1.812, allocations: 0 / 1.391 GB, free: 3.348 MB / 0.8699 GB Notification: Performance of Transformations before backend: time 0.003294/1.816, allocations: 3.938 kB / 1.391 GB, free: 3.344 MB / 0.8699 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5486 * Number of variables: 5486 Notification: Performance of Generate backend data structure: time 0.8296/2.645, allocations: 62.86 MB / 1.453 GB, free: 330.4 MB / 0.8856 GB Notification: Performance of prepare preOptimizeDAE: time 5.266e-05/2.645, allocations: 9.625 kB / 1.453 GB, free: 330.4 MB / 0.8856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03706/2.683, allocations: 6.951 MB / 1.46 GB, free: 326.8 MB / 0.8856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.1769/2.859, allocations: 82.67 MB / 1.54 GB, free: 249 MB / 0.8856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001543/2.861, allocations: 1.138 MB / 1.541 GB, free: 247.9 MB / 0.8856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.01049/2.872, allocations: 1.46 MB / 1.543 GB, free: 246.5 MB / 0.8856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.1075/2.979, allocations: 69.34 MB / 1.611 GB, free: 166.7 MB / 0.8856 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006514/2.98, allocations: 23.75 kB / 1.611 GB, free: 166.7 MB / 0.8856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01195/2.992, allocations: 1.218 MB / 1.612 GB, free: 165.5 MB / 0.8856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001384/2.993, allocations: 1.459 MB / 1.613 GB, free: 164 MB / 0.8856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.1059/3.099, allocations: 71.04 MB / 1.683 GB, free: 93.1 MB / 0.8856 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 1.019/4.118, allocations: 151.3 MB / 1.83 GB, free: 254.9 MB / 0.8859 GB Notification: Performance of preOpt comSubExp (simulation): time 0.05055/4.168, allocations: 37.62 MB / 1.867 GB, free: 239.3 MB / 0.8859 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.03287/4.201, allocations: 25.91 MB / 1.892 GB, free: 225.1 MB / 0.8859 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003698/4.205, allocations: 0.739 MB / 1.893 GB, free: 224.8 MB / 0.8859 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002861/4.205, allocations: 268.7 kB / 1.893 GB, free: 224.6 MB / 0.8859 GB Notification: Performance of pre-optimization done (n=2301): time 1.641e-05/4.205, allocations: 0 / 1.893 GB, free: 224.6 MB / 0.8859 GB Notification: Performance of matching and sorting (n=2301): time 0.2531/4.458, allocations: 105.7 MB / 1.997 GB, free: 135 MB / 0.8859 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001997/4.46, allocations: 9.383 MB / 2.006 GB, free: 123.3 MB / 0.8859 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.1409/4.601, allocations: 70.79 MB / 2.075 GB, free: 53.37 MB / 0.8859 GB Notification: Performance of collectPreVariables (initialization): time 0.005823/4.607, allocations: 309.7 kB / 2.075 GB, free: 53.06 MB / 0.8859 GB Notification: Performance of collectInitialEqns (initialization): time 0.03089/4.638, allocations: 24.79 MB / 2.099 GB, free: 30.56 MB / 0.8859 GB Notification: Performance of collectInitialBindings (initialization): time 0.01152/4.65, allocations: 7.46 MB / 2.107 GB, free: 26.05 MB / 0.8859 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.006021/4.656, allocations: 328 kB / 2.107 GB, free: 25.73 MB / 0.8859 GB Notification: Performance of setup shared object (initialization): time 5.093e-05/4.656, allocations: 309.1 kB / 2.107 GB, free: 25.43 MB / 0.8859 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.4452/5.101, allocations: 28.16 MB / 2.135 GB, free: 286.7 MB / 0.8859 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.05547/5.157, allocations: 35.11 MB / 2.169 GB, free: 273.2 MB / 0.8859 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.07892/5.236, allocations: 58.02 MB / 2.226 GB, free: 247.7 MB / 0.8859 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001261/5.236, allocations: 22.03 kB / 2.226 GB, free: 247.7 MB / 0.8859 GB Notification: Performance of matching and sorting (n=3046) (initialization): time 0.1721/5.408, allocations: 79.56 MB / 2.303 GB, free: 180.5 MB / 0.8859 GB Notification: Performance of prepare postOptimizeDAE: time 0.001317/5.409, allocations: 2.652 MB / 2.306 GB, free: 176.8 MB / 0.8859 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0009315/5.41, allocations: 275.8 kB / 2.306 GB, free: 176.5 MB / 0.8859 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.489/5.899, allocations: 76.5 MB / 2.381 GB, free: 100.2 MB / 0.8859 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.04155/5.941, allocations: 4.661 MB / 2.386 GB, free: 95.56 MB / 0.8859 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02123/5.962, allocations: 19.89 MB / 2.405 GB, free: 75.57 MB / 0.8859 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.03576/5.998, allocations: 2.845 MB / 2.408 GB, free: 74.19 MB / 0.8859 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.008053/6.006, allocations: 1.132 MB / 2.409 GB, free: 73.05 MB / 0.8859 GB Notification: Performance of prepare postOptimizeDAE: time 1.776e-05/6.006, allocations: 7.281 kB / 2.409 GB, free: 73.05 MB / 0.8859 GB 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. Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.05214/6.058, allocations: 30.85 MB / 2.439 GB, free: 42.24 MB / 0.8859 GB Error: post-optimization module replaceHomotopyWithSimplified (initialization) failed. Error: No system for the symbolic initialization was generated