Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet.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.01222/0.01222, 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.0009232/0.0009232, allocations: 125.8 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.001195/0.001195, 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.9698/0.9698, allocations: 230.6 MB / 263.1 MB, free: 492 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.7295/0.7295, allocations: 130.7 MB / 450.7 MB, free: 2.758 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_OffDesignInlet,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesignInlet",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_OffDesignInlet,fileNamePrefix="ClaRa_dev_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_OffDesignInlet",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.03468/0.03468, allocations: 29.94 MB / 0.6466 GB, free: 6.809 MB / 474.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1264/0.1611, allocations: 82.04 MB / 0.7267 GB, free: 4.672 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_OffDesignInlet): time 0.359/0.5201, allocations: 43.15 MB / 0.7688 GB, free: 22.36 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.01667/0.5367, allocations: 17.09 MB / 0.7855 GB, free: 9.277 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001552/0.5383, allocations: 45.78 kB / 0.7856 GB, free: 9.258 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.002501/0.5408, allocations: 1.136 MB / 0.7867 GB, free: 8.508 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.002513/0.5433, allocations: 1.205 MB / 0.7879 GB, free: 7.566 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.003348/0.5466, allocations: 1.914 MB / 0.7897 GB, free: 6.172 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.003245/0.5499, allocations: 2.733 MB / 0.7924 GB, free: 4.559 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009651/0.5509, allocations: 0.8335 MB / 0.7932 GB, free: 3.945 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0015/0.5524, allocations: 1.168 MB / 0.7944 GB, free: 3.273 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001481/0.5538, allocations: 1.244 MB / 0.7956 GB, free: 2.504 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 0.0003925/0.5542, allocations: 203.2 kB / 0.7958 GB, free: 2.504 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002814/0.557, allocations: 1.794 MB / 0.7975 GB, free: 1.605 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 0.000395/0.5574, allocations: 0.6522 MB / 0.7982 GB, free: 1.113 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 0.0007967/0.5582, allocations: 0.8727 MB / 0.799 GB, free: 0.5312 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.005229/0.5635, allocations: 4.42 MB / 0.8033 GB, free: 12.49 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 4.509e-06/0.5635, allocations: 0 / 0.8033 GB, free: 12.49 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.114e-06/0.5635, allocations: 2.625 kB / 0.8033 GB, free: 12.49 MB / 0.573 GB Notification: Performance of Transformations before backend: time 4.024e-05/0.5635, allocations: 0 / 0.8033 GB, free: 12.49 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: 370 * Number of variables: 370 Notification: Performance of Generate backend data structure: time 0.004036/0.5675, allocations: 3.02 MB / 0.8063 GB, free: 9.418 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.863e-05/0.5676, allocations: 8.031 kB / 0.8063 GB, free: 9.41 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002077/0.5678, allocations: 203.5 kB / 0.8065 GB, free: 9.199 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008043/0.5686, allocations: 329.8 kB / 0.8068 GB, free: 8.879 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003865/0.5725, allocations: 2.562 MB / 0.8093 GB, free: 6.297 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.872e-05/0.5725, allocations: 86.53 kB / 0.8094 GB, free: 6.211 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001496/0.5727, allocations: 118.6 kB / 0.8095 GB, free: 6.098 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004029/0.5767, allocations: 2.464 MB / 0.8119 GB, free: 3.277 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.019e-05/0.5768, allocations: 15.88 kB / 0.8119 GB, free: 3.262 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000101/0.5769, allocations: 52 kB / 0.812 GB, free: 3.211 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.174e-05/0.5769, allocations: 39.98 kB / 0.812 GB, free: 3.172 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003673/0.5806, allocations: 1.674 MB / 0.8136 GB, free: 1.477 MB / 0.573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008181/0.5888, allocations: 9.711 MB / 0.8231 GB, free: 7.418 MB / 0.5887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003319/0.5921, allocations: 1.399 MB / 0.8245 GB, free: 5.949 MB / 0.5887 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008909/0.593, allocations: 0.5993 MB / 0.8251 GB, free: 5.32 MB / 0.5887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002268/0.5932, allocations: 76.95 kB / 0.8251 GB, free: 5.246 MB / 0.5887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002944/0.5961, allocations: 1.374 MB / 0.8265 GB, free: 3.777 MB / 0.5887 GB Notification: Performance of pre-optimization done (n=192): time 4.739e-06/0.5961, allocations: 0 / 0.8265 GB, free: 3.777 MB / 0.5887 GB Notification: Performance of matching and sorting (n=193): time 0.01408/0.6102, allocations: 8.463 MB / 0.8347 GB, free: 11.17 MB / 0.6043 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001911/0.6104, allocations: 0.5191 MB / 0.8353 GB, free: 10.54 MB / 0.6043 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002305/0.6127, allocations: 1.864 MB / 0.8371 GB, free: 8.633 MB / 0.6043 GB Notification: Performance of collectPreVariables (initialization): time 0.0001271/0.6128, allocations: 49.7 kB / 0.8371 GB, free: 8.578 MB / 0.6043 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006232/0.6135, allocations: 0.8596 MB / 0.838 GB, free: 7.707 MB / 0.6043 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005038/0.614, allocations: 0.6389 MB / 0.8386 GB, free: 7.062 MB / 0.6043 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005602/0.6145, allocations: 443.5 kB / 0.839 GB, free: 6.625 MB / 0.6043 GB Notification: Performance of setup shared object (initialization): time 7.607e-05/0.6146, allocations: 301.1 kB / 0.8393 GB, free: 6.328 MB / 0.6043 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001424/0.616, allocations: 0.7354 MB / 0.84 GB, free: 5.57 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001522/0.6175, allocations: 1.385 MB / 0.8414 GB, free: 3.879 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002813/0.6204, allocations: 2.191 MB / 0.8435 GB, free: 1.414 MB / 0.6043 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.061e-05/0.6204, allocations: 6.625 kB / 0.8435 GB, free: 1.41 MB / 0.6043 GB Notification: Performance of matching and sorting (n=282) (initialization): time 0.004385/0.6248, allocations: 2.565 MB / 0.846 GB, free: 14.82 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003331/0.6251, allocations: 113.1 kB / 0.8461 GB, free: 14.69 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003149/0.6282, allocations: 1.875 MB / 0.848 GB, free: 12.79 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004926/0.6287, allocations: 111.4 kB / 0.8481 GB, free: 12.68 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001249/0.63, allocations: 0.4992 MB / 0.8485 GB, free: 12.18 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/0.6338, allocations: 2.416 MB / 0.8509 GB, free: 9.699 MB / 0.6199 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009234/0.6347, allocations: 91.72 kB / 0.851 GB, free: 9.609 MB / 0.6199 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.6348, allocations: 135.9 kB / 0.8511 GB, free: 9.477 MB / 0.6199 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001559/0.6364, allocations: 1.13 MB / 0.8522 GB, free: 8.324 MB / 0.6199 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001466/0.6379, allocations: 1.389 MB / 0.8536 GB, free: 6.633 MB / 0.6199 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002146/0.64, allocations: 2.176 MB / 0.8557 GB, free: 4.188 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.385e-06/0.64, allocations: 4 kB / 0.8557 GB, free: 4.184 MB / 0.6199 GB Notification: Performance of matching and sorting (n=282) (initialization_lambda0): time 0.003324/0.6433, allocations: 2.569 MB / 0.8582 GB, free: 1.594 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.004e-05/0.6434, allocations: 113.1 kB / 0.8583 GB, free: 1.465 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002685/0.6461, allocations: 1.867 MB / 0.8602 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003311/0.6464, allocations: 119.4 kB / 0.8603 GB, free: 15.45 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009049/0.6473, allocations: 0.4953 MB / 0.8607 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003629/0.651, allocations: 2.415 MB / 0.8631 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009653/0.6519, allocations: 87.83 kB / 0.8632 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001601/0.6521, allocations: 131.9 kB / 0.8633 GB, free: 12.26 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 86 * Number of states: 0 () * Number of discrete variables: 21 (Delta_T_in_Ramp.nextEventScaled,Delta_T_in_Ramp.nextEvent,$PRE.Delta_T_in_Ramp.nextEvent,Delta_T_in_Ramp.last,Delta_T_in_Ramp.b,Delta_T_in_Ramp.a,Delta_p_out_Ramp.nextEventScaled,Delta_p_out_Ramp.nextEvent,$PRE.Delta_p_out_Ramp.nextEvent,Delta_p_out_Ramp.last,Delta_p_out_Ramp.b,Delta_p_out_Ramp.a,rpmRamp.nextEventScaled,rpmRamp.nextEvent,$PRE.rpmRamp.nextEvent,rpmRamp.last,rpmRamp.b,rpmRamp.a,$whenCondition3,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (265): * Single equations (assignments): 261 * Array equations: 0 * Algorithm blocks: 3 * 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.0004778/0.6526, allocations: 418.6 kB / 0.8637 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000343/0.6529, allocations: 249 kB / 0.864 GB, free: 11.58 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 223 equation(s) and 215 variable(s). [/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia main/VLEFluid/MixtureCompatible/VLEFluid_ph.mo:55:3-60:21:writable] Error: (pump2.summary.inlet.steamQuality, pump2.fluidIn.cp, pump2.fluidIn.cv, pump2.fluidIn.beta, pump2.fluidIn.kappa, pump2.fluidIn.drhodp_hxi, pump2.fluidIn.drhodh_pxi, _, pump2.fluidIn.w, pump2.fluidIn.gamma) = ($cse25, $cse26, $cse27, $cse28, $cse29, $cse30, $cse31, $cse32, $cse33, $cse34) 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.002531/0.6554, allocations: 2.087 MB / 0.866 GB, free: 9.586 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.6096973214298487]