Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor.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.01485/0.01485, 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.001602/0.001602, 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.002372/0.002372, allocations: 208.2 kB / 25.44 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.486/1.486, allocations: 230.6 MB / 259.2 MB, free: 13.13 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.124/1.124, allocations: 130.6 MB / 446.3 MB, free: 14.68 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_L1_WithEMotor,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,fileNamePrefix="ClaRa_ClaRa_Components_TurboMachines_Pumps_Check_TestPump_L1_WithEMotor",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.4/0.4, allocations: 46.16 MB / 0.6552 GB, free: 30.34 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2002/0.6002, allocations: 89.04 MB / 0.7421 GB, free: 2.688 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.01727/0.6175, allocations: 13.06 MB / 0.7549 GB, free: 5.57 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.03016/0.6476, allocations: 18.11 MB / 0.7726 GB, free: 3.402 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002634/0.6503, allocations: 55.62 kB / 0.7726 GB, free: 3.348 MB / 0.5763 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.004242/0.6545, allocations: 1.337 MB / 0.7739 GB, free: 2.004 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.004984/0.6595, allocations: 1.461 MB / 0.7754 GB, free: 0.5352 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.005992/0.6655, allocations: 2.025 MB / 0.7773 GB, free: 14.51 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005998/0.6715, allocations: 3.43 MB / 0.7807 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002135/0.6736, allocations: 1.113 MB / 0.7818 GB, free: 9.934 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002644/0.6763, allocations: 1.42 MB / 0.7832 GB, free: 8.508 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003002/0.6793, allocations: 1.68 MB / 0.7848 GB, free: 6.82 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0006407/0.6799, allocations: 248 kB / 0.785 GB, free: 6.578 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005064/0.685, allocations: 2.164 MB / 0.7871 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001081/0.6861, allocations: 0.8056 MB / 0.7879 GB, free: 3.602 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002009/0.6881, allocations: 1.406 MB / 0.7893 GB, free: 2.188 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.00988/0.6979, allocations: 4.985 MB / 0.7942 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.22e-06/0.698, allocations: 0 / 0.7942 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.392e-06/0.698, allocations: 0 / 0.7942 GB, free: 13.18 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.0001304/0.6981, allocations: 4 kB / 0.7942 GB, free: 13.18 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 460 * Number of variables: 460 Notification: Performance of Generate backend data structure: time 0.01176/0.7099, allocations: 3.676 MB / 0.7978 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 6.14e-05/0.7099, allocations: 15.97 kB / 0.7978 GB, free: 9.402 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.215e-05/0.71, allocations: 39.08 kB / 0.7978 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005323/0.7105, allocations: 245.8 kB / 0.7981 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.7123, allocations: 406.5 kB / 0.7984 GB, free: 8.715 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008857/0.7212, allocations: 2.961 MB / 0.8013 GB, free: 5.688 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000179/0.7214, allocations: 123 kB / 0.8014 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003758/0.7218, allocations: 148 kB / 0.8016 GB, free: 5.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008181/0.7299, allocations: 2.578 MB / 0.8041 GB, free: 2.539 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.975e-05/0.73, allocations: 11.88 kB / 0.8041 GB, free: 2.527 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002455/0.7302, allocations: 67.98 kB / 0.8042 GB, free: 2.461 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.093e-05/0.7303, allocations: 44 kB / 0.8042 GB, free: 2.418 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00789/0.7382, allocations: 1.913 MB / 0.8061 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01859/0.7568, allocations: 11.64 MB / 0.8175 GB, free: 4.426 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.007152/0.7639, allocations: 1.951 MB / 0.8194 GB, free: 2.316 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002128/0.7661, allocations: 0.6703 MB / 0.82 GB, free: 1.617 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004134/0.7665, allocations: 162 kB / 0.8202 GB, free: 1.441 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005501/0.772, allocations: 1.463 MB / 0.8216 GB, free: 15.9 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=225): time 7.544e-06/0.772, allocations: 4 kB / 0.8216 GB, free: 15.89 MB / 0.6388 GB Notification: Performance of matching and sorting (n=229): time 0.02807/0.8001, allocations: 13.41 MB / 0.8347 GB, free: 2.273 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004322/0.8005, allocations: 0.6467 MB / 0.8353 GB, free: 1.477 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003759/0.8042, allocations: 2.411 MB / 0.8377 GB, free: 15.04 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0003832/0.8046, allocations: 53.7 kB / 0.8377 GB, free: 14.98 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.8057, allocations: 1.113 MB / 0.8388 GB, free: 13.86 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009732/0.8067, allocations: 0.7745 MB / 0.8396 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008439/0.8075, allocations: 0.4926 MB / 0.8401 GB, free: 12.58 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001279/0.8077, allocations: 301.1 kB / 0.8404 GB, free: 12.28 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001746/0.8094, allocations: 0.7876 MB / 0.8411 GB, free: 11.49 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002372/0.8118, allocations: 1.487 MB / 0.8426 GB, free: 9.691 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1119/0.9237, allocations: 14.99 MB / 0.8572 GB, free: 10.34 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.782e-05/0.9237, allocations: 4 kB / 0.8572 GB, free: 10.33 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.008147/0.9318, allocations: 3.067 MB / 0.8602 GB, free: 7.23 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 0.000107/0.9319, allocations: 79.39 kB / 0.8603 GB, free: 7.141 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005876/0.9378, allocations: 2.227 MB / 0.8625 GB, free: 4.891 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.9391, allocations: 270.3 kB / 0.8627 GB, free: 4.617 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00205/0.9411, allocations: 0.5615 MB / 0.8633 GB, free: 4.055 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3718/1.313, allocations: 6.493 MB / 0.8696 GB, free: 115.9 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002129/1.315, allocations: 125.2 kB / 0.8697 GB, free: 115.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003296/1.315, allocations: 144.9 kB / 0.8699 GB, free: 115.9 MB / 0.67 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002896/1.318, allocations: 1.256 MB / 0.8711 GB, free: 115.9 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002064/1.32, allocations: 1.474 MB / 0.8725 GB, free: 115 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.105/1.425, allocations: 14.95 MB / 0.8871 GB, free: 113.6 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.109e-05/1.425, allocations: 5.375 kB / 0.8871 GB, free: 113.6 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.00681/1.432, allocations: 2.985 MB / 0.8901 GB, free: 112.6 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 6.282e-05/1.432, allocations: 90.42 kB / 0.8901 GB, free: 112.6 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004615/1.437, allocations: 2.134 MB / 0.8922 GB, free: 111.8 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00104/1.438, allocations: 259.6 kB / 0.8925 GB, free: 111.7 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001728/1.44, allocations: 0.5519 MB / 0.893 GB, free: 111.7 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009713/1.449, allocations: 6.331 MB / 0.8992 GB, free: 106.3 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001882/1.451, allocations: 110.1 kB / 0.8993 GB, free: 106.2 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000248/1.451, allocations: 143.9 kB / 0.8994 GB, free: 106.2 MB / 0.67 GB Warning: Assuming fixed start value for the following 1 variables: PID.switch_OnOff.u2:DISCRETE(flow=false fixed = true ) \"Connector of Boolean input signal\" type: Boolean Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 98 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.PID.time_lag_I_activation.entryTime,$PRE.PID.switch_OnOff.u2,PID.I_activation.y,PID.time_lag_I_activation.entryTime,PID.switch_OnOff.u2,ramp1.nextEventScaled,ramp1.nextEvent,$PRE.ramp1.nextEvent,ramp1.last,ramp1.b,ramp1.a,ramp.nextEventScaled,ramp.nextEvent,$PRE.ramp.nextEvent,ramp.last,ramp.b,ramp.a,$whenCondition2,$whenCondition1,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (303): * Single equations (assignments): 298 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,6,100.0%), (1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,11)} Notification: Performance of prepare postOptimizeDAE: time 0.0007046/1.452, allocations: 418 kB / 0.8998 GB, free: 105.9 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005342/1.453, allocations: 301.2 kB / 0.9001 GB, free: 105.9 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 254 equation(s) and 246 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) = ($cse25, $cse26, $cse27, $cse28, $cse29, $cse30, $cse31, $cse32, $cse33, $cse34) has size 9 but 7 variables ($whenCondition1, ramp.a, ramp.b, ramp.last, ramp.nextEvent, ramp.nextEventScaled, ramp.timeScaled) Error: Internal error Transformation Module PFPlusExt index Reduction Method Pantelides failed! Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004396/1.457, allocations: 2.247 MB / 0.9023 GB, free: 104.8 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 5.159639490011614] Failed to read output from testmodel.py, exit status != 0: 1.465060687973164 1.476497979 0.775822616 Calling exit ...