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.008254/0.008254, allocations: 1.791 MB / 20.88 MB, free: 3.648 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.003903/0.003903, allocations: 81.67 kB / 24.59 MB, free: 7.203 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.0008844/0.0008844, allocations: 159 kB / 28.4 MB, free: 4.309 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.8848/0.8848, allocations: 177.2 MB / 209.3 MB, free: 2.535 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.6701/0.6701, allocations: 102.4 MB / 368.6 MB, free: 1.008 MB / 330.8 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_dev_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_dev_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.674e-06/1.674e-06, allocations: 0 / 0.5378 GB, free: 39.15 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.854e-05/2.021e-05, allocations: 2.281 kB / 0.5378 GB, free: 39.14 MB / 490.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.1228/0.1228, allocations: 72.63 MB / 0.6088 GB, free: 2.551 MB / 0.4949 GB Notification: Performance of NFInst.instExpressions: time 0.02264/0.1455, allocations: 20.32 MB / 0.6286 GB, free: 14.16 MB / 0.5262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003808/0.1493, allocations: 99.25 kB / 0.6287 GB, free: 14.07 MB / 0.5262 GB [/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.005905/0.1552, allocations: 2.043 MB / 0.6307 GB, free: 12.01 MB / 0.5262 GB Notification: Performance of NFTyping.typeBindings: time 0.009143/0.1643, allocations: 2.838 MB / 0.6335 GB, free: 9.156 MB / 0.5262 GB Notification: Performance of NFTyping.typeClassSections: time 0.007721/0.172, allocations: 3.059 MB / 0.6364 GB, free: 6.09 MB / 0.5262 GB Notification: Performance of NFFlatten.flatten: time 0.01056/0.1826, allocations: 6.782 MB / 0.6431 GB, free: 15.28 MB / 0.5418 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004331/0.1869, allocations: 1.989 MB / 0.645 GB, free: 13.25 MB / 0.5418 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005501/0.1924, allocations: 3.687 MB / 0.6486 GB, free: 9.559 MB / 0.5418 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003916/0.1963, allocations: 2.282 MB / 0.6508 GB, free: 7.27 MB / 0.5418 GB Notification: Performance of NFPackage.collectConstants: time 0.0008347/0.1972, allocations: 464 kB / 0.6513 GB, free: 6.816 MB / 0.5418 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004775/0.202, allocations: 2.253 MB / 0.6535 GB, free: 4.559 MB / 0.5418 GB Notification: Performance of NFScalarize.scalarize: time 0.001223/0.2032, allocations: 1.335 MB / 0.6548 GB, free: 3.219 MB / 0.5418 GB Notification: Performance of NFVerifyModel.verify: time 0.002011/0.2052, allocations: 1.484 MB / 0.6562 GB, free: 1.73 MB / 0.5418 GB Notification: Performance of NFConvertDAE.convert: time 0.01155/0.2167, allocations: 8.112 MB / 0.6642 GB, free: 9.59 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 7.644e-06/0.2167, allocations: 8 kB / 0.6642 GB, free: 9.582 MB / 0.5574 GB Notification: Performance of FrontEnd: time 2.235e-06/0.2168, allocations: 0 / 0.6642 GB, free: 9.582 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 0.0001273/0.2169, allocations: 0 / 0.6642 GB, free: 9.582 MB / 0.5574 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.01035/0.2272, allocations: 5.159 MB / 0.6692 GB, free: 4.344 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 5.643e-05/0.2273, allocations: 8.031 kB / 0.6692 GB, free: 4.336 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006042/0.2279, allocations: 424.2 kB / 0.6696 GB, free: 3.91 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001878/0.2298, allocations: 0.6223 MB / 0.6702 GB, free: 3.285 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007937/0.2377, allocations: 4.05 MB / 0.6742 GB, free: 15.16 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001682/0.2379, allocations: 177 kB / 0.6743 GB, free: 14.98 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003764/0.2382, allocations: 228.4 kB / 0.6746 GB, free: 14.76 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01231/0.2506, allocations: 6.009 MB / 0.6804 GB, free: 7.945 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.779e-05/0.2506, allocations: 27.75 kB / 0.6805 GB, free: 7.918 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002855/0.2509, allocations: 108 kB / 0.6806 GB, free: 7.812 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.39e-05/0.251, allocations: 76 kB / 0.6806 GB, free: 7.738 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01107/0.2621, allocations: 4.021 MB / 0.6846 GB, free: 3.695 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02245/0.2845, allocations: 21.68 MB / 0.7057 GB, free: 13.31 MB / 0.6043 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006257/0.2908, allocations: 3.526 MB / 0.7092 GB, free: 9.672 MB / 0.6043 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001732/0.2925, allocations: 1.26 MB / 0.7104 GB, free: 8.359 MB / 0.6043 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005527/0.2931, allocations: 253.6 kB / 0.7107 GB, free: 8.113 MB / 0.6043 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005247/0.2983, allocations: 3.17 MB / 0.7137 GB, free: 4.836 MB / 0.6043 GB Notification: Performance of pre-optimization done (n=470): time 5.14e-06/0.2983, allocations: 0 / 0.7137 GB, free: 4.836 MB / 0.6043 GB Notification: Performance of matching and sorting (n=471): time 0.02563/0.3239, allocations: 21.58 MB / 0.7348 GB, free: 15.02 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002404/0.3242, allocations: 0.8229 MB / 0.7356 GB, free: 14 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003501/0.3277, allocations: 3.329 MB / 0.7389 GB, free: 10.65 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0004761/0.3282, allocations: 61.7 kB / 0.7389 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008964/0.3291, allocations: 1.598 MB / 0.7405 GB, free: 8.977 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.001112/0.3302, allocations: 1.561 MB / 0.742 GB, free: 7.402 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001025/0.3312, allocations: 0.9405 MB / 0.7429 GB, free: 6.453 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.387e-05/0.3313, allocations: 305.1 kB / 0.7432 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002177/0.3334, allocations: 1.707 MB / 0.7449 GB, free: 4.422 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002875/0.3363, allocations: 3.179 MB / 0.748 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005323/0.3416, allocations: 5.03 MB / 0.7529 GB, free: 11.02 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.796e-05/0.3416, allocations: 16 kB / 0.7529 GB, free: 11.01 MB / 0.6512 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.007619/0.3493, allocations: 5.717 MB / 0.7585 GB, free: 5.234 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 6.474e-05/0.3493, allocations: 89.58 kB / 0.7586 GB, free: 5.137 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005571/0.3549, allocations: 4.359 MB / 0.7629 GB, free: 0.7227 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.2194/0.5743, allocations: 3.075 MB / 0.7659 GB, free: 175.7 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003466/0.5777, allocations: 1.142 MB / 0.767 GB, free: 175.7 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006145/0.5839, allocations: 3.757 MB / 0.7706 GB, free: 173.9 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002349/0.5862, allocations: 215.2 kB / 0.7709 GB, free: 173.9 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004527/0.5867, allocations: 310.8 kB / 0.7711 GB, free: 173.9 MB / 0.6512 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003895/0.5906, allocations: 2.434 MB / 0.7735 GB, free: 173 MB / 0.6512 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00311/0.5937, allocations: 3.143 MB / 0.7766 GB, free: 170.4 MB / 0.6512 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006158/0.5998, allocations: 4.972 MB / 0.7815 GB, free: 166.9 MB / 0.6512 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.241e-05/0.5999, allocations: 15.81 kB / 0.7815 GB, free: 166.9 MB / 0.6512 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.008497/0.6084, allocations: 5.573 MB / 0.7869 GB, free: 164.7 MB / 0.6512 GB Notification: Performance of prepare postOptimizeDAE: time 5.694e-05/0.6084, allocations: 89.88 kB / 0.787 GB, free: 164.6 MB / 0.6512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005435/0.6138, allocations: 4.209 MB / 0.7911 GB, free: 162.9 MB / 0.6512 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01047/0.6243, allocations: 2.725 MB / 0.7938 GB, free: 162.2 MB / 0.6512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002413/0.6267, allocations: 1.172 MB / 0.7949 GB, free: 161.9 MB / 0.6512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004427/0.6312, allocations: 3.47 MB / 0.7983 GB, free: 159.2 MB / 0.6512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002086/0.6332, allocations: 210.2 kB / 0.7985 GB, free: 159.1 MB / 0.6512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003854/0.6336, allocations: 306.4 kB / 0.7988 GB, free: 159 MB / 0.6512 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.0009802/0.6346, allocations: 0.5157 MB / 0.7993 GB, free: 158.6 MB / 0.6512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006524/0.6353, allocations: 449.8 kB / 0.7997 GB, free: 158.6 MB / 0.6512 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.00614/0.6414, allocations: 5.439 MB / 0.805 GB, free: 155.9 MB / 0.6512 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2406637258827686]