Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump.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.009994/0.009994, allocations: 1.781 MB / 18.83 MB, free: 4.262 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.001141/0.001141, allocations: 107.6 kB / 22.07 MB, free: 1.016 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.001436/0.001436, allocations: 214.9 kB / 25.45 MB, free: 3.289 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.415/1.415, allocations: 230.6 MB / 259.3 MB, free: 13.14 MB / 206.1 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.112/1.112, allocations: 130.5 MB / 446.3 MB, free: 14.63 MB / 350.1 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.3.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,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.Electrical.Check.TestAsynchronousMotorWithPump") translateModel(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump,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.Electrical.Check.TestAsynchronousMotorWithPump") [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.3896/0.3896, allocations: 46.15 MB / 0.6557 GB, free: 30.64 MB / 0.4982 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.185/0.5746, allocations: 89.05 MB / 0.7426 GB, free: 2.367 MB / 0.545 GB Notification: Performance of NFInst.instantiate(ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump): time 0.0165/0.5911, allocations: 13.07 MB / 0.7554 GB, free: 5.238 MB / 0.5607 GB Notification: Performance of NFInst.instExpressions: time 0.0281/0.6192, allocations: 18.11 MB / 0.7731 GB, free: 3.066 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002667/0.6218, allocations: 59.56 kB / 0.7731 GB, free: 3.008 MB / 0.5763 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.003744/0.6256, allocations: 1.333 MB / 0.7744 GB, free: 1.668 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.003874/0.6294, allocations: 1.472 MB / 0.7759 GB, free: 192 kB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.00538/0.6348, allocations: 2.017 MB / 0.7779 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005019/0.6398, allocations: 3.42 MB / 0.7812 GB, free: 10.74 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002217/0.6421, allocations: 1.113 MB / 0.7823 GB, free: 9.602 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002707/0.6448, allocations: 1.42 MB / 0.7837 GB, free: 8.176 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002964/0.6477, allocations: 1.679 MB / 0.7853 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0008172/0.6485, allocations: 248 kB / 0.7855 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004859/0.6534, allocations: 2.171 MB / 0.7877 GB, free: 4.078 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001333/0.6547, allocations: 0.8056 MB / 0.7885 GB, free: 3.27 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002523/0.6573, allocations: 1.406 MB / 0.7898 GB, free: 1.855 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.007903/0.6652, allocations: 4.978 MB / 0.7947 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.6652, allocations: 0 / 0.7947 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.653e-06/0.6652, allocations: 0 / 0.7947 GB, free: 12.86 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.986e-05/0.6652, allocations: 0 / 0.7947 GB, free: 12.86 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.007158/0.6724, allocations: 3.68 MB / 0.7983 GB, free: 9.094 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.6724, allocations: 12.03 kB / 0.7983 GB, free: 9.082 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001112/0.6735, allocations: 406.5 kB / 0.7987 GB, free: 8.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004937/0.6785, allocations: 2.959 MB / 0.8016 GB, free: 5.66 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/0.6786, allocations: 119.3 kB / 0.8017 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002358/0.6788, allocations: 156.1 kB / 0.8018 GB, free: 5.391 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005499/0.6843, allocations: 2.574 MB / 0.8043 GB, free: 2.512 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.911e-05/0.6844, allocations: 11.88 kB / 0.8044 GB, free: 2.5 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001505/0.6845, allocations: 68 kB / 0.8044 GB, free: 2.434 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.527e-05/0.6846, allocations: 43.98 kB / 0.8045 GB, free: 2.391 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00507/0.6897, allocations: 1.917 MB / 0.8063 GB, free: 476 kB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01323/0.7029, allocations: 11.63 MB / 0.8177 GB, free: 4.406 MB / 0.6232 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004878/0.7078, allocations: 1.959 MB / 0.8196 GB, free: 2.293 MB / 0.6232 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001395/0.7092, allocations: 0.6591 MB / 0.8202 GB, free: 1.602 MB / 0.6232 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003123/0.7095, allocations: 169.9 kB / 0.8204 GB, free: 1.418 MB / 0.6232 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003714/0.7132, allocations: 1.463 MB / 0.8218 GB, free: 15.88 MB / 0.6388 GB Notification: Performance of pre-optimization done (n=225): time 4.138e-06/0.7132, allocations: 0 / 0.8218 GB, free: 15.88 MB / 0.6388 GB Notification: Performance of matching and sorting (n=229): time 0.02494/0.7381, allocations: 13.42 MB / 0.8349 GB, free: 2.25 MB / 0.6388 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000398/0.7385, allocations: 0.6428 MB / 0.8356 GB, free: 1.457 MB / 0.6388 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003489/0.742, allocations: 2.4 MB / 0.8379 GB, free: 15.03 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 0.0002309/0.7422, allocations: 53.7 kB / 0.838 GB, free: 14.97 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.001029/0.7433, allocations: 1.117 MB / 0.8391 GB, free: 13.85 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007837/0.7441, allocations: 0.7784 MB / 0.8398 GB, free: 13.06 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008037/0.7449, allocations: 0.4965 MB / 0.8403 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001398/0.745, allocations: 305.1 kB / 0.8406 GB, free: 12.26 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001702/0.7467, allocations: 0.7875 MB / 0.8414 GB, free: 11.47 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002449/0.7492, allocations: 1.487 MB / 0.8428 GB, free: 9.668 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.1094/0.8585, allocations: 14.99 MB / 0.8574 GB, free: 10.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.739e-05/0.8585, allocations: 8 kB / 0.8575 GB, free: 10.31 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.007264/0.8658, allocations: 3.067 MB / 0.8605 GB, free: 7.207 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 9.497e-05/0.8659, allocations: 83.45 kB / 0.8605 GB, free: 7.113 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005144/0.871, allocations: 2.223 MB / 0.8627 GB, free: 4.867 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.8722, allocations: 274.3 kB / 0.863 GB, free: 4.59 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001805/0.874, allocations: 0.554 MB / 0.8635 GB, free: 4.035 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3724/1.246, allocations: 6.499 MB / 0.8698 GB, free: 115.8 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002241/1.249, allocations: 120.5 kB / 0.87 GB, free: 115.8 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002671/1.249, allocations: 142.7 kB / 0.8701 GB, free: 115.8 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.002658/1.252, allocations: 1.261 MB / 0.8713 GB, free: 115.7 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00177/1.253, allocations: 1.475 MB / 0.8728 GB, free: 114.9 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1028/1.356, allocations: 14.95 MB / 0.8874 GB, free: 113.3 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.682e-05/1.356, allocations: 5.75 kB / 0.8874 GB, free: 113.3 MB / 0.67 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006252/1.362, allocations: 2.99 MB / 0.8903 GB, free: 112.3 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 7.711e-05/1.363, allocations: 84.94 kB / 0.8904 GB, free: 112.3 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004704/1.367, allocations: 2.139 MB / 0.8925 GB, free: 111.5 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001002/1.368, allocations: 256.8 kB / 0.8927 GB, free: 111.4 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/1.37, allocations: 0.5513 MB / 0.8932 GB, free: 111.4 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009654/1.38, allocations: 6.334 MB / 0.8994 GB, free: 106 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001929/1.382, allocations: 107.8 kB / 0.8995 GB, free: 105.9 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002511/1.382, allocations: 148.4 kB / 0.8997 GB, free: 105.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: 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.0007725/1.383, allocations: 406.4 kB / 0.9001 GB, free: 105.6 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005499/1.383, allocations: 304.5 kB / 0.9004 GB, free: 105.6 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.004116/1.387, allocations: 2.252 MB / 0.9026 GB, free: 104.5 MB / 0.67 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.957103413005825] Failed to read output from testmodel.py, exit status != 0: 1.3977464239578694 1.408364095 0.740782054 Calling exit ...