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.008134/0.008134, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.0008127/0.0008127, allocations: 88.8 kB / 25.15 MB, free: 6.316 MB / 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.0008673/0.0008673, allocations: 168.1 kB / 29.06 MB, free: 3.348 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.9945/0.9945, allocations: 177.1 MB / 210 MB, free: 3.574 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6354/0.6354, allocations: 102.4 MB / 369.5 MB, free: 388 kB / 330.7 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 1.0.0 (/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_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_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 470 MB, free: 18.95 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.141e-05/3.32e-05, allocations: 3.297 kB / 470 MB, free: 18.95 MB / 410.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.1228/0.1228, allocations: 62.15 MB / 0.5196 GB, free: 9.77 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02135/0.1442, allocations: 18.03 MB / 0.5372 GB, free: 7.695 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001843/0.146, allocations: 55.62 kB / 0.5373 GB, free: 7.641 MB / 458.8 MB [/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.002991/0.149, allocations: 1.31 MB / 0.5386 GB, free: 6.324 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003008/0.152, allocations: 1.553 MB / 0.5401 GB, free: 4.762 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004076/0.1561, allocations: 2.107 MB / 0.5422 GB, free: 2.648 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.004216/0.1603, allocations: 3.523 MB / 0.5456 GB, free: 15.11 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001775/0.1621, allocations: 1.242 MB / 0.5468 GB, free: 13.84 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1119/0.274, allocations: 47.13 MB / 0.5928 GB, free: 15.88 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002284/0.2763, allocations: 1.25 MB / 0.5941 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0006978/0.277, allocations: 200 kB / 0.5942 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003744/0.2808, allocations: 1.629 MB / 0.5958 GB, free: 12.8 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0006237/0.2814, allocations: 0.7159 MB / 0.5965 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001697/0.2831, allocations: 0.7749 MB / 0.5973 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.006698/0.2898, allocations: 3.519 MB / 0.6007 GB, free: 7.773 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/0.2898, allocations: 3.938 kB / 0.6007 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.795e-06/0.2898, allocations: 0 / 0.6007 GB, free: 7.77 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0001022/0.2899, allocations: 0 / 0.6007 GB, free: 7.77 MB / 0.5105 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.004851/0.2947, allocations: 3.89 MB / 0.6045 GB, free: 3.793 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.2948, allocations: 8.031 kB / 0.6045 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005436/0.2953, allocations: 458.7 kB / 0.605 GB, free: 3.336 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002183/0.2975, allocations: 1.778 MB / 0.6067 GB, free: 1.477 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.979e-05/0.2976, allocations: 119.2 kB / 0.6068 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001581/0.2978, allocations: 160.3 kB / 0.607 GB, free: 1.203 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003528/0.3013, allocations: 2.637 MB / 0.6096 GB, free: 14.09 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.086e-05/0.3013, allocations: 19.81 kB / 0.6096 GB, free: 14.07 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001081/0.3014, allocations: 64 kB / 0.6096 GB, free: 14.01 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.334e-05/0.3015, allocations: 44 kB / 0.6097 GB, free: 13.97 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002346/0.3038, allocations: 1.308 MB / 0.611 GB, free: 12.64 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009252/0.3131, allocations: 14.35 MB / 0.625 GB, free: 13.83 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002484/0.3156, allocations: 1.445 MB / 0.6264 GB, free: 12.23 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005457/0.3161, allocations: 488.7 kB / 0.6268 GB, free: 11.7 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002023/0.3163, allocations: 84.95 kB / 0.6269 GB, free: 11.61 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001869/0.3182, allocations: 1.268 MB / 0.6282 GB, free: 10.24 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 4.378e-06/0.3182, allocations: 0 / 0.6282 GB, free: 10.24 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.01334/0.3315, allocations: 11.7 MB / 0.6396 GB, free: 14.35 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002152/0.3317, allocations: 0.6925 MB / 0.6403 GB, free: 13.5 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/0.3337, allocations: 2.151 MB / 0.6424 GB, free: 11.33 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.3339, allocations: 53.7 kB / 0.6424 GB, free: 11.27 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.000743/0.3346, allocations: 1.239 MB / 0.6436 GB, free: 10.02 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008123/0.3354, allocations: 0.7745 MB / 0.6444 GB, free: 9.238 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005126/0.3359, allocations: 0.5145 MB / 0.6449 GB, free: 8.715 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001089/0.336, allocations: 480.8 kB / 0.6453 GB, free: 8.242 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007244/0.3368, allocations: 469.6 kB / 0.6458 GB, free: 7.77 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.338, allocations: 1.594 MB / 0.6474 GB, free: 5.691 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002489/0.3405, allocations: 2.443 MB / 0.6497 GB, free: 2.793 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-05/0.3405, allocations: 8 kB / 0.6497 GB, free: 2.785 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00369/0.3442, allocations: 2.395 MB / 0.6521 GB, free: 352 kB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 6.25e-05/0.3442, allocations: 75.39 kB / 0.6522 GB, free: 264 kB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2415/0.5857, allocations: 1.498 MB / 0.6536 GB, free: 119.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008719/0.5866, allocations: 257.1 kB / 0.6539 GB, free: 119.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.5881, allocations: 0.5567 MB / 0.6544 GB, free: 119.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006425/0.5945, allocations: 7.115 MB / 0.6614 GB, free: 113.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00159/0.5961, allocations: 115.2 kB / 0.6615 GB, free: 113.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002334/0.5963, allocations: 153.6 kB / 0.6616 GB, free: 113.7 MB / 0.5574 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.001381/0.5977, allocations: 0.6068 MB / 0.6622 GB, free: 113.5 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001242/0.5989, allocations: 1.585 MB / 0.6638 GB, free: 112 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002809/0.6017, allocations: 2.439 MB / 0.6661 GB, free: 110.6 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.479e-05/0.6018, allocations: 8.531 kB / 0.6661 GB, free: 110.6 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004263/0.606, allocations: 2.348 MB / 0.6684 GB, free: 110.4 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.707e-05/0.6061, allocations: 85.56 kB / 0.6685 GB, free: 110.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002653/0.6087, allocations: 1.47 MB / 0.67 GB, free: 110.1 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000754/0.6095, allocations: 238.8 kB / 0.6702 GB, free: 110.1 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001398/0.6109, allocations: 0.5536 MB / 0.6707 GB, free: 110.1 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006097/0.617, allocations: 7.077 MB / 0.6776 GB, free: 104.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.6184, allocations: 112.6 kB / 0.6777 GB, free: 104.5 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001757/0.6186, allocations: 144.1 kB / 0.6779 GB, free: 104.5 MB / 0.5574 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.0006726/0.6193, allocations: 0.4904 MB / 0.6784 GB, free: 104.2 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004346/0.6197, allocations: 347.7 kB / 0.6787 GB, free: 104.2 MB / 0.5574 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.00236/0.6221, allocations: 1.964 MB / 0.6806 GB, free: 103.9 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4262734376825392]