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.01196/0.01196, allocations: 1.447 MB / 20.8 MB, free: 3.594 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.0069/0.0069, allocations: 76.77 kB / 24.44 MB, free: 7.562 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.001465/0.001465, allocations: 168.7 kB / 28.2 MB, free: 4.664 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 1.485/1.485, allocations: 177.2 MB / 209 MB, free: 2.805 MB / 186.7 MB " [Timeout remaining time 178] 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 1.064/1.064, allocations: 102.5 MB / 368.3 MB, free: 1.277 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.593e-06/1.593e-06, allocations: 0 / 468.3 MB, free: 13.51 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.347e-05/3.507e-05, allocations: 3.297 kB / 468.3 MB, free: 13.5 MB / 442.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.1899/0.1899, allocations: 58.62 MB / 0.5146 GB, free: 2.855 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2896/0.4795, allocations: 17.25 MB / 0.5314 GB, free: 69.07 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002582/0.4821, allocations: 55.56 kB / 0.5315 GB, free: 69.05 MB / 490.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.003408/0.4855, allocations: 1.308 MB / 0.5327 GB, free: 68.47 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.004134/0.4896, allocations: 1.539 MB / 0.5342 GB, free: 67.58 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005466/0.4951, allocations: 2.095 MB / 0.5363 GB, free: 66.52 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.004565/0.4997, allocations: 3.527 MB / 0.5397 GB, free: 64.77 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001624/0.5013, allocations: 1.22 MB / 0.5409 GB, free: 63.98 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002479/0.5038, allocations: 1.906 MB / 0.5428 GB, free: 63.15 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002198/0.506, allocations: 1.372 MB / 0.5441 GB, free: 62.72 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005117/0.5065, allocations: 250.8 kB / 0.5444 GB, free: 62.72 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09316/0.5996, allocations: 17.19 MB / 0.5611 GB, free: 53.29 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001988/0.6016, allocations: 0.8253 MB / 0.5619 GB, free: 52.81 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003783/0.6054, allocations: 0.8607 MB / 0.5628 GB, free: 52.38 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.0124/0.6178, allocations: 4.933 MB / 0.5676 GB, free: 50.57 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.341e-06/0.6178, allocations: 0 / 0.5676 GB, free: 50.57 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.334e-06/0.6178, allocations: 0 / 0.5676 GB, free: 50.57 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0002022/0.618, allocations: 2.5 kB / 0.5676 GB, free: 50.57 MB / 490.8 MB 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.01221/0.6302, allocations: 3.901 MB / 0.5714 GB, free: 47.91 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.6303, allocations: 14 kB / 0.5714 GB, free: 47.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001726/0.632, allocations: 0.5141 MB / 0.5719 GB, free: 47.64 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00572/0.6377, allocations: 2.929 MB / 0.5748 GB, free: 45.69 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.6378, allocations: 116.2 kB / 0.5749 GB, free: 45.64 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002272/0.6381, allocations: 166.9 kB / 0.5751 GB, free: 45.58 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005444/0.6435, allocations: 2.855 MB / 0.5778 GB, free: 43.36 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.438e-05/0.6436, allocations: 13.31 kB / 0.5779 GB, free: 43.35 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000192/0.6438, allocations: 77.77 kB / 0.5779 GB, free: 43.29 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.071e-05/0.6438, allocations: 43.47 kB / 0.578 GB, free: 43.29 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004758/0.6486, allocations: 1.963 MB / 0.5799 GB, free: 41.62 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01212/0.6607, allocations: 10.73 MB / 0.5904 GB, free: 30.57 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004266/0.665, allocations: 1.773 MB / 0.5921 GB, free: 28.71 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001285/0.6663, allocations: 0.7281 MB / 0.5928 GB, free: 27.94 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002754/0.6666, allocations: 83.62 kB / 0.5929 GB, free: 27.86 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003422/0.67, allocations: 1.533 MB / 0.5944 GB, free: 26.24 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 8.146e-06/0.67, allocations: 0 / 0.5944 GB, free: 26.24 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.02434/0.6943, allocations: 13.45 MB / 0.6075 GB, free: 12.62 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000148/0.6945, allocations: 0.6385 MB / 0.6082 GB, free: 11.84 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003758/0.6982, allocations: 2.363 MB / 0.6105 GB, free: 9.461 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.000355/0.6986, allocations: 49.7 kB / 0.6105 GB, free: 9.406 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008613/0.6994, allocations: 1.128 MB / 0.6116 GB, free: 8.266 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008144/0.7003, allocations: 0.7628 MB / 0.6124 GB, free: 7.496 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000844/0.7011, allocations: 0.4951 MB / 0.6128 GB, free: 6.996 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 4.542e-05/0.7011, allocations: 305.1 kB / 0.6131 GB, free: 6.695 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001432/0.7026, allocations: 0.8417 MB / 0.6139 GB, free: 5.84 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00179/0.7044, allocations: 1.631 MB / 0.6155 GB, free: 3.863 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1082/0.8126, allocations: 15.01 MB / 0.6302 GB, free: 5.379 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.027e-05/0.8126, allocations: 8 kB / 0.6302 GB, free: 5.371 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.009285/0.8219, allocations: 3.24 MB / 0.6334 GB, free: 2.098 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001185/0.822, allocations: 83.38 kB / 0.6335 GB, free: 2.004 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005955/0.828, allocations: 2.301 MB / 0.6357 GB, free: 15.67 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001781/0.8298, allocations: 341 kB / 0.636 GB, free: 15.33 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002047/0.8318, allocations: 0.5537 MB / 0.6366 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01352/0.8453, allocations: 6.126 MB / 0.6425 GB, free: 8.348 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002361/0.8477, allocations: 119.7 kB / 0.6427 GB, free: 8.23 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000509/0.8482, allocations: 143.9 kB / 0.6428 GB, free: 8.09 MB / 0.5105 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.003667/0.8519, allocations: 1.32 MB / 0.6441 GB, free: 6.754 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00294/0.8548, allocations: 1.609 MB / 0.6457 GB, free: 4.805 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1108/0.9657, allocations: 14.96 MB / 0.6603 GB, free: 5.5 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.606e-05/0.9657, allocations: 8 kB / 0.6603 GB, free: 5.492 MB / 0.5262 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.009415/0.9751, allocations: 3.145 MB / 0.6634 GB, free: 2.301 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001084/0.9752, allocations: 87.28 kB / 0.6634 GB, free: 2.203 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00564/0.9809, allocations: 2.215 MB / 0.6656 GB, free: 15.95 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.9823, allocations: 298.4 kB / 0.6659 GB, free: 15.65 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002084/0.9844, allocations: 0.5499 MB / 0.6664 GB, free: 15.1 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01266/0.997, allocations: 5.931 MB / 0.6722 GB, free: 8.867 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002405/0.9994, allocations: 115.7 kB / 0.6723 GB, free: 8.754 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004594/0.9999, allocations: 143.9 kB / 0.6725 GB, free: 8.613 MB / 0.5418 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.001062/1.001, allocations: 416.9 kB / 0.6729 GB, free: 8.188 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001239/1.002, allocations: 342 kB / 0.6732 GB, free: 7.852 MB / 0.5418 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.005429/1.008, allocations: 2.25 MB / 0.6754 GB, free: 5.625 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.954386450001039]