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.01843/0.01843, allocations: 1.454 MB / 20.8 MB, free: 3.617 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.00977/0.00977, allocations: 80 kB / 24.44 MB, free: 7.531 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.002135/0.002135, allocations: 164.2 kB / 28.2 MB, free: 4.668 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 1.521/1.521, allocations: 177.2 MB / 209 MB, free: 2.801 MB / 186.7 MB " [Timeout remaining time 178] 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 1.111/1.111, allocations: 102.5 MB / 368.4 MB, free: 1.277 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 2.244e-06/2.244e-06, allocations: 0 / 468.3 MB, free: 13.47 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.586e-05/3.81e-05, allocations: 2.312 kB / 468.3 MB, free: 13.47 MB / 442.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.2181/0.2181, allocations: 58.64 MB / 0.5146 GB, free: 2.773 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.2284/0.4465, allocations: 17.24 MB / 0.5315 GB, free: 68.93 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00266/0.4492, allocations: 62.03 kB / 0.5315 GB, free: 68.91 MB / 490.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.003998/0.4532, allocations: 1.303 MB / 0.5328 GB, free: 68.33 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.005127/0.4583, allocations: 1.536 MB / 0.5343 GB, free: 67.44 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004673/0.463, allocations: 2.097 MB / 0.5363 GB, free: 66.38 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.004057/0.467, allocations: 3.523 MB / 0.5398 GB, free: 64.62 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002071/0.4691, allocations: 1.228 MB / 0.541 GB, free: 63.84 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003588/0.4727, allocations: 1.909 MB / 0.5428 GB, free: 63 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002744/0.4754, allocations: 1.366 MB / 0.5442 GB, free: 62.58 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0005946/0.476, allocations: 250.3 kB / 0.5444 GB, free: 62.58 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.09355/0.5696, allocations: 17.19 MB / 0.5612 GB, free: 53.16 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.001505/0.5711, allocations: 0.8215 MB / 0.562 GB, free: 52.68 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.002707/0.5738, allocations: 0.8625 MB / 0.5628 GB, free: 52.25 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.009678/0.5835, allocations: 4.923 MB / 0.5677 GB, free: 50.43 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.5835, allocations: 1.094 kB / 0.5677 GB, free: 50.43 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.633e-06/0.5835, allocations: 0.8438 kB / 0.5677 GB, free: 50.43 MB / 490.8 MB Notification: Performance of Transformations before backend: time 0.0001718/0.5836, allocations: 0 / 0.5677 GB, free: 50.43 MB / 490.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.01022/0.5939, allocations: 3.905 MB / 0.5715 GB, free: 47.8 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 5.09e-05/0.5939, allocations: 11.81 kB / 0.5715 GB, free: 47.8 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002147/0.5961, allocations: 0.5122 MB / 0.572 GB, free: 47.54 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005965/0.602, allocations: 2.924 MB / 0.5748 GB, free: 45.59 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001285/0.6022, allocations: 115.9 kB / 0.5749 GB, free: 45.54 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004275/0.6026, allocations: 161.5 kB / 0.5751 GB, free: 45.48 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005575/0.6082, allocations: 2.856 MB / 0.5779 GB, free: 43.25 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.266e-05/0.6082, allocations: 13.34 kB / 0.5779 GB, free: 43.25 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002164/0.6084, allocations: 69.81 kB / 0.578 GB, free: 43.2 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.466e-05/0.6085, allocations: 45.47 kB / 0.578 GB, free: 43.2 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004818/0.6133, allocations: 1.967 MB / 0.5799 GB, free: 41.57 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0105/0.6238, allocations: 10.73 MB / 0.5904 GB, free: 30.52 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004403/0.6282, allocations: 1.77 MB / 0.5921 GB, free: 28.66 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/0.6295, allocations: 0.732 MB / 0.5929 GB, free: 27.88 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002641/0.6297, allocations: 80.95 kB / 0.5929 GB, free: 27.8 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003406/0.6331, allocations: 1.547 MB / 0.5944 GB, free: 26.17 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 6.472e-06/0.6332, allocations: 0 / 0.5944 GB, free: 26.17 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.02279/0.6559, allocations: 13.44 MB / 0.6076 GB, free: 12.57 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001561/0.6561, allocations: 0.6488 MB / 0.6082 GB, free: 11.77 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00358/0.6597, allocations: 2.359 MB / 0.6105 GB, free: 9.402 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0002834/0.66, allocations: 57.69 kB / 0.6106 GB, free: 9.34 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007514/0.6607, allocations: 1.12 MB / 0.6117 GB, free: 8.207 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007059/0.6614, allocations: 0.7667 MB / 0.6124 GB, free: 7.434 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009383/0.6624, allocations: 0.4925 MB / 0.6129 GB, free: 6.934 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.983e-05/0.6624, allocations: 301.1 kB / 0.6132 GB, free: 6.637 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001614/0.664, allocations: 0.8482 MB / 0.614 GB, free: 5.777 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001901/0.6659, allocations: 1.621 MB / 0.6156 GB, free: 3.809 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.115/0.7809, allocations: 15.02 MB / 0.6303 GB, free: 5.316 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.986e-05/0.781, allocations: 8 kB / 0.6303 GB, free: 5.309 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.009535/0.7905, allocations: 3.23 MB / 0.6334 GB, free: 2.039 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.7906, allocations: 83.42 kB / 0.6335 GB, free: 1.945 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006365/0.797, allocations: 2.303 MB / 0.6357 GB, free: 15.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001887/0.7989, allocations: 346.2 kB / 0.6361 GB, free: 15.26 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00226/0.8011, allocations: 0.5499 MB / 0.6366 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01431/0.8154, allocations: 6.126 MB / 0.6426 GB, free: 8.285 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002454/0.8179, allocations: 115.7 kB / 0.6427 GB, free: 8.172 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006124/0.8185, allocations: 143.9 kB / 0.6428 GB, free: 8.031 MB / 0.5105 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.003876/0.8224, allocations: 1.316 MB / 0.6441 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003182/0.8255, allocations: 1.613 MB / 0.6457 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.1146/0.9402, allocations: 14.97 MB / 0.6603 GB, free: 5.445 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.788e-05/0.9402, allocations: 4 kB / 0.6603 GB, free: 5.441 MB / 0.5262 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.009195/0.9494, allocations: 3.145 MB / 0.6634 GB, free: 2.25 MB / 0.5262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001109/0.9495, allocations: 83.3 kB / 0.6635 GB, free: 2.156 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.006131/0.9556, allocations: 2.218 MB / 0.6656 GB, free: 15.9 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001537/0.9572, allocations: 295.7 kB / 0.6659 GB, free: 15.61 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00231/0.9595, allocations: 0.5537 MB / 0.6665 GB, free: 15.05 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01357/0.9731, allocations: 5.939 MB / 0.6723 GB, free: 8.82 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002431/0.9755, allocations: 111.7 kB / 0.6724 GB, free: 8.711 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006849/0.9762, allocations: 143.9 kB / 0.6725 GB, free: 8.57 MB / 0.5418 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.001481/0.9776, allocations: 413.4 kB / 0.6729 GB, free: 8.148 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00171/0.9794, allocations: 346.1 kB / 0.6732 GB, free: 7.809 MB / 0.5418 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.006937/0.9863, allocations: 2.253 MB / 0.6754 GB, free: 5.578 MB / 0.5418 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 4.977867090026848]