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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo): time 0.01253/0.01253, allocations: 1.769 MB / 18.12 MB, free: 4.906 MB / 14.72 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.001221/0.001221, allocations: 99.72 kB / 21.35 MB, free: 1.699 MB / 14.72 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.001727/0.001727, allocations: 207.9 kB / 24.75 MB, free: 3.719 MB / 14.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 1.541/1.541, allocations: 230.6 MB / 258.5 MB, free: 13.12 MB / 206.1 MB " [Timeout remaining time 178] 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 1.204/1.204, allocations: 130.6 MB / 445.6 MB, free: 14.53 MB / 350.1 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 SMArtInt with version 0.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L2_OffDesign",fmuType="me",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",version="2.0",platforms={"static"}) [Timeout 800] "Notification: SMArtInt 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: 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: Automatically loaded package TILMedia 1.9.0 ClaRa due to uses annotation from ClaRa. 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. Warning: Requested package SMArtInt of version 0.5.1, but this package was already loaded with version 0.3.1. There are no conversion annotations for this version but 0.5.1 is newer than 0.3.1. There is a possibility that 0.3.1 remains backwards compatible, but it is not loaded so OpenModelica cannot verify this. Notification: Performance of FrontEnd - loaded program: time 0.4275/0.4275, allocations: 46.16 MB / 0.6545 GB, free: 30.45 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2076/0.6351, allocations: 89.05 MB / 0.7414 GB, free: 2.68 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign): time 0.02377/0.6589, allocations: 19.62 MB / 0.7606 GB, free: 14.99 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03834/0.6972, allocations: 21.3 MB / 0.7814 GB, free: 9.617 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004883/0.7021, allocations: 95.31 kB / 0.7815 GB, free: 9.523 MB / 0.5919 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.006915/0.709, allocations: 2.094 MB / 0.7835 GB, free: 7.418 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.009666/0.7187, allocations: 2.696 MB / 0.7862 GB, free: 4.707 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.008894/0.7276, allocations: 2.969 MB / 0.7891 GB, free: 1.734 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01219/0.7398, allocations: 6.613 MB / 0.7955 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004774/0.7445, allocations: 1.837 MB / 0.7973 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006695/0.7512, allocations: 2.693 MB / 0.7999 GB, free: 6.523 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006008/0.7572, allocations: 2.795 MB / 0.8027 GB, free: 3.719 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002139/0.7594, allocations: 464 kB / 0.8031 GB, free: 3.266 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008141/0.7675, allocations: 2.818 MB / 0.8059 GB, free: 456 kB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.003062/0.7706, allocations: 1.304 MB / 0.8071 GB, free: 15.14 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.005769/0.7763, allocations: 2.405 MB / 0.8095 GB, free: 12.72 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.01992/0.7963, allocations: 8.216 MB / 0.8175 GB, free: 4.473 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.7963, allocations: 0 / 0.8175 GB, free: 4.473 MB / 0.6232 GB Notification: Performance of FrontEnd: time 1.774e-06/0.7963, allocations: 0 / 0.8175 GB, free: 4.473 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0002976/0.7966, allocations: 0 / 0.8175 GB, free: 4.473 MB / 0.6232 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.02253/0.8191, allocations: 5.293 MB / 0.8227 GB, free: 15.08 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 6.562e-05/0.8192, allocations: 8.031 kB / 0.8227 GB, free: 15.07 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001978/0.8212, allocations: 416.2 kB / 0.8231 GB, free: 14.66 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004333/0.8255, allocations: 0.6223 MB / 0.8237 GB, free: 14.03 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01503/0.8405, allocations: 4.214 MB / 0.8278 GB, free: 9.754 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004367/0.8409, allocations: 177 kB / 0.828 GB, free: 9.578 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001277/0.8422, allocations: 231.9 kB / 0.8282 GB, free: 9.352 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02007/0.8623, allocations: 5.283 MB / 0.8334 GB, free: 3.434 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001608/0.8625, allocations: 31.7 kB / 0.8334 GB, free: 3.402 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008132/0.8633, allocations: 112 kB / 0.8335 GB, free: 3.293 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001419/0.8634, allocations: 79.98 kB / 0.8336 GB, free: 3.215 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01387/0.8773, allocations: 3.97 MB / 0.8375 GB, free: 15.23 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03508/0.9124, allocations: 23.03 MB / 0.8599 GB, free: 7.426 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01801/0.9304, allocations: 3.704 MB / 0.8636 GB, free: 3.547 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004525/0.9349, allocations: 1.19 MB / 0.8647 GB, free: 2.316 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001774/0.9367, allocations: 440 kB / 0.8651 GB, free: 1.852 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.4715/1.408, allocations: 3.091 MB / 0.8682 GB, free: 115.9 MB / 0.67 GB Notification: Performance of pre-optimization done (n=470): time 6.752e-06/1.408, allocations: 0.6562 kB / 0.8682 GB, free: 115.9 MB / 0.67 GB Notification: Performance of matching and sorting (n=471): time 0.04134/1.449, allocations: 21.67 MB / 0.8893 GB, free: 104.9 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002302/1.45, allocations: 0.8192 MB / 0.8901 GB, free: 103.9 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005523/1.455, allocations: 3.264 MB / 0.8933 GB, free: 102.7 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0008866/1.456, allocations: 60.89 kB / 0.8934 GB, free: 102.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001341/1.457, allocations: 1.611 MB / 0.8949 GB, free: 101.5 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002535/1.46, allocations: 1.582 MB / 0.8965 GB, free: 100.5 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002099/1.462, allocations: 0.9515 MB / 0.8974 GB, free: 100.1 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 6.039e-05/1.462, allocations: 303.4 kB / 0.8977 GB, free: 99.83 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004013/1.466, allocations: 1.647 MB / 0.8993 GB, free: 99.09 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004709/1.471, allocations: 2.905 MB / 0.9021 GB, free: 96.81 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008901/1.48, allocations: 5.027 MB / 0.9071 GB, free: 93.45 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-05/1.48, allocations: 11.28 kB / 0.9071 GB, free: 93.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.0151/1.495, allocations: 5.643 MB / 0.9126 GB, free: 91.22 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 8.439e-05/1.495, allocations: 89.2 kB / 0.9127 GB, free: 91.15 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.009522/1.505, allocations: 4.267 MB / 0.9168 GB, free: 89.49 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02456/1.529, allocations: 3.073 MB / 0.9198 GB, free: 88.74 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/1.533, allocations: 1.142 MB / 0.9209 GB, free: 88.51 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008625/1.542, allocations: 3.878 MB / 0.9247 GB, free: 85.57 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004305/1.546, allocations: 219.3 kB / 0.9249 GB, free: 85.45 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001001/1.547, allocations: 312 kB / 0.9252 GB, free: 85.36 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005498/1.553, allocations: 2.376 MB / 0.9276 GB, free: 83.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003672/1.556, allocations: 2.872 MB / 0.9304 GB, free: 81.48 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.007009/1.563, allocations: 4.977 MB / 0.9352 GB, free: 77.96 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.686e-05/1.563, allocations: 11.41 kB / 0.9352 GB, free: 77.96 MB / 0.67 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01056/1.574, allocations: 5.486 MB / 0.9406 GB, free: 73.62 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.061e-05/1.574, allocations: 91.12 kB / 0.9407 GB, free: 73.53 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007304/1.581, allocations: 4.124 MB / 0.9447 GB, free: 69.41 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02186/1.603, allocations: 2.736 MB / 0.9474 GB, free: 66.84 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004838/1.608, allocations: 1.168 MB / 0.9485 GB, free: 65.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008073/1.616, allocations: 3.575 MB / 0.952 GB, free: 62.09 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004012/1.62, allocations: 206.2 kB / 0.9522 GB, free: 61.91 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007902/1.621, allocations: 310.5 kB / 0.9525 GB, free: 61.61 MB / 0.67 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.001613/1.622, allocations: 0.5193 MB / 0.953 GB, free: 61.16 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001324/1.624, allocations: 444.9 kB / 0.9534 GB, free: 60.73 MB / 0.67 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.008936/1.633, allocations: 5.403 MB / 0.9587 GB, free: 55.82 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 798] [Calling sys.exit(0), Time elapsed: 5.464747565987636] Failed to read output from testmodel.py, exit status != 0: 1.6408767039974919 1.649612876 0.850854153 Calling exit ...