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.006289/0.006289, allocations: 1.439 MB / 21.3 MB, free: 3.254 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.0007228/0.0007228, allocations: 89.22 kB / 24.9 MB, free: 7.27 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.0007892/0.0007892, allocations: 163 kB / 28.62 MB, free: 4.449 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.8653/0.8653, allocations: 177.1 MB / 209.4 MB, free: 2.984 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.7387/0.7387, allocations: 102.4 MB / 368.7 MB, free: 1.473 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.893e-06/1.893e-06, allocations: 0 / 0.5374 GB, free: 39.77 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.161e-05/2.35e-05, allocations: 2.844 kB / 0.5374 GB, free: 39.76 MB / 490.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.1141/0.1141, allocations: 58.43 MB / 0.5945 GB, free: 1.574 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01842/0.1326, allocations: 17.24 MB / 0.6113 GB, free: 276 kB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001141/0.1337, allocations: 55.62 kB / 0.6114 GB, free: 220 kB / 0.4949 GB [/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.002289/0.136, allocations: 1.301 MB / 0.6126 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.002048/0.138, allocations: 1.541 MB / 0.6141 GB, free: 13.35 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.003346/0.1414, allocations: 2.115 MB / 0.6162 GB, free: 11.23 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.00239/0.1438, allocations: 3.517 MB / 0.6196 GB, free: 7.707 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009483/0.1447, allocations: 1.164 MB / 0.6208 GB, free: 6.512 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001387/0.1461, allocations: 1.909 MB / 0.6226 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001079/0.1472, allocations: 1.369 MB / 0.624 GB, free: 3.227 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002116/0.1474, allocations: 252 kB / 0.6242 GB, free: 2.98 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002347/0.1498, allocations: 1.715 MB / 0.6259 GB, free: 1.262 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.000462/0.1502, allocations: 0.8212 MB / 0.6267 GB, free: 448 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005804/0.1508, allocations: 0.8608 MB / 0.6275 GB, free: 15.57 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.00367/0.1545, allocations: 4.922 MB / 0.6323 GB, free: 10.64 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.17e-06/0.1545, allocations: 3.938 kB / 0.6324 GB, free: 10.63 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.202e-06/0.1545, allocations: 0 / 0.6324 GB, free: 10.63 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.01e-05/0.1545, allocations: 0 / 0.6324 GB, free: 10.63 MB / 0.5262 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.003819/0.1583, allocations: 3.895 MB / 0.6362 GB, free: 6.664 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.1584, allocations: 12.03 kB / 0.6362 GB, free: 6.652 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005948/0.1589, allocations: 406.6 kB / 0.6366 GB, free: 6.254 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003015/0.162, allocations: 2.85 MB / 0.6393 GB, free: 3.34 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.511e-05/0.162, allocations: 119.3 kB / 0.6395 GB, free: 3.223 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001553/0.1622, allocations: 148.3 kB / 0.6396 GB, free: 3.078 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003226/0.1654, allocations: 2.859 MB / 0.6424 GB, free: 15.84 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.431e-05/0.1655, allocations: 19.8 kB / 0.6424 GB, free: 15.82 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001026/0.1656, allocations: 76 kB / 0.6425 GB, free: 15.75 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.722e-05/0.1656, allocations: 44 kB / 0.6425 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002822/0.1684, allocations: 1.959 MB / 0.6444 GB, free: 13.73 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007513/0.1759, allocations: 10.67 MB / 0.6549 GB, free: 2.699 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002602/0.1785, allocations: 1.79 MB / 0.6566 GB, free: 0.7969 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000833/0.1794, allocations: 0.729 MB / 0.6573 GB, free: 24 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001988/0.1795, allocations: 76.95 kB / 0.6574 GB, free: 15.95 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002405/0.182, allocations: 1.533 MB / 0.6589 GB, free: 14.32 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 3.637e-06/0.182, allocations: 0 / 0.6589 GB, free: 14.32 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01412/0.1961, allocations: 13.3 MB / 0.6719 GB, free: 0.8398 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002157/0.1963, allocations: 0.6463 MB / 0.6725 GB, free: 44 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002321/0.1986, allocations: 2.363 MB / 0.6748 GB, free: 13.67 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.843e-05/0.1987, allocations: 53.7 kB / 0.6749 GB, free: 13.61 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006266/0.1993, allocations: 1.128 MB / 0.676 GB, free: 12.47 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004109/0.1997, allocations: 0.7667 MB / 0.6767 GB, free: 11.7 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004718/0.2002, allocations: 0.4925 MB / 0.6772 GB, free: 11.2 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 7.04e-05/0.2003, allocations: 301.1 kB / 0.6775 GB, free: 10.9 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001045/0.2013, allocations: 0.8456 MB / 0.6783 GB, free: 10.04 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00154/0.2029, allocations: 1.628 MB / 0.6799 GB, free: 8.07 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04947/0.2523, allocations: 15.01 MB / 0.6946 GB, free: 8.688 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.364e-05/0.2524, allocations: 7.938 kB / 0.6946 GB, free: 8.68 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.004571/0.2569, allocations: 3.141 MB / 0.6976 GB, free: 5.496 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 6.503e-05/0.257, allocations: 79.39 kB / 0.6977 GB, free: 5.406 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003007/0.26, allocations: 2.297 MB / 0.7 GB, free: 3.074 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006369/0.2606, allocations: 274.2 kB / 0.7002 GB, free: 2.797 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009674/0.2616, allocations: 0.5616 MB / 0.7008 GB, free: 2.234 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006508/0.2681, allocations: 6.078 MB / 0.7067 GB, free: 11.85 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001123/0.2692, allocations: 131.8 kB / 0.7068 GB, free: 11.72 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000154/0.2694, allocations: 147.9 kB / 0.707 GB, free: 11.57 MB / 0.6043 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.001867/0.2713, allocations: 1.316 MB / 0.7083 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001343/0.2726, allocations: 1.617 MB / 0.7098 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04942/0.322, allocations: 14.96 MB / 0.7244 GB, free: 8.957 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.004e-05/0.322, allocations: 11.94 kB / 0.7245 GB, free: 8.945 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.004524/0.3266, allocations: 3.063 MB / 0.7274 GB, free: 5.84 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 5.157e-05/0.3266, allocations: 83.52 kB / 0.7275 GB, free: 5.746 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002792/0.3294, allocations: 2.211 MB / 0.7297 GB, free: 3.5 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005361/0.3299, allocations: 262.4 kB / 0.7299 GB, free: 3.234 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009464/0.3309, allocations: 0.5498 MB / 0.7305 GB, free: 2.684 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0061/0.337, allocations: 5.912 MB / 0.7362 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001127/0.3381, allocations: 107.7 kB / 0.7363 GB, free: 12.36 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001517/0.3383, allocations: 147.9 kB / 0.7365 GB, free: 12.22 MB / 0.6355 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.0005938/0.3389, allocations: 420.8 kB / 0.7369 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003188/0.3392, allocations: 298 kB / 0.7372 GB, free: 11.49 MB / 0.6355 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.003017/0.3422, allocations: 2.243 MB / 0.7394 GB, free: 9.203 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.4366384726017714] Failed to read output from testmodel.py, exit status != 0: 0.7175151072442532 0.723896264 0.568036783 Calling exit ...