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.006248/0.006248, allocations: 1.435 MB / 21.29 MB, free: 3.266 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.0007238/0.0007238, allocations: 92.31 kB / 24.91 MB, free: 7.262 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.0007589/0.0007589, allocations: 168.9 kB / 28.62 MB, free: 4.457 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.9006/0.9006, allocations: 177.2 MB / 209.4 MB, free: 2.969 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.7589/0.7589, allocations: 102.5 MB / 368.7 MB, free: 1.523 MB / 330.8 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 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_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.843e-06/1.843e-06, allocations: 0 / 0.5374 GB, free: 39.79 MB / 490.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.758e-05/2.943e-05, allocations: 6.125 kB / 0.5374 GB, free: 39.78 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.1207/0.1207, allocations: 58.43 MB / 0.5945 GB, free: 1.559 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.02144/0.1421, allocations: 17.24 MB / 0.6113 GB, free: 264 kB / 0.4949 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00181/0.144, allocations: 59.62 kB / 0.6114 GB, free: 204 kB / 0.4949 GB [/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.002806/0.1468, allocations: 1.313 MB / 0.6127 GB, free: 14.88 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.003229/0.15, allocations: 1.534 MB / 0.6142 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00439/0.1544, allocations: 2.113 MB / 0.6162 GB, free: 11.22 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003916/0.1583, allocations: 3.518 MB / 0.6197 GB, free: 7.691 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002052/0.1603, allocations: 1.168 MB / 0.6208 GB, free: 6.492 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002451/0.1628, allocations: 1.917 MB / 0.6227 GB, free: 4.57 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001232/0.164, allocations: 1.356 MB / 0.624 GB, free: 3.211 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002245/0.1643, allocations: 252 kB / 0.6242 GB, free: 2.965 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002923/0.1672, allocations: 1.711 MB / 0.6259 GB, free: 1.25 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004971/0.1677, allocations: 0.8173 MB / 0.6267 GB, free: 440 kB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.001014/0.1687, allocations: 0.8607 MB / 0.6276 GB, free: 15.57 MB / 0.5262 GB Notification: Performance of NFConvertDAE.convert: time 0.004397/0.1731, allocations: 4.918 MB / 0.6324 GB, free: 10.63 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.1731, allocations: 0 / 0.6324 GB, free: 10.63 MB / 0.5262 GB Notification: Performance of FrontEnd: time 1.593e-06/0.1731, allocations: 0 / 0.6324 GB, free: 10.63 MB / 0.5262 GB Notification: Performance of Transformations before backend: time 2.194e-05/0.1731, allocations: 4 kB / 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.004484/0.1776, allocations: 3.903 MB / 0.6362 GB, free: 6.652 MB / 0.5262 GB Notification: Performance of prepare preOptimizeDAE: time 5.086e-05/0.1776, allocations: 8.031 kB / 0.6362 GB, free: 6.645 MB / 0.5262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006308/0.1783, allocations: 406.6 kB / 0.6366 GB, free: 6.246 MB / 0.5262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003271/0.1815, allocations: 2.853 MB / 0.6394 GB, free: 3.328 MB / 0.5262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.947e-05/0.1816, allocations: 123.2 kB / 0.6395 GB, free: 3.207 MB / 0.5262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000177/0.1818, allocations: 152.3 kB / 0.6396 GB, free: 3.059 MB / 0.5262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003709/0.1855, allocations: 2.867 MB / 0.6424 GB, free: 15.82 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.56e-05/0.1856, allocations: 15.81 kB / 0.6424 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001012/0.1857, allocations: 68 kB / 0.6425 GB, free: 15.73 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.575e-05/0.1857, allocations: 40 kB / 0.6425 GB, free: 15.7 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002854/0.1885, allocations: 1.971 MB / 0.6445 GB, free: 13.71 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008209/0.1968, allocations: 10.66 MB / 0.6549 GB, free: 2.684 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002674/0.1994, allocations: 1.793 MB / 0.6566 GB, free: 0.7773 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008319/0.2003, allocations: 0.729 MB / 0.6573 GB, free: 4 kB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002168/0.2005, allocations: 76.95 kB / 0.6574 GB, free: 15.93 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002142/0.2026, allocations: 1.533 MB / 0.6589 GB, free: 14.3 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=225): time 3.867e-06/0.2026, allocations: 0 / 0.6589 GB, free: 14.3 MB / 0.5574 GB Notification: Performance of matching and sorting (n=229): time 0.01487/0.2175, allocations: 13.3 MB / 0.6719 GB, free: 0.8203 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002516/0.2177, allocations: 0.6385 MB / 0.6725 GB, free: 32 kB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.2201, allocations: 2.367 MB / 0.6748 GB, free: 13.65 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 8.732e-05/0.2202, allocations: 49.7 kB / 0.6749 GB, free: 13.6 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.001051/0.2212, allocations: 1.124 MB / 0.676 GB, free: 12.46 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004883/0.2217, allocations: 0.7706 MB / 0.6767 GB, free: 11.68 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004981/0.2222, allocations: 0.4886 MB / 0.6772 GB, free: 11.19 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 8.571e-05/0.2223, allocations: 309.1 kB / 0.6775 GB, free: 10.88 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001065/0.2234, allocations: 0.846 MB / 0.6783 GB, free: 10.02 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001421/0.2248, allocations: 1.625 MB / 0.6799 GB, free: 8.059 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04986/0.2746, allocations: 15.01 MB / 0.6946 GB, free: 8.676 MB / 0.5887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.755e-05/0.2747, allocations: 15.88 kB / 0.6946 GB, free: 8.66 MB / 0.5887 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.005175/0.2798, allocations: 3.141 MB / 0.6977 GB, free: 5.477 MB / 0.5887 GB Notification: Performance of prepare postOptimizeDAE: time 7.607e-05/0.2799, allocations: 79.39 kB / 0.6977 GB, free: 5.387 MB / 0.5887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.003224/0.2831, allocations: 2.293 MB / 0.7 GB, free: 3.059 MB / 0.5887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006649/0.2838, allocations: 270.4 kB / 0.7002 GB, free: 2.785 MB / 0.5887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009821/0.2848, allocations: 0.5576 MB / 0.7008 GB, free: 2.227 MB / 0.5887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006846/0.2916, allocations: 6.086 MB / 0.7067 GB, free: 11.83 MB / 0.6043 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00139/0.293, allocations: 119.6 kB / 0.7068 GB, free: 11.71 MB / 0.6043 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001682/0.2932, allocations: 143.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.002058/0.2952, allocations: 1.32 MB / 0.7083 GB, free: 10.24 MB / 0.6043 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001446/0.2967, allocations: 1.613 MB / 0.7098 GB, free: 8.285 MB / 0.6043 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.04959/0.3463, allocations: 14.97 MB / 0.7245 GB, free: 8.945 MB / 0.6199 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.591e-05/0.3463, allocations: 7.938 kB / 0.7245 GB, free: 8.938 MB / 0.6199 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.00427/0.3506, allocations: 3.067 MB / 0.7275 GB, free: 5.828 MB / 0.6199 GB Notification: Performance of prepare postOptimizeDAE: time 7.006e-05/0.3506, allocations: 79.39 kB / 0.7275 GB, free: 5.738 MB / 0.6199 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002804/0.3534, allocations: 2.211 MB / 0.7297 GB, free: 3.492 MB / 0.6199 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005525/0.354, allocations: 262.6 kB / 0.73 GB, free: 3.227 MB / 0.6199 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009502/0.355, allocations: 0.5537 MB / 0.7305 GB, free: 2.672 MB / 0.6199 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006117/0.3611, allocations: 5.915 MB / 0.7363 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001172/0.3622, allocations: 107.8 kB / 0.7364 GB, free: 12.35 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001501/0.3624, allocations: 143.9 kB / 0.7365 GB, free: 12.21 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.0006048/0.363, allocations: 417 kB / 0.7369 GB, free: 11.78 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000328/0.3633, allocations: 298 kB / 0.7372 GB, free: 11.48 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.00299/0.3663, allocations: 2.247 MB / 0.7394 GB, free: 9.191 MB / 0.6355 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.5964680584147573] Failed to read output from testmodel.py, exit status != 0: 0.7509298892691731 0.756634702 0.5820580230000001 Calling exit ...