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.007928/0.007928, 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.00111/0.00111, allocations: 86.72 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.0009466/0.0009466, allocations: 168 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.9234/0.9234, allocations: 177.1 MB / 210 MB, free: 3.602 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.608/0.608, allocations: 102.4 MB / 369.5 MB, free: 332 kB / 330.7 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 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_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.542e-06/1.542e-06, allocations: 0 / 469.9 MB, free: 19 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.984e-05/2.138e-05, allocations: 3.438 kB / 469.9 MB, free: 18.99 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.1252/0.1253, allocations: 62.15 MB / 0.5196 GB, free: 9.809 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.0175/0.1428, allocations: 18.03 MB / 0.5372 GB, free: 7.734 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00108/0.1438, allocations: 59.56 kB / 0.5373 GB, free: 7.676 MB / 458.8 MB [/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.002262/0.1461, allocations: 1.314 MB / 0.5386 GB, free: 6.355 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001936/0.148, allocations: 1.541 MB / 0.5401 GB, free: 4.805 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003028/0.1511, allocations: 2.111 MB / 0.5421 GB, free: 2.688 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002525/0.1536, allocations: 3.52 MB / 0.5456 GB, free: 15.15 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001213/0.1548, allocations: 1.246 MB / 0.5468 GB, free: 13.88 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1124/0.2672, allocations: 47.13 MB / 0.5928 GB, free: 15.9 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001414/0.2686, allocations: 1.25 MB / 0.594 GB, free: 14.65 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002847/0.2689, allocations: 200 kB / 0.5942 GB, free: 14.45 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00254/0.2714, allocations: 1.637 MB / 0.5958 GB, free: 12.81 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004272/0.2718, allocations: 0.712 MB / 0.5965 GB, free: 12.1 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0006784/0.2725, allocations: 0.7749 MB / 0.5973 GB, free: 11.32 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003677/0.2762, allocations: 3.522 MB / 0.6007 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2762, allocations: 0 / 0.6007 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2762, allocations: 0 / 0.6007 GB, free: 7.785 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 3.884e-05/0.2762, allocations: 3.938 kB / 0.6007 GB, free: 7.781 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.003709/0.2799, allocations: 3.89 MB / 0.6045 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.233e-05/0.28, allocations: 8.031 kB / 0.6045 GB, free: 3.797 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004463/0.2804, allocations: 458.7 kB / 0.605 GB, free: 3.348 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001721/0.2822, allocations: 1.774 MB / 0.6067 GB, free: 1.492 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.782e-05/0.2822, allocations: 119.3 kB / 0.6068 GB, free: 1.375 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001542/0.2824, allocations: 164.3 kB / 0.607 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.2854, allocations: 2.629 MB / 0.6095 GB, free: 14.11 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.727e-05/0.2855, allocations: 19.81 kB / 0.6096 GB, free: 14.09 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000103/0.2856, allocations: 68 kB / 0.6096 GB, free: 14.03 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.081e-05/0.2856, allocations: 44 kB / 0.6097 GB, free: 13.98 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002274/0.2879, allocations: 1.3 MB / 0.6109 GB, free: 12.66 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007635/0.2955, allocations: 14.35 MB / 0.6249 GB, free: 13.85 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002275/0.2978, allocations: 1.449 MB / 0.6264 GB, free: 12.25 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005373/0.2983, allocations: 492.7 kB / 0.6268 GB, free: 11.71 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001765/0.2985, allocations: 80.97 kB / 0.6269 GB, free: 11.63 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001852/0.3004, allocations: 1.272 MB / 0.6281 GB, free: 10.25 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 4.278e-06/0.3004, allocations: 4 kB / 0.6282 GB, free: 10.25 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.01191/0.3123, allocations: 11.69 MB / 0.6396 GB, free: 14.38 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002158/0.3125, allocations: 0.6926 MB / 0.6402 GB, free: 13.52 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001848/0.3143, allocations: 2.151 MB / 0.6423 GB, free: 11.36 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 8.866e-05/0.3144, allocations: 53.7 kB / 0.6424 GB, free: 11.3 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006861/0.3151, allocations: 1.235 MB / 0.6436 GB, free: 10.05 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004488/0.3156, allocations: 0.7784 MB / 0.6444 GB, free: 9.266 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004901/0.316, allocations: 0.5106 MB / 0.6449 GB, free: 8.746 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 9.46e-05/0.3161, allocations: 480.8 kB / 0.6453 GB, free: 8.273 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006581/0.3168, allocations: 477.5 kB / 0.6458 GB, free: 7.793 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001127/0.3179, allocations: 1.582 MB / 0.6473 GB, free: 5.727 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002405/0.3203, allocations: 2.455 MB / 0.6497 GB, free: 2.816 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.828e-06/0.3203, allocations: 7.938 kB / 0.6497 GB, free: 2.809 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003147/0.3235, allocations: 2.372 MB / 0.652 GB, free: 400 kB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.32e-05/0.3235, allocations: 87.41 kB / 0.6521 GB, free: 300 kB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.2124/0.5359, allocations: 1.507 MB / 0.6536 GB, free: 119.5 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006464/0.5366, allocations: 255.5 kB / 0.6538 GB, free: 119.4 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009794/0.5375, allocations: 0.5551 MB / 0.6544 GB, free: 119.4 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00459/0.5421, allocations: 7.129 MB / 0.6613 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001004/0.5431, allocations: 113.9 kB / 0.6615 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001435/0.5433, allocations: 142.1 kB / 0.6616 GB, free: 113.8 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.001002/0.5443, allocations: 0.6083 MB / 0.6622 GB, free: 113.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0008496/0.5451, allocations: 1.59 MB / 0.6637 GB, free: 112.2 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002003/0.5471, allocations: 2.437 MB / 0.6661 GB, free: 110.8 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.127e-06/0.5471, allocations: 5.688 kB / 0.6661 GB, free: 110.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.00284/0.55, allocations: 2.353 MB / 0.6684 GB, free: 110.6 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.935e-05/0.55, allocations: 85.61 kB / 0.6685 GB, free: 110.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001857/0.5519, allocations: 1.477 MB / 0.6699 GB, free: 110.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004768/0.5524, allocations: 227.3 kB / 0.6702 GB, free: 110.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000943/0.5533, allocations: 0.5512 MB / 0.6707 GB, free: 110.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004297/0.5576, allocations: 7.077 MB / 0.6776 GB, free: 104.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007335/0.5583, allocations: 112.5 kB / 0.6777 GB, free: 104.6 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001298/0.5585, allocations: 148.2 kB / 0.6779 GB, free: 104.6 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.0004004/0.5589, allocations: 498.8 kB / 0.6783 GB, free: 104.3 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003382/0.5592, allocations: 346.4 kB / 0.6787 GB, free: 104.3 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.00203/0.5612, allocations: 1.974 MB / 0.6806 GB, free: 104.1 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.156885353848338]