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.01751/0.01751, allocations: 1.771 MB / 18.83 MB, free: 4.332 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.001697/0.001697, allocations: 99.7 kB / 22.07 MB, free: 1.09 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.001995/0.001995, allocations: 208.2 kB / 25.45 MB, free: 2.797 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.479/1.479, allocations: 230.6 MB / 259.2 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.103/1.103, allocations: 130.6 MB / 446.3 MB, free: 14.97 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="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="cs",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.4391/0.4391, allocations: 46.16 MB / 0.6552 GB, free: 30.18 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2107/0.6498, allocations: 89.05 MB / 0.7421 GB, free: 2.789 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L2_OffDesign): time 0.02486/0.6747, allocations: 19.61 MB / 0.7613 GB, free: 15.1 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.03876/0.7134, allocations: 21.3 MB / 0.7821 GB, free: 9.727 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00642/0.7198, allocations: 99.25 kB / 0.7822 GB, free: 9.629 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.00771/0.7276, allocations: 2.094 MB / 0.7842 GB, free: 7.527 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.01059/0.7381, allocations: 2.696 MB / 0.7869 GB, free: 4.816 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.009287/0.7474, allocations: 2.97 MB / 0.7898 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.01335/0.7608, allocations: 6.606 MB / 0.7962 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005666/0.7665, allocations: 1.845 MB / 0.798 GB, free: 9.332 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007993/0.7744, allocations: 2.689 MB / 0.8006 GB, free: 6.633 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006412/0.7809, allocations: 2.792 MB / 0.8034 GB, free: 3.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.002093/0.783, allocations: 464 kB / 0.8038 GB, free: 3.379 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007704/0.7907, allocations: 2.823 MB / 0.8066 GB, free: 0.5547 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.002675/0.7933, allocations: 1.312 MB / 0.8078 GB, free: 15.24 MB / 0.6232 GB Notification: Performance of NFVerifyModel.verify: time 0.005555/0.7989, allocations: 2.394 MB / 0.8102 GB, free: 12.83 MB / 0.6232 GB Notification: Performance of NFConvertDAE.convert: time 0.01848/0.8174, allocations: 8.212 MB / 0.8182 GB, free: 4.59 MB / 0.6232 GB Notification: Performance of FrontEnd - DAE generated: time 1.125e-05/0.8174, allocations: 4 kB / 0.8182 GB, free: 4.586 MB / 0.6232 GB Notification: Performance of FrontEnd: time 2.254e-06/0.8174, allocations: 4 kB / 0.8182 GB, free: 4.582 MB / 0.6232 GB Notification: Performance of Transformations before backend: time 0.0002761/0.8177, allocations: 0 / 0.8182 GB, free: 4.582 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.01585/0.8335, allocations: 5.293 MB / 0.8234 GB, free: 15.19 MB / 0.6388 GB Notification: Performance of prepare preOptimizeDAE: time 5.492e-05/0.8336, allocations: 12.03 kB / 0.8234 GB, free: 15.18 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 0.0001166/0.8337, allocations: 68.78 kB / 0.8235 GB, free: 15.11 MB / 0.6388 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001324/0.835, allocations: 412.3 kB / 0.8238 GB, free: 14.7 MB / 0.6388 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/0.8379, allocations: 0.6184 MB / 0.8244 GB, free: 14.07 MB / 0.6388 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01304/0.8509, allocations: 4.221 MB / 0.8286 GB, free: 9.793 MB / 0.6388 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003739/0.8513, allocations: 180.7 kB / 0.8287 GB, free: 9.613 MB / 0.6388 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001144/0.8524, allocations: 232 kB / 0.829 GB, free: 9.387 MB / 0.6388 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0173/0.8697, allocations: 5.283 MB / 0.8341 GB, free: 3.469 MB / 0.6388 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.371e-05/0.8698, allocations: 31.7 kB / 0.8342 GB, free: 3.438 MB / 0.6388 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003165/0.8701, allocations: 112 kB / 0.8343 GB, free: 3.328 MB / 0.6388 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001137/0.8702, allocations: 76 kB / 0.8343 GB, free: 3.254 MB / 0.6388 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01319/0.8834, allocations: 3.974 MB / 0.8382 GB, free: 15.27 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03207/0.9155, allocations: 23.04 MB / 0.8607 GB, free: 7.453 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01178/0.9273, allocations: 3.704 MB / 0.8643 GB, free: 3.574 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003248/0.9305, allocations: 1.198 MB / 0.8655 GB, free: 2.336 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001298/0.9318, allocations: 427.8 kB / 0.8659 GB, free: 1.883 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.3805/1.312, allocations: 3.096 MB / 0.8689 GB, free: 116 MB / 0.67 GB Notification: Performance of pre-optimization done (n=470): time 8.216e-06/1.312, allocations: 1.469 kB / 0.8689 GB, free: 116 MB / 0.67 GB Notification: Performance of matching and sorting (n=471): time 0.04219/1.355, allocations: 21.66 MB / 0.8901 GB, free: 105 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0003082/1.355, allocations: 0.8283 MB / 0.8909 GB, free: 104 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006125/1.361, allocations: 3.264 MB / 0.8941 GB, free: 102.8 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 0.0009641/1.362, allocations: 60.52 kB / 0.8941 GB, free: 102.8 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.001708/1.364, allocations: 1.607 MB / 0.8957 GB, free: 101.6 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.002973/1.367, allocations: 1.588 MB / 0.8973 GB, free: 100.6 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002742/1.369, allocations: 0.9451 MB / 0.8982 GB, free: 100.2 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 5.776e-05/1.369, allocations: 307.8 kB / 0.8985 GB, free: 99.91 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004555/1.374, allocations: 1.645 MB / 0.9001 GB, free: 99.17 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005477/1.379, allocations: 2.906 MB / 0.9029 GB, free: 96.89 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009541/1.389, allocations: 5.026 MB / 0.9078 GB, free: 93.54 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.974e-05/1.389, allocations: 11.28 kB / 0.9078 GB, free: 93.54 MB / 0.67 GB Notification: Performance of matching and sorting (n=639) (initialization): time 0.01515/1.404, allocations: 5.637 MB / 0.9133 GB, free: 91.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001217/1.404, allocations: 84.98 kB / 0.9134 GB, free: 91.24 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01008/1.414, allocations: 4.272 MB / 0.9176 GB, free: 89.57 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02522/1.44, allocations: 3.07 MB / 0.9206 GB, free: 88.86 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004411/1.444, allocations: 1.145 MB / 0.9217 GB, free: 88.62 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008876/1.453, allocations: 3.869 MB / 0.9255 GB, free: 85.68 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003877/1.457, allocations: 226.9 kB / 0.9257 GB, free: 85.57 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001035/1.458, allocations: 308.4 kB / 0.926 GB, free: 85.47 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005499/1.463, allocations: 2.379 MB / 0.9283 GB, free: 84.11 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.004007/1.467, allocations: 2.881 MB / 0.9311 GB, free: 81.59 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009014/1.476, allocations: 4.972 MB / 0.936 GB, free: 78.07 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.818e-05/1.476, allocations: 11.03 kB / 0.936 GB, free: 78.07 MB / 0.67 GB Notification: Performance of matching and sorting (n=639) (initialization_lambda0): time 0.01274/1.489, allocations: 5.486 MB / 0.9414 GB, free: 73.66 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.797e-05/1.489, allocations: 88.95 kB / 0.9414 GB, free: 73.57 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.008443/1.498, allocations: 4.131 MB / 0.9455 GB, free: 69.44 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02164/1.519, allocations: 2.725 MB / 0.9481 GB, free: 66.88 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00412/1.523, allocations: 1.17 MB / 0.9493 GB, free: 65.78 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007931/1.531, allocations: 3.576 MB / 0.9528 GB, free: 62.13 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004348/1.536, allocations: 210.8 kB / 0.953 GB, free: 61.94 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00104/1.537, allocations: 312.4 kB / 0.9533 GB, free: 61.64 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.001834/1.539, allocations: 0.5159 MB / 0.9538 GB, free: 61.2 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/1.54, allocations: 448.9 kB / 0.9542 GB, free: 60.76 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.009509/1.55, allocations: 5.393 MB / 0.9595 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.224899796012323] Failed to read output from testmodel.py, exit status != 0: 1.5604894430143759 1.567176555 0.747235795 Calling exit ...