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.02585/0.02585, allocations: 1.8 MB / 21.15 MB, free: 3.246 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.002525/0.002525, allocations: 80.81 kB / 24.89 MB, free: 6.832 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.002984/0.002984, allocations: 166.2 kB / 28.74 MB, free: 3.66 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.499/1.499, allocations: 177.1 MB / 209.6 MB, free: 2.387 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.074/1.074, allocations: 102.5 MB / 369.1 MB, free: 0.8594 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 1.0.0 (/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: Performance of FrontEnd - loaded program: time 1.743e-06/1.743e-06, allocations: 0 / 469.1 MB, free: 12.94 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.681e-05/3.855e-05, allocations: 3.578 kB / 469.2 MB, free: 12.94 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.Electrical.Check.TestAsynchronousMotorWithPump): time 0.19/0.19, allocations: 59.78 MB / 0.5165 GB, free: 1.137 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.23/0.42, allocations: 17.86 MB / 0.534 GB, free: 66.62 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002108/0.4221, allocations: 57.91 kB / 0.534 GB, free: 66.6 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.003434/0.4256, allocations: 1.311 MB / 0.5353 GB, free: 66.02 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003783/0.4293, allocations: 1.535 MB / 0.5368 GB, free: 65.13 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004515/0.4339, allocations: 2.105 MB / 0.5389 GB, free: 64.07 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.003851/0.4377, allocations: 3.524 MB / 0.5423 GB, free: 62.32 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001569/0.4393, allocations: 1.242 MB / 0.5435 GB, free: 61.52 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00246/0.4417, allocations: 1.905 MB / 0.5454 GB, free: 60.69 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002425/0.4442, allocations: 1.361 MB / 0.5467 GB, free: 60.27 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0006492/0.4448, allocations: 249.3 kB / 0.547 GB, free: 60.27 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00403/0.4488, allocations: 1.71 MB / 0.5486 GB, free: 59.78 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0009353/0.4498, allocations: 0.8178 MB / 0.5494 GB, free: 59.31 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.001403/0.4512, allocations: 0.8624 MB / 0.5503 GB, free: 58.88 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009251/0.4604, allocations: 4.946 MB / 0.5551 GB, free: 57.06 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.4604, allocations: 0 / 0.5551 GB, free: 57.06 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.683e-06/0.4604, allocations: 1.5 kB / 0.5551 GB, free: 57.06 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001313/0.4606, allocations: 0 / 0.5551 GB, free: 57.06 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.009766/0.4703, allocations: 4.547 MB / 0.5595 GB, free: 54.28 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.81e-05/0.4704, allocations: 9.031 kB / 0.5595 GB, free: 54.28 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001526/0.4719, allocations: 0.514 MB / 0.56 GB, free: 54.05 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00556/0.4775, allocations: 2.597 MB / 0.5626 GB, free: 52.7 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00011/0.4776, allocations: 114.5 kB / 0.5627 GB, free: 52.65 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002484/0.4778, allocations: 160.6 kB / 0.5628 GB, free: 52.59 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005143/0.483, allocations: 3.144 MB / 0.5659 GB, free: 50.05 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.604e-05/0.483, allocations: 15.41 kB / 0.5659 GB, free: 50.04 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001408/0.4832, allocations: 70.14 kB / 0.566 GB, free: 50 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.084e-05/0.4832, allocations: 43.59 kB / 0.566 GB, free: 50 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004494/0.4877, allocations: 1.873 MB / 0.5679 GB, free: 49.14 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01133/0.499, allocations: 15.45 MB / 0.583 GB, free: 35.22 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003984/0.503, allocations: 1.836 MB / 0.5847 GB, free: 34.11 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001133/0.5041, allocations: 0.6954 MB / 0.5854 GB, free: 33.56 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002499/0.5044, allocations: 84.89 kB / 0.5855 GB, free: 33.48 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003084/0.5075, allocations: 1.639 MB / 0.5871 GB, free: 31.73 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 5.009e-06/0.5075, allocations: 2.297 kB / 0.5871 GB, free: 31.73 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.01982/0.5273, allocations: 13.08 MB / 0.5999 GB, free: 18.48 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001454/0.5274, allocations: 0.6448 MB / 0.6005 GB, free: 17.7 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003115/0.5306, allocations: 2.764 MB / 0.6032 GB, free: 14.92 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003441/0.5309, allocations: 53.7 kB / 0.6033 GB, free: 14.86 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007639/0.5317, allocations: 1.344 MB / 0.6046 GB, free: 13.5 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005893/0.5323, allocations: 0.8331 MB / 0.6054 GB, free: 12.66 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006968/0.5329, allocations: 0.6004 MB / 0.606 GB, free: 12.05 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 6.406e-05/0.533, allocations: 476.8 kB / 0.6064 GB, free: 11.58 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001332/0.5343, allocations: 0.7721 MB / 0.6072 GB, free: 10.8 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.5361, allocations: 1.925 MB / 0.6091 GB, free: 8.41 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004211/0.5403, allocations: 3.386 MB / 0.6124 GB, free: 4.605 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.273e-05/0.5403, allocations: 14.62 kB / 0.6124 GB, free: 4.594 MB / 490.8 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.00583/0.5461, allocations: 3.064 MB / 0.6154 GB, free: 1.516 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 5.922e-05/0.5462, allocations: 75.39 kB / 0.6154 GB, free: 1.43 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.004462/0.5507, allocations: 2.111 MB / 0.6175 GB, free: 15.29 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001622/0.5523, allocations: 329.2 kB / 0.6178 GB, free: 14.97 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002028/0.5543, allocations: 0.5537 MB / 0.6184 GB, free: 14.41 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01425/0.5686, allocations: 7.821 MB / 0.626 GB, free: 6.293 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002363/0.5709, allocations: 111.7 kB / 0.6261 GB, free: 6.184 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004422/0.5714, allocations: 150.6 kB / 0.6262 GB, free: 6.039 MB / 0.4949 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.002954/0.5743, allocations: 1.1 MB / 0.6273 GB, free: 4.918 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002887/0.5772, allocations: 1.908 MB / 0.6292 GB, free: 2.551 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.006527/0.5837, allocations: 3.367 MB / 0.6325 GB, free: 14.77 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.213e-05/0.5838, allocations: 11.47 kB / 0.6325 GB, free: 14.76 MB / 0.5105 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.007464/0.5912, allocations: 3.012 MB / 0.6354 GB, free: 11.73 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 9.706e-05/0.5913, allocations: 82.83 kB / 0.6355 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005296/0.5966, allocations: 2.048 MB / 0.6375 GB, free: 9.562 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.598, allocations: 300.8 kB / 0.6378 GB, free: 9.27 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002033/0.6, allocations: 0.546 MB / 0.6383 GB, free: 8.723 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01356/0.6136, allocations: 7.693 MB / 0.6458 GB, free: 0.7305 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002277/0.6158, allocations: 103.8 kB / 0.6459 GB, free: 0.6289 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003636/0.6162, allocations: 143.9 kB / 0.6461 GB, free: 500 kB / 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: 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.001028/0.6172, allocations: 496.7 kB / 0.6465 GB, free: 15.98 MB / 0.5262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009494/0.6182, allocations: 350 kB / 0.6469 GB, free: 15.64 MB / 0.5262 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.00492/0.6231, allocations: 2.16 MB / 0.649 GB, free: 13.55 MB / 0.5262 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.6408977509709075]