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.01433/0.01433, allocations: 1.794 MB / 21.35 MB, free: 3.191 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.001324/0.001324, allocations: 88.3 kB / 25.16 MB, free: 6.316 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.001438/0.001438, allocations: 161.6 kB / 29.05 MB, free: 3.352 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 0.9779/0.9779, allocations: 177.1 MB / 210 MB, free: 3.602 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6265/0.6265, allocations: 102.4 MB / 369.5 MB, free: 15.9 MB / 346.7 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 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_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 1.874e-06/1.874e-06, allocations: 0 / 470 MB, free: 19.05 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.738e-05/3.926e-05, allocations: 7.719 kB / 470 MB, free: 19.05 MB / 410.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.116/0.1161, allocations: 62.18 MB / 0.5197 GB, free: 9.711 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01713/0.1332, allocations: 18.02 MB / 0.5373 GB, free: 7.637 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008067/0.134, allocations: 55.62 kB / 0.5374 GB, free: 7.582 MB / 458.8 MB [/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.002196/0.1362, allocations: 1.307 MB / 0.5386 GB, free: 6.27 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001868/0.1381, allocations: 1.534 MB / 0.5401 GB, free: 4.727 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003032/0.1411, allocations: 2.103 MB / 0.5422 GB, free: 2.617 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002387/0.1435, allocations: 3.521 MB / 0.5456 GB, free: 15.08 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001021/0.1445, allocations: 1.246 MB / 0.5468 GB, free: 13.81 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001455/0.146, allocations: 1.909 MB / 0.5487 GB, free: 11.89 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001134/0.1471, allocations: 1.374 MB / 0.55 GB, free: 10.52 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002392/0.1473, allocations: 248 kB / 0.5503 GB, free: 10.28 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002225/0.1496, allocations: 1.699 MB / 0.5519 GB, free: 8.574 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004908/0.1501, allocations: 0.8251 MB / 0.5527 GB, free: 7.746 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0005823/0.1506, allocations: 0.8607 MB / 0.5536 GB, free: 6.883 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.002934/0.1536, allocations: 3.671 MB / 0.5572 GB, free: 3.199 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.14e-06/0.1536, allocations: 3.938 kB / 0.5572 GB, free: 3.195 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.222e-06/0.1536, allocations: 0 / 0.5572 GB, free: 3.195 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.729e-05/0.1536, allocations: 0 / 0.5572 GB, free: 3.195 MB / 474.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.003676/0.1573, allocations: 4.131 MB / 0.5612 GB, free: 14.98 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.1573, allocations: 12.03 kB / 0.5612 GB, free: 14.96 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006427/0.158, allocations: 0.5065 MB / 0.5617 GB, free: 14.46 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002731/0.1607, allocations: 2.622 MB / 0.5643 GB, free: 11.76 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.741e-05/0.1608, allocations: 119.3 kB / 0.5644 GB, free: 11.64 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001535/0.1609, allocations: 152.4 kB / 0.5645 GB, free: 11.5 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002854/0.1638, allocations: 2.63 MB / 0.5671 GB, free: 8.395 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.011e-05/0.1638, allocations: 11.88 kB / 0.5671 GB, free: 8.383 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.845e-05/0.1639, allocations: 68 kB / 0.5672 GB, free: 8.316 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.086e-05/0.1639, allocations: 51.94 kB / 0.5672 GB, free: 8.266 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002098/0.166, allocations: 1.304 MB / 0.5685 GB, free: 6.938 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007286/0.1733, allocations: 14.34 MB / 0.5825 GB, free: 8.137 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00224/0.1756, allocations: 1.449 MB / 0.5839 GB, free: 6.535 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005374/0.1761, allocations: 488.7 kB / 0.5844 GB, free: 6 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001844/0.1763, allocations: 83.45 kB / 0.5845 GB, free: 5.922 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001764/0.178, allocations: 1.261 MB / 0.5857 GB, free: 4.555 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=225): time 3.316e-06/0.178, allocations: 0 / 0.5857 GB, free: 4.555 MB / 0.4949 GB Notification: Performance of matching and sorting (n=229): time 0.01192/0.19, allocations: 11.69 MB / 0.5971 GB, free: 8.672 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002269/0.1902, allocations: 0.6424 MB / 0.5977 GB, free: 7.883 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00195/0.1921, allocations: 2.19 MB / 0.5999 GB, free: 5.68 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.621e-05/0.1922, allocations: 53.7 kB / 0.5999 GB, free: 5.621 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007048/0.1929, allocations: 1.235 MB / 0.6011 GB, free: 4.371 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.000415/0.1933, allocations: 0.7822 MB / 0.6019 GB, free: 3.582 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004919/0.1938, allocations: 0.5145 MB / 0.6024 GB, free: 3.059 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.1939, allocations: 476.8 kB / 0.6029 GB, free: 2.59 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006569/0.1946, allocations: 469.6 kB / 0.6033 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00114/0.1957, allocations: 1.521 MB / 0.6048 GB, free: 136 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002367/0.1981, allocations: 2.447 MB / 0.6072 GB, free: 13.23 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.1981, allocations: 8 kB / 0.6072 GB, free: 13.22 MB / 0.5262 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003026/0.2011, allocations: 2.388 MB / 0.6095 GB, free: 10.79 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.329e-05/0.2012, allocations: 75.39 kB / 0.6096 GB, free: 10.7 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002125/0.2033, allocations: 1.513 MB / 0.6111 GB, free: 9.148 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000629/0.2039, allocations: 258.7 kB / 0.6113 GB, free: 8.883 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009529/0.2049, allocations: 0.5578 MB / 0.6119 GB, free: 8.324 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005503/0.2104, allocations: 7.112 MB / 0.6188 GB, free: 0.8477 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007166/0.2111, allocations: 115.6 kB / 0.6189 GB, free: 0.7344 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001593/0.2113, allocations: 143.9 kB / 0.6191 GB, free: 0.5938 MB / 0.5262 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.0009689/0.2122, allocations: 0.6081 MB / 0.6196 GB, free: 15.96 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001106/0.2134, allocations: 1.529 MB / 0.6211 GB, free: 13.98 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002259/0.2156, allocations: 2.435 MB / 0.6235 GB, free: 11.09 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.564e-06/0.2156, allocations: 4 kB / 0.6235 GB, free: 11.09 MB / 0.5418 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.002889/0.2185, allocations: 2.357 MB / 0.6258 GB, free: 8.688 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 4.572e-05/0.2186, allocations: 83.38 kB / 0.6259 GB, free: 8.594 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001982/0.2205, allocations: 1.474 MB / 0.6273 GB, free: 7.082 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004739/0.221, allocations: 234.9 kB / 0.6276 GB, free: 6.84 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009466/0.222, allocations: 0.5537 MB / 0.6281 GB, free: 6.285 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005209/0.2272, allocations: 7.075 MB / 0.635 GB, free: 14.84 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007452/0.2279, allocations: 107.8 kB / 0.6351 GB, free: 14.74 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001436/0.2281, allocations: 143.9 kB / 0.6353 GB, free: 14.6 MB / 0.5574 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.0004933/0.2285, allocations: 0.4962 MB / 0.6357 GB, free: 14.08 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003519/0.2289, allocations: 342.1 kB / 0.6361 GB, free: 13.75 MB / 0.5574 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.0021/0.231, allocations: 1.979 MB / 0.638 GB, free: 11.71 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.106598568148911]