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.01539/0.01539, allocations: 1.453 MB / 20.8 MB, free: 3.73 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.001462/0.001462, allocations: 83.47 kB / 24.45 MB, free: 76 kB / 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.00168/0.00168, allocations: 159.8 kB / 28.2 MB, free: 4.871 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.426/1.426, allocations: 177.1 MB / 209 MB, free: 2.809 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.06/1.06, allocations: 102.5 MB / 368.3 MB, free: 1.266 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.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.603e-06/1.603e-06, allocations: 0 / 468.3 MB, free: 13.47 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.221e-05/3.381e-05, allocations: 2.312 kB / 468.3 MB, free: 13.46 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.1842/0.1842, allocations: 58.64 MB / 0.5146 GB, free: 2.812 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.251/0.4352, allocations: 17.24 MB / 0.5314 GB, free: 69 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002146/0.4374, allocations: 54.69 kB / 0.5315 GB, free: 68.98 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.00371/0.4411, allocations: 1.312 MB / 0.5328 GB, free: 68.39 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.00418/0.4453, allocations: 1.534 MB / 0.5343 GB, free: 67.51 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.005055/0.4503, allocations: 2.099 MB / 0.5363 GB, free: 66.45 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.004332/0.4546, allocations: 3.52 MB / 0.5398 GB, free: 64.7 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002194/0.4568, allocations: 1.225 MB / 0.541 GB, free: 63.91 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003758/0.4606, allocations: 1.912 MB / 0.5428 GB, free: 63.07 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002888/0.4635, allocations: 1.364 MB / 0.5442 GB, free: 62.65 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0009453/0.4644, allocations: 251.2 kB / 0.5444 GB, free: 62.65 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09475/0.5592, allocations: 17.18 MB / 0.5612 GB, free: 53.22 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.002193/0.5614, allocations: 0.8251 MB / 0.562 GB, free: 52.74 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.003337/0.5647, allocations: 0.8608 MB / 0.5628 GB, free: 52.32 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.01189/0.5766, allocations: 4.922 MB / 0.5676 GB, free: 50.5 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.983e-06/0.5766, allocations: 0 / 0.5676 GB, free: 50.5 MB / 490.8 MB Notification: Performance of FrontEnd: time 2.444e-06/0.5766, allocations: 0 / 0.5676 GB, free: 50.5 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001343/0.5767, allocations: 1.469 kB / 0.5676 GB, free: 50.5 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.008406/0.5852, allocations: 3.902 MB / 0.5714 GB, free: 47.87 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/0.5852, allocations: 8.688 kB / 0.5715 GB, free: 47.87 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001285/0.5865, allocations: 0.5188 MB / 0.572 GB, free: 47.6 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/0.5916, allocations: 2.924 MB / 0.5748 GB, free: 45.65 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.987e-05/0.5917, allocations: 120.1 kB / 0.5749 GB, free: 45.6 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002461/0.592, allocations: 159.2 kB / 0.5751 GB, free: 45.54 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004894/0.5969, allocations: 2.857 MB / 0.5779 GB, free: 43.32 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.906e-05/0.5969, allocations: 12.88 kB / 0.5779 GB, free: 43.31 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001447/0.5971, allocations: 69.03 kB / 0.578 GB, free: 43.26 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-05/0.5971, allocations: 47.5 kB / 0.578 GB, free: 43.26 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004529/0.6016, allocations: 1.965 MB / 0.5799 GB, free: 41.59 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01066/0.6123, allocations: 10.72 MB / 0.5904 GB, free: 30.55 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004126/0.6164, allocations: 1.777 MB / 0.5921 GB, free: 28.68 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001212/0.6176, allocations: 0.7288 MB / 0.5928 GB, free: 27.91 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002736/0.6179, allocations: 80.95 kB / 0.5929 GB, free: 27.82 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003288/0.6212, allocations: 1.539 MB / 0.5944 GB, free: 26.2 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 4.578e-06/0.6212, allocations: 3.938 kB / 0.5944 GB, free: 26.2 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.022/0.6432, allocations: 13.44 MB / 0.6075 GB, free: 12.59 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.6433, allocations: 0.645 MB / 0.6082 GB, free: 11.8 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002696/0.646, allocations: 2.359 MB / 0.6105 GB, free: 9.43 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002975/0.6463, allocations: 57.69 kB / 0.6105 GB, free: 9.367 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006324/0.647, allocations: 1.12 MB / 0.6116 GB, free: 8.234 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004779/0.6474, allocations: 0.7706 MB / 0.6124 GB, free: 7.457 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006206/0.6481, allocations: 0.4925 MB / 0.6129 GB, free: 6.957 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.837e-05/0.6481, allocations: 301.1 kB / 0.6132 GB, free: 6.66 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001445/0.6495, allocations: 0.8482 MB / 0.614 GB, free: 5.801 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.6512, allocations: 1.621 MB / 0.6156 GB, free: 3.832 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.1116/0.7628, allocations: 15.02 MB / 0.6302 GB, free: 5.34 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.03e-05/0.7629, allocations: 4 kB / 0.6302 GB, free: 5.336 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.01005/0.7729, allocations: 3.232 MB / 0.6334 GB, free: 2.07 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/0.773, allocations: 75.39 kB / 0.6335 GB, free: 1.984 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006388/0.7794, allocations: 2.312 MB / 0.6357 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001922/0.7813, allocations: 343 kB / 0.636 GB, free: 15.29 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002333/0.7837, allocations: 0.5538 MB / 0.6366 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01464/0.7983, allocations: 6.124 MB / 0.6426 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002439/0.8008, allocations: 115.7 kB / 0.6427 GB, free: 8.203 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006179/0.8014, allocations: 143.9 kB / 0.6428 GB, free: 8.062 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.004039/0.8054, allocations: 1.325 MB / 0.6441 GB, free: 6.723 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003476/0.8089, allocations: 1.605 MB / 0.6457 GB, free: 4.777 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1161/0.9249, allocations: 14.96 MB / 0.6603 GB, free: 5.48 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.65e-05/0.925, allocations: 4 kB / 0.6603 GB, free: 5.477 MB / 0.5262 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.009448/0.9344, allocations: 3.152 MB / 0.6634 GB, free: 2.281 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001055/0.9345, allocations: 79.38 kB / 0.6635 GB, free: 2.191 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005941/0.9405, allocations: 2.222 MB / 0.6656 GB, free: 15.94 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001504/0.942, allocations: 290.3 kB / 0.6659 GB, free: 15.64 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.9443, allocations: 0.5499 MB / 0.6664 GB, free: 15.09 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01302/0.9573, allocations: 5.942 MB / 0.6722 GB, free: 8.855 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00247/0.9598, allocations: 119.9 kB / 0.6724 GB, free: 8.738 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006134/0.9604, allocations: 143.9 kB / 0.6725 GB, free: 8.598 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.00127/0.9617, allocations: 408.8 kB / 0.6729 GB, free: 8.18 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001414/0.9631, allocations: 350 kB / 0.6732 GB, free: 7.836 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.006005/0.9691, allocations: 2.245 MB / 0.6754 GB, free: 5.613 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.794014798942953]