Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_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.005819/0.005819, allocations: 1.446 MB / 20.54 MB, free: 4.008 MB / 18.57 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.0009146/0.0009146, allocations: 91.45 kB / 24.16 MB, free: 396 kB / 18.57 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.0007174/0.0007174, allocations: 161.8 kB / 27.85 MB, free: 5.496 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.8491/0.8491, allocations: 177.1 MB / 208.6 MB, free: 2.977 MB / 186.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.693/0.693, allocations: 102.4 MB / 367.9 MB, free: 1.449 MB / 330.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 0.5.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,tolerance=1e-07,outputFormat="mat",numberOfIntervals=2500,variableFilter="PID.I.y|PID.resetValueI|PID.resetValueID|PID.resetValueP|PID.smoothPIDInput.y_aux|PID.smoothPIDOutput.y_aux|PID.smoothPIDOutput1.y_aux|Time|firstOrder.y|pump.rho_CF_ps|pump.rho_upstream_ps|pump.rpm|speedSensor.flange.phi",fileNamePrefix="ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.112e-06/1.112e-06, allocations: 0 / 0.5367 GB, free: 39.8 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.192e-05/2.303e-05, allocations: 5.688 kB / 0.5367 GB, free: 39.79 MB / 490.8 MB 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_WithEMotor): time 0.1101/0.1101, allocations: 58.4 MB / 0.5937 GB, free: 1.617 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01949/0.1296, allocations: 17.25 MB / 0.6105 GB, free: 308 kB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.1311, allocations: 55.62 kB / 0.6106 GB, free: 252 kB / 0.4949 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.002456/0.1335, allocations: 1.297 MB / 0.6119 GB, free: 14.94 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002193/0.1357, allocations: 1.545 MB / 0.6134 GB, free: 13.39 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00337/0.1391, allocations: 2.114 MB / 0.6154 GB, free: 11.27 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.002473/0.1415, allocations: 3.522 MB / 0.6189 GB, free: 7.734 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009283/0.1425, allocations: 1.164 MB / 0.62 GB, free: 6.539 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001409/0.1439, allocations: 1.909 MB / 0.6219 GB, free: 4.625 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001131/0.145, allocations: 1.373 MB / 0.6232 GB, free: 3.25 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002231/0.1452, allocations: 252 kB / 0.6235 GB, free: 3.004 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002407/0.1476, allocations: 1.703 MB / 0.6251 GB, free: 1.297 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004711/0.1481, allocations: 0.8212 MB / 0.6259 GB, free: 484 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006071/0.1487, allocations: 0.8568 MB / 0.6268 GB, free: 15.61 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.00394/0.1527, allocations: 4.926 MB / 0.6316 GB, free: 10.67 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1527, allocations: 4 kB / 0.6316 GB, free: 10.67 MB / 0.5262 GB Notification: Performance of FrontEnd: time 2.815e-06/0.1527, allocations: 4 kB / 0.6316 GB, free: 10.66 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.572e-05/0.1527, allocations: 0 / 0.6316 GB, free: 10.66 MB / 0.5262 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.004163/0.1569, allocations: 3.903 MB / 0.6354 GB, free: 6.688 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 4.996e-05/0.1569, allocations: 8.031 kB / 0.6354 GB, free: 6.68 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006313/0.1575, allocations: 406.6 kB / 0.6358 GB, free: 6.281 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003296/0.1608, allocations: 2.853 MB / 0.6386 GB, free: 3.363 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.71e-05/0.1609, allocations: 119.3 kB / 0.6387 GB, free: 3.246 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001603/0.1611, allocations: 148.3 kB / 0.6388 GB, free: 3.102 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003328/0.1644, allocations: 2.867 MB / 0.6416 GB, free: 15.86 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.61e-05/0.1644, allocations: 15.81 kB / 0.6416 GB, free: 15.84 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000108/0.1646, allocations: 72 kB / 0.6417 GB, free: 15.77 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.049e-05/0.1646, allocations: 44 kB / 0.6417 GB, free: 15.73 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002873/0.1675, allocations: 1.959 MB / 0.6437 GB, free: 13.75 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007095/0.1746, allocations: 10.68 MB / 0.6541 GB, free: 2.715 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002597/0.1771, allocations: 1.786 MB / 0.6558 GB, free: 0.8164 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008387/0.178, allocations: 0.7252 MB / 0.6565 GB, free: 48 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002284/0.1782, allocations: 80.89 kB / 0.6566 GB, free: 15.97 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002208/0.1804, allocations: 1.537 MB / 0.6581 GB, free: 14.34 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 5.61e-06/0.1804, allocations: 0 / 0.6581 GB, free: 14.34 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01473/0.1952, allocations: 13.3 MB / 0.6711 GB, free: 0.8633 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002638/0.1954, allocations: 0.6424 MB / 0.6717 GB, free: 72 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002551/0.198, allocations: 2.359 MB / 0.674 GB, free: 13.7 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.713e-05/0.1981, allocations: 53.7 kB / 0.6741 GB, free: 13.64 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007015/0.1988, allocations: 1.128 MB / 0.6752 GB, free: 12.5 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004539/0.1992, allocations: 0.7672 MB / 0.6759 GB, free: 11.73 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005175/0.1997, allocations: 0.4963 MB / 0.6764 GB, free: 11.22 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 9.076e-05/0.1998, allocations: 309.1 kB / 0.6767 GB, free: 10.92 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001079/0.2009, allocations: 0.8417 MB / 0.6775 GB, free: 10.06 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001458/0.2024, allocations: 1.625 MB / 0.6791 GB, free: 8.098 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04918/0.2515, allocations: 15.02 MB / 0.6938 GB, free: 8.707 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.634e-05/0.2516, allocations: 7.938 kB / 0.6938 GB, free: 8.699 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004677/0.2562, allocations: 3.144 MB / 0.6969 GB, free: 5.512 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.282e-05/0.2563, allocations: 79.39 kB / 0.6969 GB, free: 5.422 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003014/0.2593, allocations: 2.298 MB / 0.6992 GB, free: 3.09 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006665/0.26, allocations: 262.4 kB / 0.6994 GB, free: 2.824 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001005/0.261, allocations: 0.5538 MB / 0.7 GB, free: 2.27 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006641/0.2676, allocations: 6.094 MB / 0.7059 GB, free: 11.87 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.2687, allocations: 124 kB / 0.7061 GB, free: 11.75 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001547/0.2689, allocations: 144 kB / 0.7062 GB, free: 11.61 MB / 0.6043 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.001977/0.2709, allocations: 1.32 MB / 0.7075 GB, free: 10.27 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001322/0.2722, allocations: 1.617 MB / 0.7091 GB, free: 8.312 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04868/0.3209, allocations: 14.97 MB / 0.7237 GB, free: 8.977 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.591e-05/0.3209, allocations: 11.94 kB / 0.7237 GB, free: 8.965 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004155/0.325, allocations: 3.063 MB / 0.7267 GB, free: 5.859 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.263e-05/0.3251, allocations: 79.39 kB / 0.7268 GB, free: 5.77 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002822/0.3279, allocations: 2.204 MB / 0.7289 GB, free: 3.531 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005192/0.3284, allocations: 258.4 kB / 0.7292 GB, free: 3.27 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009302/0.3293, allocations: 0.5499 MB / 0.7297 GB, free: 2.719 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005827/0.3352, allocations: 5.923 MB / 0.7355 GB, free: 12.49 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.3362, allocations: 107.8 kB / 0.7356 GB, free: 12.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001491/0.3364, allocations: 144.1 kB / 0.7357 GB, free: 12.25 MB / 0.6355 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.0005899/0.337, allocations: 412.8 kB / 0.7361 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003147/0.3373, allocations: 298 kB / 0.7364 GB, free: 11.53 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 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.002641/0.3399, allocations: 2.251 MB / 0.7386 GB, free: 9.23 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.229376303963363] Failed to read output from testmodel.py, exit status != 0: 0.6940272878855467 0.6996353540000001 0.5456367320000001 Calling exit ...