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.0123/0.0123, allocations: 1.784 MB / 21.57 MB, free: 2.902 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.0009877/0.0009877, allocations: 84.91 kB / 25.4 MB, free: 7 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.001228/0.001228, allocations: 159.4 kB / 29.33 MB, free: 3.137 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.943/0.943, allocations: 177.1 MB / 210.3 MB, free: 3.473 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.6254/0.6254, allocations: 102.5 MB / 369.9 MB, free: 280 kB / 330.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 2.284e-06/2.284e-06, allocations: 0 / 470.5 MB, free: 18.88 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.022e-05/3.25e-05, allocations: 2.312 kB / 470.5 MB, free: 18.88 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.1376/0.1376, allocations: 61.92 MB / 0.5199 GB, free: 9.727 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02075/0.1584, allocations: 17.91 MB / 0.5374 GB, free: 7.77 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002072/0.1605, allocations: 59.56 kB / 0.5375 GB, free: 7.711 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.002972/0.1634, allocations: 1.31 MB / 0.5387 GB, free: 6.395 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.003422/0.1669, allocations: 1.553 MB / 0.5403 GB, free: 4.832 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003957/0.1708, allocations: 2.103 MB / 0.5423 GB, free: 2.723 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.004871/0.1757, allocations: 3.521 MB / 0.5457 GB, free: 15.19 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001711/0.1774, allocations: 1.25 MB / 0.547 GB, free: 13.91 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1525/0.3299, allocations: 47.13 MB / 0.593 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001922/0.3318, allocations: 1.25 MB / 0.5942 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002463/0.3321, allocations: 200 kB / 0.5944 GB, free: 14.49 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002492/0.3345, allocations: 1.629 MB / 0.596 GB, free: 12.86 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0003898/0.3349, allocations: 0.7159 MB / 0.5967 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0005129/0.3355, allocations: 0.7749 MB / 0.5975 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00307/0.3385, allocations: 3.526 MB / 0.6009 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.708e-06/0.3385, allocations: 0 / 0.6009 GB, free: 7.82 MB / 0.5105 GB Notification: Performance of FrontEnd: time 9.72e-07/0.3385, allocations: 4 kB / 0.6009 GB, free: 7.816 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.803e-05/0.3385, allocations: 4 kB / 0.6009 GB, free: 7.812 MB / 0.5105 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.003337/0.3419, allocations: 3.935 MB / 0.6047 GB, free: 3.789 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.197e-05/0.3419, allocations: 16.03 kB / 0.6048 GB, free: 3.773 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003464/0.3423, allocations: 458.7 kB / 0.6052 GB, free: 3.324 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00148/0.3437, allocations: 1.762 MB / 0.6069 GB, free: 1.48 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.667e-05/0.3438, allocations: 119.3 kB / 0.607 GB, free: 1.363 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001315/0.3439, allocations: 156.3 kB / 0.6072 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002608/0.3465, allocations: 2.516 MB / 0.6096 GB, free: 14.22 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.937e-05/0.3466, allocations: 19.81 kB / 0.6097 GB, free: 14.2 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.479e-05/0.3467, allocations: 68 kB / 0.6097 GB, free: 14.14 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.596e-05/0.3467, allocations: 51.98 kB / 0.6098 GB, free: 14.09 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001594/0.3483, allocations: 1.156 MB / 0.6109 GB, free: 12.9 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007522/0.3558, allocations: 13.96 MB / 0.6245 GB, free: 14.48 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002541/0.3583, allocations: 1.366 MB / 0.6259 GB, free: 12.96 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004939/0.3588, allocations: 436.7 kB / 0.6263 GB, free: 12.48 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002068/0.359, allocations: 123 kB / 0.6264 GB, free: 12.36 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00209/0.3611, allocations: 1.213 MB / 0.6276 GB, free: 11.04 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 3.486e-06/0.3611, allocations: 0 / 0.6276 GB, free: 11.04 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.01014/0.3713, allocations: 4.73 MB / 0.6322 GB, free: 6.184 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002172/0.3715, allocations: 0.6887 MB / 0.6329 GB, free: 5.336 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001912/0.3734, allocations: 2.114 MB / 0.6349 GB, free: 3.207 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001002/0.3735, allocations: 57.7 kB / 0.635 GB, free: 3.145 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.001069/0.3746, allocations: 1.247 MB / 0.6362 GB, free: 1.883 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005/0.3751, allocations: 0.7861 MB / 0.637 GB, free: 1.09 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006024/0.3757, allocations: 0.526 MB / 0.6375 GB, free: 0.5547 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.000105/0.3758, allocations: 476.8 kB / 0.638 GB, free: 88 kB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005452/0.3763, allocations: 393.5 kB / 0.6383 GB, free: 15.69 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001129/0.3775, allocations: 1.523 MB / 0.6398 GB, free: 13.68 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002493/0.38, allocations: 2.255 MB / 0.642 GB, free: 10.97 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.236e-05/0.38, allocations: 12.06 kB / 0.642 GB, free: 10.96 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003198/0.3832, allocations: 2.235 MB / 0.6442 GB, free: 8.676 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.548e-05/0.3832, allocations: 79.38 kB / 0.6443 GB, free: 8.586 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002146/0.3854, allocations: 1.399 MB / 0.6457 GB, free: 7.145 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/0.386, allocations: 255 kB / 0.6459 GB, free: 6.883 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00121/0.3872, allocations: 0.5499 MB / 0.6464 GB, free: 6.332 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2069/0.5941, allocations: 7.005 MB / 0.6533 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001183/0.5953, allocations: 115.9 kB / 0.6534 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001755/0.5955, allocations: 123.8 kB / 0.6535 GB, free: 116.8 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: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0007988/0.5963, allocations: 0.529 MB / 0.654 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006311/0.5969, allocations: 1.518 MB / 0.6555 GB, free: 115.2 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001432/0.5983, allocations: 2.255 MB / 0.6577 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.462e-05/0.5983, allocations: 7.75 kB / 0.6577 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003217/0.6016, allocations: 2.214 MB / 0.6599 GB, free: 113.6 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.742e-05/0.6016, allocations: 82.56 kB / 0.66 GB, free: 113.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001409/0.603, allocations: 1.366 MB / 0.6613 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004245/0.6034, allocations: 229.3 kB / 0.6615 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008007/0.6042, allocations: 0.5556 MB / 0.6621 GB, free: 113.3 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003918/0.6082, allocations: 6.973 MB / 0.6689 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007426/0.6089, allocations: 108.2 kB / 0.669 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001332/0.609, allocations: 125.4 kB / 0.6691 GB, free: 107.7 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.0005393/0.6096, allocations: 0.4911 MB / 0.6696 GB, free: 107.4 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002952/0.6099, allocations: 352.7 kB / 0.6699 GB, free: 107.4 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.001952/0.6118, allocations: 1.906 MB / 0.6718 GB, free: 107.1 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.2738712378777564]