Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.01085/0.01085, allocations: 1.349 MB / 20.45 MB, free: 1.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.001368/0.001368, allocations: 77.06 kB / 24.02 MB, free: 2.605 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.00155/0.00155, allocations: 156.6 kB / 27.71 MB, free: 3.859 MB / 19.63 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.447/1.447, allocations: 177.1 MB / 208.4 MB, free: 7.684 MB / 190.1 MB " [Timeout remaining time 178] 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 1.002/1.002, allocations: 102.5 MB / 367.8 MB, free: 4.574 MB / 334.1 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 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_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_ClaRa.Components.Electrical.Check.TestAsynchronousMotorWithPump") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 2.033e-06/2.033e-06, allocations: 0 / 0.5365 GB, free: 7.141 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.968e-05/3.171e-05, allocations: 11.64 kB / 0.5365 GB, free: 7.129 MB / 446.1 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.Electrical.Check.TestAsynchronousMotorWithPump): time 0.1685/0.1685, allocations: 58.45 MB / 0.5936 GB, free: 15.15 MB / 0.4982 GB Notification: Performance of NFInst.instExpressions: time 0.03276/0.2013, allocations: 17.24 MB / 0.6104 GB, free: 13.85 MB / 0.5138 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002502/0.2038, allocations: 59.56 kB / 0.6105 GB, free: 13.79 MB / 0.5138 GB [/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.003873/0.2076, allocations: 1.309 MB / 0.6117 GB, free: 12.47 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.004533/0.2122, allocations: 1.526 MB / 0.6132 GB, free: 10.94 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.005774/0.2179, allocations: 2.118 MB / 0.6153 GB, free: 8.812 MB / 0.5138 GB Notification: Performance of NFFlatten.flatten: time 0.005221/0.2232, allocations: 3.524 MB / 0.6187 GB, free: 5.281 MB / 0.5138 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001971/0.2251, allocations: 1.16 MB / 0.6199 GB, free: 4.09 MB / 0.5138 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002892/0.228, allocations: 1.917 MB / 0.6218 GB, free: 2.168 MB / 0.5138 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002116/0.2301, allocations: 1.371 MB / 0.6231 GB, free: 0.793 MB / 0.5138 GB Notification: Performance of NFPackage.collectConstants: time 0.0004303/0.2306, allocations: 248 kB / 0.6233 GB, free: 0.5508 MB / 0.5138 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003765/0.2343, allocations: 1.703 MB / 0.625 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0008749/0.2352, allocations: 0.8212 MB / 0.6258 GB, free: 14.02 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.00119/0.2364, allocations: 0.8568 MB / 0.6266 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.007774/0.2442, allocations: 4.922 MB / 0.6314 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.8e-06/0.2442, allocations: 0 / 0.6314 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.233e-06/0.2442, allocations: 0 / 0.6314 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.556e-05/0.2443, allocations: 0 / 0.6314 GB, free: 8.223 MB / 0.5294 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.007671/0.2519, allocations: 3.895 MB / 0.6352 GB, free: 4.254 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 5.028e-05/0.252, allocations: 16.02 kB / 0.6353 GB, free: 4.238 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001155/0.2531, allocations: 406.6 kB / 0.6356 GB, free: 3.84 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005333/0.2585, allocations: 2.862 MB / 0.6384 GB, free: 0.9102 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001377/0.2586, allocations: 119.3 kB / 0.6386 GB, free: 0.793 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002557/0.2589, allocations: 156.3 kB / 0.6387 GB, free: 0.6406 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006177/0.265, allocations: 2.855 MB / 0.6415 GB, free: 13.42 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.264e-05/0.2651, allocations: 19.81 kB / 0.6415 GB, free: 13.4 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001674/0.2653, allocations: 68 kB / 0.6416 GB, free: 13.33 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.008e-05/0.2653, allocations: 51.98 kB / 0.6416 GB, free: 13.28 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005463/0.2708, allocations: 1.959 MB / 0.6435 GB, free: 11.3 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01355/0.2843, allocations: 10.68 MB / 0.654 GB, free: 268 kB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005155/0.2895, allocations: 1.789 MB / 0.6557 GB, free: 14.36 MB / 0.5607 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001536/0.291, allocations: 0.7246 MB / 0.6564 GB, free: 13.59 MB / 0.5607 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000277/0.2913, allocations: 72.97 kB / 0.6565 GB, free: 13.52 MB / 0.5607 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004047/0.2953, allocations: 1.541 MB / 0.658 GB, free: 11.88 MB / 0.5607 GB Notification: Performance of pre-optimization done (n=225): time 4.568e-06/0.2953, allocations: 0 / 0.658 GB, free: 11.88 MB / 0.5607 GB Notification: Performance of matching and sorting (n=229): time 0.02606/0.3214, allocations: 13.31 MB / 0.671 GB, free: 14.4 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0004511/0.3219, allocations: 0.6389 MB / 0.6716 GB, free: 13.61 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003587/0.3254, allocations: 2.371 MB / 0.6739 GB, free: 11.23 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 0.00032/0.3258, allocations: 53.7 kB / 0.674 GB, free: 11.17 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 0.001118/0.3269, allocations: 1.124 MB / 0.6751 GB, free: 10.03 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008743/0.3278, allocations: 0.7667 MB / 0.6758 GB, free: 9.258 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008403/0.3286, allocations: 0.4925 MB / 0.6763 GB, free: 8.758 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.3287, allocations: 305.1 kB / 0.6766 GB, free: 8.457 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001895/0.3306, allocations: 0.8417 MB / 0.6774 GB, free: 7.602 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002637/0.3333, allocations: 1.629 MB / 0.679 GB, free: 5.633 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.12/0.4533, allocations: 15.01 MB / 0.6937 GB, free: 6.25 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.289e-05/0.4533, allocations: 8 kB / 0.6937 GB, free: 6.242 MB / 0.5919 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.009186/0.4625, allocations: 3.141 MB / 0.6967 GB, free: 3.059 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001027/0.4626, allocations: 87.38 kB / 0.6968 GB, free: 2.961 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00593/0.4686, allocations: 2.289 MB / 0.6991 GB, free: 0.6367 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001262/0.4698, allocations: 274.3 kB / 0.6993 GB, free: 368 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.3266/0.7964, allocations: 0.5484 MB / 0.6999 GB, free: 132.9 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.8081, allocations: 6.092 MB / 0.7058 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.8101, allocations: 112 kB / 0.7059 GB, free: 129.1 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002945/0.8103, allocations: 150.6 kB / 0.7061 GB, free: 129.1 MB / 0.5919 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.002741/0.8131, allocations: 1.317 MB / 0.7073 GB, free: 128.8 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002109/0.8152, allocations: 1.609 MB / 0.7089 GB, free: 127.5 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1098/0.925, allocations: 14.98 MB / 0.7235 GB, free: 123.6 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.648e-05/0.925, allocations: 7.5 kB / 0.7235 GB, free: 123.6 MB / 0.5919 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.006038/0.9311, allocations: 3.066 MB / 0.7265 GB, free: 122.1 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 5.464e-05/0.9311, allocations: 79.17 kB / 0.7266 GB, free: 122.1 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004153/0.9353, allocations: 2.213 MB / 0.7288 GB, free: 120.4 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000986/0.9362, allocations: 257.8 kB / 0.729 GB, free: 120.1 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001614/0.9379, allocations: 0.5499 MB / 0.7296 GB, free: 119.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009714/0.9476, allocations: 5.909 MB / 0.7353 GB, free: 113.5 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002739/0.9503, allocations: 119.9 kB / 0.7354 GB, free: 113.4 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003084/0.9506, allocations: 143.9 kB / 0.7356 GB, free: 113.3 MB / 0.5919 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.001319/0.9519, allocations: 414.6 kB / 0.736 GB, free: 112.9 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007818/0.9527, allocations: 297.3 kB / 0.7363 GB, free: 112.7 MB / 0.5919 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.003927/0.9566, allocations: 2.249 MB / 0.7385 GB, free: 110.7 MB / 0.5919 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.733679488301277] Failed to read output from testmodel.py, exit status != 0: 1.1079586893320084 1.117442052 0.871006437 Calling exit ...