Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo): time 0.006274/0.006274, allocations: 1.354 MB / 20.45 MB, free: 4.102 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo): time 0.07736/0.07736, allocations: 18.24 MB / 42.19 MB, free: 5.195 MB / 33.03 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009467/0.0009467, allocations: 91.3 kB / 53.06 MB, free: 6.508 MB / 44.04 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001138/0.001138, allocations: 164.1 kB / 64.04 MB, free: 10.2 MB / 58.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8979/0.8979, allocations: 177.2 MB / 252.1 MB, free: 11.77 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo): time 0.4854/0.4854, allocations: 102.6 MB / 418.7 MB, free: 5.305 MB / 362.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0-main/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Using package TILMedia with version 1.9.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/package.mo) Using package SMArtInt with version 0.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt 0.5.1/package.mo) Running command: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves,fileNamePrefix="ClaRa_dev_ClaRa_Components_VolumesValvesFittings_Valves_Check_TestValves",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.372e-06/1.372e-06, allocations: 0 / 0.603 GB, free: 332 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.47e-05/1.607e-05, allocations: 2.281 kB / 0.603 GB, free: 328 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves): time 0.01773/0.01774, allocations: 26.22 MB / 0.6286 GB, free: 5.988 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02732/0.04507, allocations: 20.95 MB / 0.6491 GB, free: 0.9766 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007357/0.05242, allocations: 198.4 kB / 0.6493 GB, free: 0.7812 MB / 0.5262 GB Notification: Performance of NFTyping.typeComponents: time 0.006258/0.05868, allocations: 2.848 MB / 0.6521 GB, free: 13.92 MB / 0.5418 GB Notification: Performance of NFTyping.typeBindings: time 0.01124/0.06992, allocations: 4.741 MB / 0.6567 GB, free: 9.148 MB / 0.5418 GB Notification: Performance of NFTyping.typeClassSections: time 0.008849/0.07877, allocations: 4.96 MB / 0.6615 GB, free: 4.199 MB / 0.5418 GB Notification: Performance of NFFlatten.flatten: time 0.3052/0.384, allocations: 12.48 MB / 0.6737 GB, free: 20.24 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004999/0.389, allocations: 3.833 MB / 0.6775 GB, free: 19.82 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007217/0.3962, allocations: 6.737 MB / 0.684 GB, free: 19.21 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004473/0.4006, allocations: 4.079 MB / 0.688 GB, free: 18.73 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.001228/0.4019, allocations: 0.7611 MB / 0.6888 GB, free: 18.73 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003377/0.4052, allocations: 1.836 MB / 0.6906 GB, free: 18.68 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001362/0.4066, allocations: 2.354 MB / 0.6929 GB, free: 18.24 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002391/0.409, allocations: 2.639 MB / 0.6954 GB, free: 17.86 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.008761/0.4178, allocations: 11.6 MB / 0.7068 GB, free: 14.02 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 5.4e-06/0.4178, allocations: 4 kB / 0.7068 GB, free: 14.01 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.643e-06/0.4178, allocations: 0 / 0.7068 GB, free: 14.01 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 0.0001109/0.4179, allocations: 0 / 0.7068 GB, free: 14.01 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1702 * Number of variables: 1702 Notification: Performance of Generate backend data structure: time 0.008045/0.4259, allocations: 8.427 MB / 0.715 GB, free: 8.027 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 4.313e-05/0.426, allocations: 13.69 kB / 0.715 GB, free: 8.023 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005743/0.4265, allocations: 0.7875 MB / 0.7158 GB, free: 7.43 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001557/0.4281, allocations: 1.114 MB / 0.7169 GB, free: 6.805 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006013/0.4341, allocations: 5.986 MB / 0.7227 GB, free: 2.867 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001825/0.4343, allocations: 360.1 kB / 0.7231 GB, free: 2.707 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003936/0.4347, allocations: 451.5 kB / 0.7235 GB, free: 2.559 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01304/0.4477, allocations: 12.08 MB / 0.7353 GB, free: 8.766 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.924e-05/0.4478, allocations: 69.34 kB / 0.7354 GB, free: 8.766 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003621/0.4482, allocations: 242.6 kB / 0.7356 GB, free: 8.613 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.762e-05/0.4483, allocations: 168.3 kB / 0.7357 GB, free: 8.605 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01224/0.4605, allocations: 7.913 MB / 0.7435 GB, free: 3.098 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03188/0.4924, allocations: 49.32 MB / 0.7916 GB, free: 0.5234 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01125/0.5037, allocations: 6.156 MB / 0.7976 GB, free: 10.23 MB / 0.6199 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002475/0.5061, allocations: 1.889 MB / 0.7995 GB, free: 8.277 MB / 0.6199 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006666/0.5068, allocations: 318 kB / 0.7998 GB, free: 7.969 MB / 0.6199 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.988e-05/0.5069, allocations: 101.7 kB / 0.7999 GB, free: 7.867 MB / 0.6199 GB Notification: Performance of pre-optimization done (n=863): time 7.173e-06/0.5069, allocations: 4 kB / 0.7999 GB, free: 7.863 MB / 0.6199 GB Notification: Performance of matching and sorting (n=863): time 0.02191/0.5288, allocations: 12.01 MB / 0.8116 GB, free: 11.85 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002979/0.5291, allocations: 0.9633 MB / 0.8126 GB, free: 10.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007324/0.5364, allocations: 6.284 MB / 0.8187 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004155/0.5368, allocations: 90.36 kB / 0.8188 GB, free: 4.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.001627/0.5384, allocations: 3.213 MB / 0.8219 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001991/0.5404, allocations: 2.906 MB / 0.8248 GB, free: 14.25 MB / 0.6512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/0.5424, allocations: 1.918 MB / 0.8266 GB, free: 12.32 MB / 0.6512 GB Notification: Performance of setup shared object (initialization): time 6.999e-05/0.5425, allocations: 301.1 kB / 0.8269 GB, free: 12.03 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003624/0.5461, allocations: 2.89 MB / 0.8297 GB, free: 9.125 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005156/0.5513, allocations: 6.296 MB / 0.8359 GB, free: 1.379 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009825/0.5611, allocations: 9.696 MB / 0.8454 GB, free: 6.66 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.232e-05/0.5611, allocations: 28 kB / 0.8454 GB, free: 6.633 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01327/0.5744, allocations: 9.967 MB / 0.8551 GB, free: 13.2 MB / 0.6824 GB Notification: Performance of prepare postOptimizeDAE: time 4.963e-05/0.5745, allocations: 48 kB / 0.8552 GB, free: 13.16 MB / 0.6824 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008399/0.5829, allocations: 6.532 MB / 0.8615 GB, free: 6.613 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001163/0.583, allocations: 152 kB / 0.8617 GB, free: 6.465 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004392/0.5874, allocations: 2.513 MB / 0.8641 GB, free: 4.113 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001269/0.5875, allocations: 221.4 kB / 0.8644 GB, free: 3.941 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004652/0.5922, allocations: 1.121 MB / 0.8655 GB, free: 2.812 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006457/0.5928, allocations: 0.6363 MB / 0.8661 GB, free: 2.176 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005948/0.5987, allocations: 4.041 MB / 0.87 GB, free: 14.13 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00515/0.6039, allocations: 6.229 MB / 0.8761 GB, free: 6.449 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009914/0.6138, allocations: 9.571 MB / 0.8854 GB, free: 11.86 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.875e-05/0.6138, allocations: 31.94 kB / 0.8855 GB, free: 11.82 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.01302/0.6269, allocations: 9.818 MB / 0.8951 GB, free: 2.316 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 3.851e-05/0.6269, allocations: 46.34 kB / 0.8951 GB, free: 2.273 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008017/0.6349, allocations: 6.392 MB / 0.9014 GB, free: 11.82 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001107/0.635, allocations: 160 kB / 0.9015 GB, free: 11.67 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004165/0.6392, allocations: 2.496 MB / 0.9039 GB, free: 9.168 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001291/0.6393, allocations: 215.3 kB / 0.9041 GB, free: 8.957 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004474/0.6438, allocations: 0.8968 MB / 0.905 GB, free: 8.055 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000616/0.6444, allocations: 0.6285 MB / 0.9056 GB, free: 7.426 MB / 0.7293 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 452 * Number of states: 0 () * Number of discrete variables: 4 (valve5.pressureLoss.normIsValid,valve4.pressureLoss.normIsValid,valve2.pressureLoss.normIsValid,valve1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1296): * Single equations (assignments): 1296 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001711/0.6461, allocations: 0.7594 MB / 0.9064 GB, free: 6.656 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001284/0.6474, allocations: 0.8108 MB / 0.9072 GB, free: 5.84 MB / 0.7293 GB Warning: After manipulating the system with postOptModule wrapFunctionCalls the system is unbalanced. This indicates that the original system is singular. You can use -d=dumpCSE and -d=dumpCSE_verbose for more information. Error: Too many equations, over-determined system. The model has 1203 equation(s) and 1155 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.9.0-ClaRa/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pressureSink_XRG4.fluidOut.q, pressureSink_XRG4.fluidOut.cp, pressureSink_XRG4.fluidOut.cv, pressureSink_XRG4.fluidOut.beta, pressureSink_XRG4.fluidOut.kappa, pressureSink_XRG4.fluidOut.drhodp_hxi, pressureSink_XRG4.fluidOut.drhodh_pxi, _, pressureSink_XRG4.fluidOut.w, pressureSink_XRG4.fluidOut.gamma) = ($cse486, $cse487, $cse488, $cse489, $cse490, $cse491, $cse492, $cse493, $cse494, $cse495) has size 9 but 5 variables ($cse261, valve6.pressureLoss.m_flow, valve6.pressureLoss.aperture_, valve6.pressureLoss.Delta_p, valve6.pressureLoss.Psi) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/0.6599, allocations: 11.9 MB / 0.9188 GB, free: 9.898 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4926393423229456]