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.008098/0.008098, 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.0007936/0.0007936, allocations: 87.75 kB / 25.15 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.000929/0.000929, allocations: 163.5 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.9863/0.9863, 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 main/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ClaRa main/package.mo): time 0.6319/0.6319, allocations: 102.4 MB / 369.5 MB, free: 388 kB / 330.7 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.813e-06/1.813e-06, allocations: 0 / 470 MB, free: 18.96 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.189e-05/3.37e-05, allocations: 2.875 kB / 470 MB, free: 18.95 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.1126/0.1127, allocations: 62.18 MB / 0.5197 GB, free: 9.734 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01918/0.1318, allocations: 18.02 MB / 0.5373 GB, free: 7.668 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001668/0.1335, allocations: 55.62 kB / 0.5373 GB, free: 7.613 MB / 458.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.00265/0.1361, allocations: 1.309 MB / 0.5386 GB, free: 6.297 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002562/0.1387, allocations: 1.541 MB / 0.5401 GB, free: 4.746 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003742/0.1425, allocations: 2.105 MB / 0.5422 GB, free: 2.637 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.0033/0.1458, allocations: 3.528 MB / 0.5456 GB, free: 15.1 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00135/0.1471, allocations: 1.246 MB / 0.5468 GB, free: 13.82 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001881/0.149, allocations: 1.913 MB / 0.5487 GB, free: 11.91 MB / 474.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001376/0.1504, allocations: 1.359 MB / 0.55 GB, free: 10.54 MB / 474.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0002543/0.1506, allocations: 252 kB / 0.5503 GB, free: 10.3 MB / 474.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002831/0.1534, allocations: 1.699 MB / 0.5519 GB, free: 8.594 MB / 474.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0005101/0.154, allocations: 0.8251 MB / 0.5527 GB, free: 7.766 MB / 474.8 MB Notification: Performance of NFVerifyModel.verify: time 0.0006804/0.1546, allocations: 0.8569 MB / 0.5536 GB, free: 6.906 MB / 474.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003475/0.1581, allocations: 3.675 MB / 0.5572 GB, free: 3.219 MB / 474.8 MB Notification: Performance of FrontEnd - DAE generated: time 6.091e-06/0.1581, allocations: 8 kB / 0.5572 GB, free: 3.211 MB / 474.8 MB Notification: Performance of FrontEnd: time 1.563e-06/0.1581, allocations: 0 / 0.5572 GB, free: 3.211 MB / 474.8 MB Notification: Performance of Transformations before backend: time 1.896e-05/0.1581, allocations: 0 / 0.5572 GB, free: 3.211 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.004026/0.1622, allocations: 4.123 MB / 0.5612 GB, free: 15 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.1622, allocations: 8.031 kB / 0.5612 GB, free: 14.99 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006931/0.1629, allocations: 0.5143 MB / 0.5617 GB, free: 14.48 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002779/0.1657, allocations: 2.613 MB / 0.5642 GB, free: 11.79 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.629e-05/0.1658, allocations: 115.3 kB / 0.5644 GB, free: 11.67 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000152/0.1659, allocations: 156.4 kB / 0.5645 GB, free: 11.52 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0029/0.1688, allocations: 2.63 MB / 0.5671 GB, free: 8.418 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.98e-05/0.1688, allocations: 15.88 kB / 0.5671 GB, free: 8.402 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.404e-05/0.1689, allocations: 64 kB / 0.5672 GB, free: 8.34 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.116e-05/0.169, allocations: 47.94 kB / 0.5672 GB, free: 8.293 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002128/0.1711, allocations: 1.312 MB / 0.5685 GB, free: 6.957 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007561/0.1786, allocations: 14.34 MB / 0.5825 GB, free: 8.156 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00229/0.1809, allocations: 1.451 MB / 0.5839 GB, free: 6.555 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005504/0.1815, allocations: 488.7 kB / 0.5844 GB, free: 6.02 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001887/0.1817, allocations: 84.95 kB / 0.5844 GB, free: 5.938 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001806/0.1835, allocations: 1.257 MB / 0.5857 GB, free: 4.574 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=225): time 3.146e-06/0.1835, allocations: 4 kB / 0.5857 GB, free: 4.57 MB / 0.4949 GB Notification: Performance of matching and sorting (n=229): time 0.01208/0.1956, allocations: 11.68 MB / 0.5971 GB, free: 8.695 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001936/0.1958, allocations: 0.6424 MB / 0.5977 GB, free: 7.906 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002095/0.1979, allocations: 2.187 MB / 0.5998 GB, free: 5.707 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 8.897e-05/0.1979, allocations: 53.7 kB / 0.5999 GB, free: 5.648 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007063/0.1986, allocations: 1.243 MB / 0.6011 GB, free: 4.391 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004305/0.1991, allocations: 0.7745 MB / 0.6019 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004927/0.1996, allocations: 0.5183 MB / 0.6024 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 9.303e-05/0.1997, allocations: 476.8 kB / 0.6028 GB, free: 2.613 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006637/0.2003, allocations: 465.6 kB / 0.6033 GB, free: 2.145 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001194/0.2015, allocations: 1.529 MB / 0.6048 GB, free: 156 kB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00254/0.2041, allocations: 2.455 MB / 0.6072 GB, free: 13.24 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.255e-06/0.2041, allocations: 4 kB / 0.6072 GB, free: 13.24 MB / 0.5262 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003177/0.2072, allocations: 2.372 MB / 0.6095 GB, free: 10.82 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 5.545e-05/0.2073, allocations: 83.45 kB / 0.6096 GB, free: 10.73 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002154/0.2095, allocations: 1.512 MB / 0.611 GB, free: 9.172 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006692/0.2101, allocations: 254.8 kB / 0.6113 GB, free: 8.91 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000992/0.2111, allocations: 0.5577 MB / 0.6118 GB, free: 8.352 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005988/0.2171, allocations: 7.128 MB / 0.6188 GB, free: 0.8594 MB / 0.5262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008926/0.218, allocations: 115.6 kB / 0.6189 GB, free: 0.7461 MB / 0.5262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.2182, allocations: 143.9 kB / 0.619 GB, free: 0.6055 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.001081/0.2192, allocations: 0.6041 MB / 0.6196 GB, free: 15.98 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001167/0.2204, allocations: 1.525 MB / 0.6211 GB, free: 14 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002457/0.2229, allocations: 2.431 MB / 0.6235 GB, free: 11.12 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.755e-06/0.2229, allocations: 4 kB / 0.6235 GB, free: 11.11 MB / 0.5418 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003094/0.226, allocations: 2.364 MB / 0.6258 GB, free: 8.703 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 5.576e-05/0.226, allocations: 91.62 kB / 0.6259 GB, free: 8.602 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002063/0.2281, allocations: 1.465 MB / 0.6273 GB, free: 7.098 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000489/0.2286, allocations: 226.9 kB / 0.6275 GB, free: 6.863 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000967/0.2295, allocations: 0.5537 MB / 0.6281 GB, free: 6.309 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005323/0.2349, allocations: 7.075 MB / 0.635 GB, free: 14.87 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000773/0.2356, allocations: 107.8 kB / 0.6351 GB, free: 14.76 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001465/0.2358, allocations: 144 kB / 0.6352 GB, free: 14.62 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.0004675/0.2363, allocations: 0.4956 MB / 0.6357 GB, free: 14.11 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003799/0.2366, allocations: 346 kB / 0.636 GB, free: 13.77 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.00222/0.2389, allocations: 1.979 MB / 0.638 GB, free: 11.73 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.0943034598603845]