Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.0082/0.0082, allocations: 1.795 MB / 21.35 MB, free: 3.191 MB / 18.57 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.0008102/0.0008102, allocations: 90.25 kB / 25.16 MB, free: 7.426 MB / 18.57 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.0009077/0.0009077, allocations: 161.6 kB / 29.05 MB, free: 3.641 MB / 18.57 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.9519/0.9519, allocations: 177.1 MB / 210 MB, free: 3.613 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6174/0.6174, allocations: 102.4 MB / 369.5 MB, free: 392 kB / 330.7 MB " [Timeout remaining time 179] Using package ClaRa with version 1.9.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 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 SMArtInt with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|firstOrder.y|pump_3.pump.rho_CF_ps|pump_3.pump.rho_upstream_ps|pump_3.pumpFluidVolume.h|pump_3.pumpFluidVolume.p|speed1.phi|speed1.w",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.805e-06/2.805e-06, allocations: 0 / 469.9 MB, free: 18.98 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.011e-05/3.291e-05, allocations: 4.281 kB / 469.9 MB, free: 18.98 MB / 410.8 MB 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to usage. Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign): time 0.153/0.153, allocations: 68.79 MB / 0.5261 GB, free: 3.141 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02604/0.1791, allocations: 21.19 MB / 0.5468 GB, free: 13.89 MB / 474.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.003275/0.1823, allocations: 99.25 kB / 0.5469 GB, free: 13.79 MB / 474.8 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/SimCenter.mo:71:5-72:35:writable] Warning: Connector cycleSumPort is not balanced: The number of potential variables (0) is not equal to the number of flow variables (4). Notification: Performance of NFTyping.typeComponents: time 0.004951/0.1873, allocations: 2.039 MB / 0.5489 GB, free: 11.74 MB / 474.8 MB Notification: Performance of NFTyping.typeBindings: time 0.007353/0.1946, allocations: 2.85 MB / 0.5517 GB, free: 8.871 MB / 474.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005909/0.2006, allocations: 3.063 MB / 0.5547 GB, free: 5.801 MB / 474.8 MB Notification: Performance of NFFlatten.flatten: time 0.008575/0.2091, allocations: 6.791 MB / 0.5613 GB, free: 14.98 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.003387/0.2125, allocations: 2.076 MB / 0.5633 GB, free: 12.87 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.006524/0.219, allocations: 3.687 MB / 0.5669 GB, free: 9.176 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003762/0.2228, allocations: 2.285 MB / 0.5692 GB, free: 6.887 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0009786/0.2238, allocations: 460 kB / 0.5696 GB, free: 6.438 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00452/0.2283, allocations: 2.249 MB / 0.5718 GB, free: 4.188 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001285/0.2296, allocations: 1.335 MB / 0.5731 GB, free: 2.848 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002306/0.2319, allocations: 1.488 MB / 0.5746 GB, free: 1.355 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009607/0.2415, allocations: 5.395 MB / 0.5798 GB, free: 11.94 MB / 0.4949 GB Notification: Performance of FrontEnd - DAE generated: time 6.903e-06/0.2415, allocations: 0 / 0.5798 GB, free: 11.94 MB / 0.4949 GB Notification: Performance of FrontEnd: time 1.813e-06/0.2415, allocations: 0 / 0.5798 GB, free: 11.94 MB / 0.4949 GB Notification: Performance of Transformations before backend: time 0.0001151/0.2416, allocations: 0 / 0.5798 GB, free: 11.94 MB / 0.4949 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 863 * Number of variables: 863 Notification: Performance of Generate backend data structure: time 0.0063/0.2479, allocations: 5.389 MB / 0.5851 GB, free: 6.465 MB / 0.4949 GB Notification: Performance of prepare preOptimizeDAE: time 4.604e-05/0.248, allocations: 12.03 kB / 0.5851 GB, free: 6.453 MB / 0.4949 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001386/0.2494, allocations: 0.8059 MB / 0.5859 GB, free: 5.645 MB / 0.4949 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005073/0.2544, allocations: 3.805 MB / 0.5896 GB, free: 1.762 MB / 0.4949 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001332/0.2546, allocations: 185 kB / 0.5898 GB, free: 1.578 MB / 0.4949 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003164/0.2549, allocations: 240.4 kB / 0.59 GB, free: 1.344 MB / 0.4949 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007344/0.2622, allocations: 5.539 MB / 0.5954 GB, free: 10.78 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.023e-05/0.2623, allocations: 43.64 kB / 0.5955 GB, free: 10.73 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001967/0.2625, allocations: 108 kB / 0.5956 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.426e-05/0.2625, allocations: 76 kB / 0.5956 GB, free: 10.55 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005449/0.268, allocations: 2.74 MB / 0.5983 GB, free: 7.789 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.018/0.286, allocations: 28.43 MB / 0.6261 GB, free: 10.47 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006198/0.2922, allocations: 2.798 MB / 0.6288 GB, free: 7.516 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001456/0.2936, allocations: 0.7693 MB / 0.6295 GB, free: 6.68 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005774/0.2942, allocations: 257.8 kB / 0.6298 GB, free: 6.43 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005139/0.2994, allocations: 2.557 MB / 0.6323 GB, free: 3.738 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=470): time 8.536e-06/0.2994, allocations: 0 / 0.6323 GB, free: 3.738 MB / 0.5418 GB Notification: Performance of matching and sorting (n=471): time 0.0261/0.3255, allocations: 18.94 MB / 0.6508 GB, free: 0.5547 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.2296/0.555, allocations: 0.8203 MB / 0.6516 GB, free: 107 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003935/0.559, allocations: 2.989 MB / 0.6545 GB, free: 106.7 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.0005908/0.5596, allocations: 62.83 kB / 0.6546 GB, free: 106.7 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.001055/0.5606, allocations: 1.744 MB / 0.6563 GB, free: 106.5 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.001263/0.5619, allocations: 1.596 MB / 0.6578 GB, free: 105.8 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001286/0.5632, allocations: 0.9899 MB / 0.6588 GB, free: 105.7 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 5.409e-05/0.5632, allocations: 482.2 kB / 0.6593 GB, free: 105.3 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001531/0.5647, allocations: 0.9139 MB / 0.6601 GB, free: 105.1 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002136/0.5669, allocations: 2.902 MB / 0.663 GB, free: 102.7 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003986/0.5709, allocations: 3.887 MB / 0.6668 GB, free: 100.5 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.137e-05/0.5709, allocations: 11.47 kB / 0.6668 GB, free: 100.5 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.006682/0.5776, allocations: 4.237 MB / 0.6709 GB, free: 99.98 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.472e-05/0.5776, allocations: 90.33 kB / 0.671 GB, free: 99.91 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004185/0.5818, allocations: 2.794 MB / 0.6737 GB, free: 99.66 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01099/0.5928, allocations: 2.78 MB / 0.6765 GB, free: 99.64 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002649/0.5955, allocations: 1.139 MB / 0.6776 GB, free: 99.64 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004261/0.5997, allocations: 4 MB / 0.6815 GB, free: 96.88 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002352/0.6021, allocations: 205.3 kB / 0.6817 GB, free: 96.85 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004482/0.6025, allocations: 307.5 kB / 0.682 GB, free: 96.85 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002337/0.6049, allocations: 1.054 MB / 0.683 GB, free: 96.65 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002318/0.6072, allocations: 2.883 MB / 0.6858 GB, free: 94.17 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004504/0.6117, allocations: 3.873 MB / 0.6896 GB, free: 91.95 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.913e-05/0.6117, allocations: 11.12 kB / 0.6896 GB, free: 91.95 MB / 0.5574 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.007503/0.6192, allocations: 4.13 MB / 0.6936 GB, free: 91.44 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.738e-05/0.6193, allocations: 89.22 kB / 0.6937 GB, free: 91.38 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005881/0.6252, allocations: 2.712 MB / 0.6964 GB, free: 91.12 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01003/0.6352, allocations: 2.486 MB / 0.6988 GB, free: 91.09 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/0.6381, allocations: 1.16 MB / 0.6999 GB, free: 90.99 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003934/0.642, allocations: 3.819 MB / 0.7037 GB, free: 87.92 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002678/0.6447, allocations: 196.1 kB / 0.7038 GB, free: 87.89 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005313/0.6452, allocations: 311.5 kB / 0.7041 GB, free: 87.84 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 171 * Number of states: 0 () * Number of discrete variables: 15 (p_out_n1.nextEventScaled,p_out_n1.nextEvent,$PRE.p_out_n1.nextEvent,p_out_n1.last,p_out_n1.b,p_out_n1.a,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,$whenCondition2,$whenCondition1,valveVLE_L1_1.pressureLoss.normIsValid) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (595): * Single equations (assignments): 591 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(2,31)} Notification: Performance of prepare postOptimizeDAE: time 0.001518/0.6467, allocations: 0.6053 MB / 0.7047 GB, free: 87.5 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001208/0.6479, allocations: 0.4956 MB / 0.7052 GB, free: 87.25 MB / 0.5574 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 664 equation(s) and 637 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump_3.summary.inlet.steamQuality, pump_3.fluidIn.cp, pump_3.fluidIn.cv, pump_3.fluidIn.beta, pump_3.fluidIn.kappa, pump_3.fluidIn.drhodp_hxi, pump_3.fluidIn.drhodh_pxi, _, pump_3.fluidIn.w, pump_3.fluidIn.gamma) = ($cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44, $cse45, $cse46) has size 9 but 7 variables ($whenCondition2, p_out_n1.a, p_out_n1.b, p_out_n1.last, p_out_n1.nextEvent, p_out_n1.nextEventScaled, p_out_n1.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006144/0.6541, allocations: 4.923 MB / 0.71 GB, free: 85.65 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2931363079696894]