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.01161/0.01161, allocations: 1.765 MB / 20.61 MB, free: 3.871 MB / 13.93 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.1006/0.1006, allocations: 25.61 MB / 49.71 MB, free: 2.965 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.001635/0.001635, allocations: 126.1 kB / 60.65 MB, free: 3.016 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.001599/0.001599, allocations: 219.8 kB / 71.73 MB, free: 6.484 MB / 44.04 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 1.066/1.066, allocations: 230.6 MB / 313.3 MB, free: 11.77 MB / 234.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.8364/0.8364, allocations: 130.8 MB / 0.4964 GB, free: 2.336 MB / 362.8 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: SMArtInt requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: TILMedia requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: ClaRa requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002795/0.002795, allocations: 152.1 kB / 0.6901 GB, free: 46.8 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1504/0.1532, allocations: 89.26 MB / 0.7773 GB, free: 3.066 MB / 0.5418 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.VolumesValvesFittings.Valves.Check.TestValves): time 0.02125/0.1744, allocations: 26.25 MB / 0.803 GB, free: 8.703 MB / 0.573 GB Notification: Performance of NFInst.instExpressions: time 0.03399/0.2084, allocations: 21.17 MB / 0.8236 GB, free: 3.469 MB / 0.5887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00696/0.2154, allocations: 198.4 kB / 0.8238 GB, free: 3.273 MB / 0.5887 GB Notification: Performance of NFTyping.typeComponents: time 0.007638/0.223, allocations: 2.83 MB / 0.8266 GB, free: 436 kB / 0.5887 GB Notification: Performance of NFTyping.typeBindings: time 0.01267/0.2357, allocations: 4.608 MB / 0.8311 GB, free: 11.79 MB / 0.6043 GB Notification: Performance of NFTyping.typeClassSections: time 0.009779/0.2455, allocations: 4.889 MB / 0.8359 GB, free: 6.914 MB / 0.6043 GB Notification: Performance of NFFlatten.flatten: time 0.01682/0.2623, allocations: 12.15 MB / 0.8477 GB, free: 10.73 MB / 0.6199 GB Notification: Performance of NFFlatten.resolveConnections: time 0.007214/0.2695, allocations: 3.81 MB / 0.8514 GB, free: 6.852 MB / 0.6199 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009818/0.2793, allocations: 4.958 MB / 0.8563 GB, free: 1.875 MB / 0.6199 GB Notification: Performance of NFSimplifyModel.simplify: time 0.008665/0.288, allocations: 4.736 MB / 0.8609 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.003417/0.2914, allocations: 0.7617 MB / 0.8617 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006316/0.2977, allocations: 1.826 MB / 0.8634 GB, free: 10.53 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.004106/0.3018, allocations: 2.32 MB / 0.8657 GB, free: 8.199 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.007056/0.3089, allocations: 3.275 MB / 0.8689 GB, free: 4.906 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.01908/0.328, allocations: 11.87 MB / 0.8805 GB, free: 8.988 MB / 0.6512 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.328, allocations: 0 / 0.8805 GB, free: 8.988 MB / 0.6512 GB Notification: Performance of FrontEnd: time 2.675e-06/0.328, allocations: 0 / 0.8805 GB, free: 8.988 MB / 0.6512 GB Notification: Performance of Transformations before backend: time 0.0004979/0.3285, allocations: 0 / 0.8805 GB, free: 8.988 MB / 0.6512 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.01852/0.347, allocations: 8.517 MB / 0.8888 GB, free: 400 kB / 0.6512 GB Notification: Performance of prepare preOptimizeDAE: time 5.78e-05/0.3471, allocations: 8.031 kB / 0.8888 GB, free: 392 kB / 0.6512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002425/0.3495, allocations: 0.7871 MB / 0.8896 GB, free: 15.59 MB / 0.6668 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00361/0.3531, allocations: 1.115 MB / 0.8907 GB, free: 14.46 MB / 0.6668 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01189/0.365, allocations: 5.995 MB / 0.8965 GB, free: 8.387 MB / 0.6668 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004052/0.3654, allocations: 357.4 kB / 0.8969 GB, free: 8.035 MB / 0.6668 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001494/0.3669, allocations: 452 kB / 0.8973 GB, free: 7.594 MB / 0.6668 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3211/0.688, allocations: 12.07 MB / 0.9091 GB, free: 108.3 MB / 0.6668 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002888/0.6883, allocations: 72.97 kB / 0.9092 GB, free: 108.3 MB / 0.6668 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001045/0.6893, allocations: 238.3 kB / 0.9094 GB, free: 108.3 MB / 0.6668 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002139/0.6895, allocations: 165.2 kB / 0.9095 GB, free: 108.3 MB / 0.6668 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01974/0.7093, allocations: 7.92 MB / 0.9173 GB, free: 105.9 MB / 0.6668 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03924/0.7485, allocations: 49.5 MB / 0.9656 GB, free: 61.89 MB / 0.6668 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01298/0.7615, allocations: 6.168 MB / 0.9716 GB, free: 58.51 MB / 0.6668 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004474/0.766, allocations: 1.887 MB / 0.9735 GB, free: 57.37 MB / 0.6668 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0012/0.7672, allocations: 320.4 kB / 0.9738 GB, free: 57.25 MB / 0.6668 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001072/0.7673, allocations: 103.4 kB / 0.9739 GB, free: 57.17 MB / 0.6668 GB Notification: Performance of pre-optimization done (n=863): time 9.618e-06/0.7673, allocations: 2.688 kB / 0.9739 GB, free: 57.17 MB / 0.6668 GB Notification: Performance of matching and sorting (n=863): time 0.03013/0.7974, allocations: 12.01 MB / 0.9856 GB, free: 47.56 MB / 0.6668 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001872/0.7976, allocations: 0.9699 MB / 0.9866 GB, free: 46.37 MB / 0.6668 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009546/0.8071, allocations: 6.279 MB / 0.9927 GB, free: 40.25 MB / 0.6668 GB Notification: Performance of collectPreVariables (initialization): time 0.001385/0.8085, allocations: 85.17 kB / 0.9928 GB, free: 40.16 MB / 0.6668 GB Notification: Performance of collectInitialEqns (initialization): time 0.002051/0.8106, allocations: 3.225 MB / 0.9959 GB, free: 37.21 MB / 0.6668 GB Notification: Performance of collectInitialBindings (initialization): time 0.00287/0.8134, allocations: 2.945 MB / 0.9988 GB, free: 34.69 MB / 0.6668 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.003475/0.8169, allocations: 1.942 MB / 1.001 GB, free: 32.73 MB / 0.6668 GB Notification: Performance of setup shared object (initialization): time 3.64e-05/0.817, allocations: 301.1 kB / 1.001 GB, free: 32.44 MB / 0.6668 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004525/0.8215, allocations: 2.888 MB / 1.004 GB, free: 29.54 MB / 0.6668 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007001/0.8285, allocations: 6.302 MB / 1.01 GB, free: 21.74 MB / 0.6668 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01227/0.8408, allocations: 9.689 MB / 1.019 GB, free: 10.64 MB / 0.6668 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.209e-05/0.8408, allocations: 32 kB / 1.019 GB, free: 10.61 MB / 0.6668 GB Notification: Performance of matching and sorting (n=1296) (initialization): time 0.01838/0.8592, allocations: 9.959 MB / 1.029 GB, free: 0.5938 MB / 0.6668 GB Notification: Performance of prepare postOptimizeDAE: time 6.122e-05/0.8593, allocations: 48 kB / 1.029 GB, free: 0.5469 MB / 0.6668 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01363/0.8729, allocations: 6.537 MB / 1.036 GB, free: 9.953 MB / 0.6824 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003225/0.8732, allocations: 155.9 kB / 1.036 GB, free: 9.801 MB / 0.6824 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007047/0.8803, allocations: 2.511 MB / 1.038 GB, free: 7.285 MB / 0.6824 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002472/0.8805, allocations: 223.2 kB / 1.038 GB, free: 7.066 MB / 0.6824 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006737/0.8873, allocations: 1.118 MB / 1.04 GB, free: 6.012 MB / 0.6824 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002307/0.8896, allocations: 0.6402 MB / 1.04 GB, free: 5.371 MB / 0.6824 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.009661/0.8992, allocations: 4.036 MB / 1.044 GB, free: 1.328 MB / 0.6824 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.007828/0.9071, allocations: 6.239 MB / 1.05 GB, free: 9.59 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01398/0.921, allocations: 9.561 MB / 1.06 GB, free: 14.59 MB / 0.7137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.059e-05/0.9211, allocations: 28 kB / 1.06 GB, free: 14.56 MB / 0.7137 GB Notification: Performance of matching and sorting (n=1296) (initialization_lambda0): time 0.0211/0.9422, allocations: 9.827 MB / 1.069 GB, free: 4.676 MB / 0.7137 GB Notification: Performance of prepare postOptimizeDAE: time 5.693e-05/0.9423, allocations: 48 kB / 1.069 GB, free: 4.629 MB / 0.7137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01293/0.9552, allocations: 6.396 MB / 1.075 GB, free: 14.18 MB / 0.7293 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002225/0.9554, allocations: 152 kB / 1.076 GB, free: 14.03 MB / 0.7293 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00633/0.9618, allocations: 2.5 MB / 1.078 GB, free: 11.53 MB / 0.7293 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002218/0.962, allocations: 219.2 kB / 1.078 GB, free: 11.31 MB / 0.7293 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006035/0.968, allocations: 0.8967 MB / 1.079 GB, free: 10.41 MB / 0.7293 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001917/0.9699, allocations: 0.6363 MB / 1.08 GB, free: 9.773 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.002756/0.9727, allocations: 0.7554 MB / 1.08 GB, free: 9.008 MB / 0.7293 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003363/0.9761, allocations: 0.8069 MB / 1.081 GB, free: 8.195 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.0184/0.9945, allocations: 11.89 MB / 1.093 GB, free: 12.21 MB / 0.7449 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.356196622364223]