Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign.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.006407/0.006407, 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.126/0.126, allocations: 18.24 MB / 42.2 MB, free: 5.199 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.0009435/0.0009435, allocations: 81.19 kB / 53.06 MB, free: 6.52 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.001131/0.001131, allocations: 164.5 kB / 64.03 MB, free: 10.21 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.9907/0.9907, allocations: 177.2 MB / 252.1 MB, free: 11.75 MB / 218.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/package.mo): time 0.5192/0.5192, allocations: 102.5 MB / 418.6 MB, free: 5.176 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/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.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.683e-06/1.683e-06, allocations: 0 / 0.6029 GB, free: 256 kB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.737e-05/1.906e-05, allocations: 4.031 kB / 0.6029 GB, free: 252 kB / 490.8 MB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign): time 0.01734/0.01736, allocations: 17.26 MB / 0.6198 GB, free: 14.91 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.02217/0.03953, allocations: 20.32 MB / 0.6396 GB, free: 10.52 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001965/0.04149, allocations: 99.25 kB / 0.6397 GB, free: 10.42 MB / 0.5262 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa 1.9.0/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.003048/0.04454, allocations: 2.051 MB / 0.6417 GB, free: 8.359 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.003488/0.04803, allocations: 2.84 MB / 0.6445 GB, free: 5.504 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.003801/0.05183, allocations: 3.065 MB / 0.6475 GB, free: 2.438 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.004873/0.0567, allocations: 6.783 MB / 0.6541 GB, free: 11.63 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001526/0.05823, allocations: 1.981 MB / 0.6561 GB, free: 9.613 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002753/0.06098, allocations: 3.687 MB / 0.6597 GB, free: 5.918 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002094/0.06307, allocations: 2.282 MB / 0.6619 GB, free: 3.629 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0004006/0.06348, allocations: 464 kB / 0.6623 GB, free: 3.176 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.06618, allocations: 2.245 MB / 0.6645 GB, free: 0.9258 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.2097/0.2759, allocations: 1.323 MB / 0.6658 GB, free: 27.12 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.00222/0.2781, allocations: 1.489 MB / 0.6673 GB, free: 27.12 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.007408/0.2855, allocations: 8.124 MB / 0.6752 GB, free: 26.75 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.2855, allocations: 0 / 0.6752 GB, free: 26.75 MB / 0.5418 GB Notification: Performance of FrontEnd: time 1.543e-06/0.2855, allocations: 0.9062 kB / 0.6752 GB, free: 26.75 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 5.441e-05/0.2856, allocations: 0 / 0.6752 GB, free: 26.75 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: 863 * Number of variables: 863 Notification: Performance of Generate backend data structure: time 0.005461/0.291, allocations: 5.16 MB / 0.6802 GB, free: 24.36 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 3.735e-05/0.2911, allocations: 8.891 kB / 0.6802 GB, free: 24.36 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003617/0.2914, allocations: 415.4 kB / 0.6806 GB, free: 24.3 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009718/0.2924, allocations: 0.6224 MB / 0.6812 GB, free: 24.01 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004009/0.2964, allocations: 4.053 MB / 0.6852 GB, free: 23.19 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.988e-05/0.2965, allocations: 182.2 kB / 0.6854 GB, free: 23.18 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002213/0.2967, allocations: 232.1 kB / 0.6856 GB, free: 23.18 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006329/0.303, allocations: 5.993 MB / 0.6915 GB, free: 20.64 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.283e-05/0.3031, allocations: 30.53 kB / 0.6915 GB, free: 20.64 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002025/0.3033, allocations: 125 kB / 0.6916 GB, free: 20.64 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.968e-05/0.3034, allocations: 76.66 kB / 0.6917 GB, free: 20.64 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006601/0.31, allocations: 4.007 MB / 0.6956 GB, free: 20.55 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01254/0.3225, allocations: 21.7 MB / 0.7168 GB, free: 19.2 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005632/0.3281, allocations: 3.531 MB / 0.7202 GB, free: 17.76 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.3295, allocations: 1.257 MB / 0.7215 GB, free: 17.09 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005581/0.3301, allocations: 258.6 kB / 0.7217 GB, free: 17.05 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004502/0.3346, allocations: 3.163 MB / 0.7248 GB, free: 15.54 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=470): time 4.168e-06/0.3346, allocations: 4 kB / 0.7248 GB, free: 15.53 MB / 0.5574 GB Notification: Performance of matching and sorting (n=471): time 0.02375/0.3583, allocations: 21.59 MB / 0.7459 GB, free: 1.512 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002235/0.3585, allocations: 0.8259 MB / 0.7467 GB, free: 0.5273 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003499/0.362, allocations: 3.325 MB / 0.7499 GB, free: 14.73 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001966/0.3622, allocations: 64.98 kB / 0.75 GB, free: 14.67 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009436/0.3632, allocations: 1.595 MB / 0.7516 GB, free: 13.27 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008989/0.3641, allocations: 1.564 MB / 0.7531 GB, free: 11.9 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/0.3651, allocations: 0.9379 MB / 0.754 GB, free: 11.36 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 6.269e-05/0.3652, allocations: 305.1 kB / 0.7543 GB, free: 11.06 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00205/0.3672, allocations: 1.705 MB / 0.7559 GB, free: 9.336 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00294/0.3702, allocations: 3.174 MB / 0.759 GB, free: 5.559 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005328/0.3755, allocations: 5.036 MB / 0.764 GB, free: 120 kB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.18e-05/0.3755, allocations: 8 kB / 0.764 GB, free: 112 kB / 0.573 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.007049/0.3826, allocations: 5.72 MB / 0.7696 GB, free: 10.56 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 6.32e-05/0.3826, allocations: 87.39 kB / 0.7696 GB, free: 10.46 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005573/0.3882, allocations: 4.357 MB / 0.7739 GB, free: 6.086 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01111/0.3993, allocations: 3.088 MB / 0.7769 GB, free: 3.008 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001938/0.4012, allocations: 1.143 MB / 0.778 GB, free: 1.934 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006289/0.4075, allocations: 3.757 MB / 0.7817 GB, free: 14.07 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002336/0.4099, allocations: 214.1 kB / 0.7819 GB, free: 13.86 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004387/0.4103, allocations: 319.9 kB / 0.7822 GB, free: 13.55 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004177/0.4145, allocations: 2.433 MB / 0.7846 GB, free: 11.1 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003665/0.4182, allocations: 3.141 MB / 0.7877 GB, free: 7.355 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006668/0.4248, allocations: 4.986 MB / 0.7925 GB, free: 1.953 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.588e-05/0.4248, allocations: 8.766 kB / 0.7925 GB, free: 1.945 MB / 0.6043 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.009166/0.434, allocations: 5.568 MB / 0.798 GB, free: 12.56 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.012e-05/0.4341, allocations: 86.55 kB / 0.798 GB, free: 12.46 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007382/0.4415, allocations: 4.202 MB / 0.8022 GB, free: 8.238 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01242/0.4539, allocations: 2.739 MB / 0.8048 GB, free: 5.5 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002034/0.4559, allocations: 1.169 MB / 0.806 GB, free: 4.402 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004654/0.4606, allocations: 3.471 MB / 0.8094 GB, free: 0.8242 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002152/0.4627, allocations: 207.7 kB / 0.8096 GB, free: 0.6211 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003486/0.4631, allocations: 300.6 kB / 0.8098 GB, free: 336 kB / 0.6199 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.0009512/0.464, allocations: 0.5185 MB / 0.8104 GB, free: 15.86 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005606/0.4646, allocations: 456.8 kB / 0.8108 GB, free: 15.41 MB / 0.6355 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 1.9.0-ClaRa/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.006151/0.4707, allocations: 5.413 MB / 0.8161 GB, free: 10.33 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 800] [Calling sys.exit(0), Time elapsed: 3.3366521075367928]