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.008463/0.008463, allocations: 1.781 MB / 22.36 MB, free: 2.113 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.0007962/0.0007962, allocations: 81.45 kB / 26.19 MB, free: 6.074 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.0008743/0.0008743, allocations: 166.8 kB / 30.12 MB, free: 2.18 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.901/0.901, allocations: 177.2 MB / 211.1 MB, free: 3.441 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.5965/0.5965, allocations: 102.5 MB / 370.6 MB, free: 168 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 1.893e-06/1.893e-06, allocations: 3.188 kB / 471.3 MB, free: 18.83 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.476e-05/1.665e-05, allocations: 3.719 kB / 471.3 MB, free: 18.83 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.1071/0.1071, allocations: 61.9 MB / 0.5207 GB, free: 9.684 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.01772/0.1249, allocations: 17.9 MB / 0.5382 GB, free: 7.734 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001112/0.126, allocations: 55.62 kB / 0.5382 GB, free: 7.68 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.002181/0.1282, allocations: 1.314 MB / 0.5395 GB, free: 6.359 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002273/0.1304, allocations: 1.557 MB / 0.541 GB, free: 4.793 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.1335, allocations: 2.111 MB / 0.5431 GB, free: 2.676 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.002526/0.136, allocations: 3.514 MB / 0.5465 GB, free: 15.14 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001269/0.1373, allocations: 1.239 MB / 0.5477 GB, free: 13.88 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1086/0.2459, allocations: 47.14 MB / 0.5937 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00124/0.2471, allocations: 1.254 MB / 0.595 GB, free: 14.68 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0002186/0.2473, allocations: 200 kB / 0.5952 GB, free: 14.48 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00233/0.2497, allocations: 1.629 MB / 0.5968 GB, free: 12.85 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004198/0.2501, allocations: 0.7198 MB / 0.5975 GB, free: 12.13 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0008551/0.251, allocations: 0.771 MB / 0.5982 GB, free: 11.36 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.003325/0.2543, allocations: 3.515 MB / 0.6016 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.2543, allocations: 0 / 0.6016 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of FrontEnd: time 8.12e-07/0.2543, allocations: 0 / 0.6016 GB, free: 7.828 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 2.131e-05/0.2543, allocations: 0 / 0.6016 GB, free: 7.828 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.003482/0.2578, allocations: 3.955 MB / 0.6055 GB, free: 3.785 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.273e-05/0.2578, allocations: 8.031 kB / 0.6055 GB, free: 3.777 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000386/0.2582, allocations: 454.7 kB / 0.6059 GB, free: 3.332 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001642/0.2598, allocations: 1.766 MB / 0.6077 GB, free: 1.484 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.309e-05/0.2599, allocations: 119.3 kB / 0.6078 GB, free: 1.367 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001446/0.2601, allocations: 160.3 kB / 0.6079 GB, free: 1.211 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002662/0.2627, allocations: 2.516 MB / 0.6104 GB, free: 14.22 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.197e-05/0.2628, allocations: 15.81 kB / 0.6104 GB, free: 14.21 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.374e-05/0.2629, allocations: 68 kB / 0.6105 GB, free: 14.14 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.474e-05/0.2629, allocations: 44 kB / 0.6105 GB, free: 14.1 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002005/0.2649, allocations: 1.164 MB / 0.6116 GB, free: 12.9 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008647/0.2735, allocations: 13.96 MB / 0.6253 GB, free: 14.48 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002924/0.2765, allocations: 1.366 MB / 0.6266 GB, free: 12.96 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004994/0.277, allocations: 436.7 kB / 0.627 GB, free: 12.48 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001793/0.2771, allocations: 80.95 kB / 0.6271 GB, free: 12.4 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002212/0.2793, allocations: 1.225 MB / 0.6283 GB, free: 11.07 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 4.168e-06/0.2793, allocations: 0 / 0.6283 GB, free: 11.07 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.01092/0.2903, allocations: 4.691 MB / 0.6329 GB, free: 6.254 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002268/0.2905, allocations: 0.6964 MB / 0.6336 GB, free: 5.398 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001993/0.2925, allocations: 2.122 MB / 0.6356 GB, free: 3.262 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.0001049/0.2926, allocations: 53.7 kB / 0.6357 GB, free: 3.203 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008494/0.2934, allocations: 1.243 MB / 0.6369 GB, free: 1.945 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005193/0.294, allocations: 0.7783 MB / 0.6377 GB, free: 1.16 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000642/0.2946, allocations: 0.5303 MB / 0.6382 GB, free: 0.6211 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001034/0.2947, allocations: 480.8 kB / 0.6386 GB, free: 152 kB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005764/0.2953, allocations: 385.6 kB / 0.639 GB, free: 15.76 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001463/0.2967, allocations: 1.523 MB / 0.6405 GB, free: 13.75 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002343/0.2991, allocations: 2.259 MB / 0.6427 GB, free: 11.04 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-05/0.2991, allocations: 8 kB / 0.6427 GB, free: 11.03 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.003371/0.3025, allocations: 2.208 MB / 0.6449 GB, free: 8.773 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.895e-05/0.3025, allocations: 83.3 kB / 0.6449 GB, free: 8.68 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002499/0.305, allocations: 1.38 MB / 0.6463 GB, free: 7.258 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006937/0.3057, allocations: 246.8 kB / 0.6465 GB, free: 7.004 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0013/0.307, allocations: 0.5499 MB / 0.6471 GB, free: 6.453 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.1795/0.4866, allocations: 7.001 MB / 0.6539 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001177/0.4877, allocations: 115.4 kB / 0.654 GB, free: 116.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001707/0.4879, allocations: 128.7 kB / 0.6541 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.0008497/0.4888, allocations: 0.5248 MB / 0.6546 GB, free: 116.6 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000679/0.4894, allocations: 1.523 MB / 0.6561 GB, free: 115.1 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001484/0.4909, allocations: 2.246 MB / 0.6583 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.408e-06/0.4909, allocations: 6.094 kB / 0.6583 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.00225/0.4932, allocations: 2.196 MB / 0.6605 GB, free: 113.5 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.387e-05/0.4932, allocations: 79.8 kB / 0.6606 GB, free: 113.5 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001447/0.4947, allocations: 1.336 MB / 0.6619 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004264/0.4951, allocations: 221.7 kB / 0.6621 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008501/0.4959, allocations: 0.5529 MB / 0.6626 GB, free: 113.2 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004073/0.5, allocations: 6.97 MB / 0.6694 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007124/0.5007, allocations: 113.4 kB / 0.6695 GB, free: 107.7 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.5008, allocations: 125.1 kB / 0.6696 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.000436/0.5013, allocations: 494.4 kB / 0.6701 GB, free: 107.4 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003226/0.5016, allocations: 352.1 kB / 0.6705 GB, free: 107.3 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.001896/0.5035, allocations: 1.911 MB / 0.6723 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.024582074023783]