Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_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.0179/0.0179, allocations: 2.331 MB / 21.18 MB, free: 3.527 MB / 13.93 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.001275/0.001275, allocations: 125.7 kB / 24.89 MB, free: 232 kB / 13.93 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.001682/0.001682, allocations: 219.7 kB / 28.73 MB, free: 1.039 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.9049/0.9049, allocations: 230.6 MB / 263.1 MB, free: 496 kB / 202.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.681/0.681, allocations: 130.7 MB / 450.7 MB, free: 2.789 MB / 346.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_L1_OffDesign,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesign",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesign,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesign",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 800] "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: Skipped loading package TILMedia (1.9.0 ClaRa) using MODELICAPATH /home/hudson/saved_omc/libraries/.openmodelica/libraries (uses-annotation may be wrong). Warning: ClaRa requested package SMArtInt of version 0.5.1. SMArtInt 1.0.0 is used instead which states that it is only compatible with a conversion script. Use convertPackageToLibrary(ClaRa, SMArtInt, \"1.0.0\") to run the conversion script or proceed with potential issues as a result. Notification: Performance of FrontEnd - loaded program: time 0.02885/0.02885, allocations: 29.94 MB / 0.6466 GB, free: 6.824 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1199/0.1487, allocations: 82.04 MB / 0.7267 GB, free: 4.668 MB / 0.5418 GB 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_L1_OffDesign): time 0.3804/0.5292, allocations: 43.08 MB / 0.7688 GB, free: 22.38 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01451/0.5437, allocations: 16.97 MB / 0.7853 GB, free: 9.418 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007805/0.5445, allocations: 54.41 kB / 0.7854 GB, free: 9.391 MB / 0.5574 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.001736/0.5462, allocations: 1.22 MB / 0.7866 GB, free: 8.605 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.001318/0.5475, allocations: 1.292 MB / 0.7879 GB, free: 7.629 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.00204/0.5495, allocations: 1.827 MB / 0.7896 GB, free: 6.293 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.001533/0.5511, allocations: 2.734 MB / 0.7923 GB, free: 4.684 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007241/0.5518, allocations: 0.8456 MB / 0.7931 GB, free: 4.066 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008275/0.5526, allocations: 1.179 MB / 0.7943 GB, free: 3.391 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000948/0.5536, allocations: 1.34 MB / 0.7956 GB, free: 2.594 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.5538, allocations: 200.9 kB / 0.7958 GB, free: 2.594 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.5556, allocations: 1.721 MB / 0.7975 GB, free: 1.73 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.000324/0.5559, allocations: 0.6726 MB / 0.7981 GB, free: 1.23 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0005055/0.5564, allocations: 0.878 MB / 0.799 GB, free: 0.6406 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.003476/0.5599, allocations: 4.393 MB / 0.8033 GB, free: 12.57 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.5599, allocations: 2.625 kB / 0.8033 GB, free: 12.57 MB / 0.573 GB Notification: Performance of FrontEnd: time 1.453e-06/0.5599, allocations: 0 / 0.8033 GB, free: 12.57 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.157e-05/0.56, allocations: 2.719 kB / 0.8033 GB, free: 12.57 MB / 0.573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 362 * Number of variables: 362 Notification: Performance of Generate backend data structure: time 0.004267/0.5642, allocations: 3.031 MB / 0.8062 GB, free: 9.492 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.5643, allocations: 12.03 kB / 0.8062 GB, free: 9.48 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001496/0.5644, allocations: 200.6 kB / 0.8064 GB, free: 9.281 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005217/0.5649, allocations: 335 kB / 0.8068 GB, free: 8.953 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002728/0.5677, allocations: 2.581 MB / 0.8093 GB, free: 6.352 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.791e-05/0.5677, allocations: 89.16 kB / 0.8094 GB, free: 6.266 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.5678, allocations: 119.8 kB / 0.8095 GB, free: 6.148 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002779/0.5706, allocations: 2.434 MB / 0.8119 GB, free: 3.363 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.689e-05/0.5706, allocations: 11.88 kB / 0.8119 GB, free: 3.352 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.352e-05/0.5707, allocations: 52 kB / 0.8119 GB, free: 3.301 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.113e-05/0.5707, allocations: 32 kB / 0.8119 GB, free: 3.27 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002503/0.5732, allocations: 1.664 MB / 0.8136 GB, free: 1.59 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006731/0.58, allocations: 9.711 MB / 0.8231 GB, free: 7.539 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/0.5827, allocations: 1.31 MB / 0.8243 GB, free: 6.164 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007286/0.5834, allocations: 0.5582 MB / 0.8249 GB, free: 5.578 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002814/0.5837, allocations: 63.25 kB / 0.8249 GB, free: 5.52 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001758/0.5855, allocations: 1.291 MB / 0.8262 GB, free: 4.148 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=178): time 2.755e-06/0.5855, allocations: 2.656 kB / 0.8262 GB, free: 4.148 MB / 0.5887 GB Notification: Performance of matching and sorting (n=179): time 0.00969/0.5952, allocations: 8.74 MB / 0.8347 GB, free: 11.29 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002063/0.5954, allocations: 0.5113 MB / 0.8352 GB, free: 10.66 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002686/0.5981, allocations: 2.033 MB / 0.8372 GB, free: 8.598 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 9.017e-05/0.5982, allocations: 41.7 kB / 0.8373 GB, free: 8.551 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006798/0.5988, allocations: 0.9146 MB / 0.8382 GB, free: 7.625 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.000433/0.5993, allocations: 0.5963 MB / 0.8387 GB, free: 7.023 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005063/0.5998, allocations: 441.9 kB / 0.8392 GB, free: 6.59 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 6.501e-05/0.5998, allocations: 305.1 kB / 0.8394 GB, free: 6.289 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001114/0.601, allocations: 0.7152 MB / 0.8401 GB, free: 5.555 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001148/0.6021, allocations: 1.389 MB / 0.8415 GB, free: 3.855 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002093/0.6042, allocations: 2.154 MB / 0.8436 GB, free: 1.434 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.064e-06/0.6042, allocations: 11.94 kB / 0.8436 GB, free: 1.422 MB / 0.6043 GB Notification: Performance of matching and sorting (n=273) (initialization): time 0.00302/0.6072, allocations: 2.558 MB / 0.8461 GB, free: 14.85 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.895e-05/0.6073, allocations: 79.38 kB / 0.8462 GB, free: 14.76 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002275/0.6096, allocations: 1.791 MB / 0.8479 GB, free: 12.95 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003993/0.61, allocations: 124.5 kB / 0.8481 GB, free: 12.82 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008501/0.6108, allocations: 0.494 MB / 0.8485 GB, free: 12.33 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003696/0.6145, allocations: 2.421 MB / 0.8509 GB, free: 9.852 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006298/0.6151, allocations: 99.66 kB / 0.851 GB, free: 9.754 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001403/0.6153, allocations: 130.1 kB / 0.8511 GB, free: 9.629 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00141/0.6167, allocations: 1.136 MB / 0.8522 GB, free: 8.477 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001195/0.6179, allocations: 1.381 MB / 0.8536 GB, free: 6.793 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002125/0.62, allocations: 2.163 MB / 0.8557 GB, free: 4.363 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.871e-06/0.62, allocations: 8 kB / 0.8557 GB, free: 4.355 MB / 0.6199 GB Notification: Performance of matching and sorting (n=273) (initialization_lambda0): time 0.003169/0.6232, allocations: 2.539 MB / 0.8582 GB, free: 1.801 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 4.385e-05/0.6232, allocations: 79.38 kB / 0.8583 GB, free: 1.711 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002155/0.6254, allocations: 1.8 MB / 0.86 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003007/0.6257, allocations: 119.4 kB / 0.8601 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008177/0.6265, allocations: 0.496 MB / 0.8606 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00339/0.6299, allocations: 2.415 MB / 0.863 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005819/0.6305, allocations: 97.56 kB / 0.8631 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001261/0.6306, allocations: 127.9 kB / 0.8632 GB, free: 12.58 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 89 * Number of states: 0 () * Number of discrete variables: 14 (Delta_pRamp.nextEventScaled,Delta_pRamp.nextEvent,$PRE.Delta_pRamp.nextEvent,Delta_pRamp.last,Delta_pRamp.b,Delta_pRamp.a,rpmRamp.nextEventScaled,rpmRamp.nextEvent,$PRE.rpmRamp.nextEvent,rpmRamp.last,rpmRamp.b,rpmRamp.a,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (261): * Single equations (assignments): 258 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0003578/0.6309, allocations: 374.2 kB / 0.8635 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002379/0.6312, allocations: 250.3 kB / 0.8638 GB, free: 11.95 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 190 equation(s) and 183 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump.summary.inlet.steamQuality, pump.fluidIn.cp, pump.fluidIn.cv, pump.fluidIn.beta, pump.fluidIn.kappa, pump.fluidIn.drhodp_hxi, pump.fluidIn.drhodh_pxi, _, pump.fluidIn.w, pump.fluidIn.gamma) = ($cse35, $cse36, $cse37, $cse38, $cse39, $cse40, $cse41, $cse42, $cse43, $cse44) has size 9 but 7 variables ($whenCondition1, rpmRamp.a, rpmRamp.b, rpmRamp.last, rpmRamp.nextEvent, rpmRamp.nextEventScaled, rpmRamp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002489/0.6337, allocations: 2.048 MB / 0.8658 GB, free: 10 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.3823749348521233]