Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_dev_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor.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.008277/0.008277, allocations: 1.777 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.001346/0.001346, allocations: 81.16 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.001728/0.001728, allocations: 175 kB / 30.13 MB, free: 2.176 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.97/0.97, allocations: 177.2 MB / 211.1 MB, free: 3.445 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.6162/0.6162, allocations: 102.4 MB / 370.6 MB, free: 148 kB / 330.7 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 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/SMArtInt main/package.mo) Running command: translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") translateModel(ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor,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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.092e-06/1.092e-06, allocations: 0 / 471.2 MB, free: 18.82 MB / 410.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.185e-05/1.294e-05, allocations: 5.281 kB / 471.2 MB, free: 18.82 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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.1209/0.1209, allocations: 61.88 MB / 0.5206 GB, free: 9.719 MB / 442.8 MB Notification: Performance of NFInst.instExpressions: time 0.02169/0.1426, allocations: 17.91 MB / 0.5381 GB, free: 7.762 MB / 458.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001753/0.1443, allocations: 55.62 kB / 0.5381 GB, free: 7.707 MB / 458.8 MB [/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.002581/0.1469, allocations: 1.318 MB / 0.5394 GB, free: 6.383 MB / 458.8 MB Notification: Performance of NFTyping.typeBindings: time 0.002924/0.1498, allocations: 1.545 MB / 0.5409 GB, free: 4.828 MB / 458.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.004277/0.1541, allocations: 2.107 MB / 0.543 GB, free: 2.715 MB / 458.8 MB Notification: Performance of NFFlatten.flatten: time 0.003985/0.1581, allocations: 3.521 MB / 0.5464 GB, free: 15.18 MB / 474.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001776/0.1599, allocations: 1.242 MB / 0.5477 GB, free: 13.91 MB / 474.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.1135/0.2733, allocations: 47.13 MB / 0.5937 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001598/0.2749, allocations: 1.25 MB / 0.5949 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.0003422/0.2753, allocations: 200 kB / 0.5951 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002464/0.2777, allocations: 1.637 MB / 0.5967 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0004415/0.2782, allocations: 0.7198 MB / 0.5974 GB, free: 12.16 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.0007141/0.2789, allocations: 0.7671 MB / 0.5981 GB, free: 11.39 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.004051/0.283, allocations: 3.53 MB / 0.6016 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.283, allocations: 0 / 0.6016 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of FrontEnd: time 6.21e-07/0.283, allocations: 0 / 0.6016 GB, free: 7.848 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 6.095e-05/0.283, allocations: 0 / 0.6016 GB, free: 7.848 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.003891/0.2869, allocations: 3.947 MB / 0.6054 GB, free: 3.812 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 3.623e-05/0.2869, allocations: 8.031 kB / 0.6055 GB, free: 3.805 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004245/0.2874, allocations: 454.7 kB / 0.6059 GB, free: 3.359 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001765/0.2891, allocations: 1.77 MB / 0.6076 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.553e-05/0.2892, allocations: 119.3 kB / 0.6077 GB, free: 1.391 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001513/0.2894, allocations: 156.3 kB / 0.6079 GB, free: 1.238 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002628/0.292, allocations: 2.524 MB / 0.6103 GB, free: 14.24 MB / 0.5262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.292, allocations: 15.81 kB / 0.6104 GB, free: 14.23 MB / 0.5262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.293e-05/0.2921, allocations: 72 kB / 0.6104 GB, free: 14.16 MB / 0.5262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.516e-05/0.2921, allocations: 40 kB / 0.6105 GB, free: 14.12 MB / 0.5262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00171/0.2939, allocations: 1.164 MB / 0.6116 GB, free: 12.92 MB / 0.5262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007028/0.3009, allocations: 13.96 MB / 0.6252 GB, free: 14.5 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002162/0.303, allocations: 1.363 MB / 0.6266 GB, free: 12.99 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003833/0.3034, allocations: 432.8 kB / 0.627 GB, free: 12.51 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/0.3036, allocations: 87.39 kB / 0.6271 GB, free: 12.43 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001751/0.3053, allocations: 1.217 MB / 0.6283 GB, free: 11.1 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=225): time 3.476e-06/0.3053, allocations: 0 / 0.6283 GB, free: 11.1 MB / 0.5418 GB Notification: Performance of matching and sorting (n=229): time 0.007845/0.3132, allocations: 4.699 MB / 0.6328 GB, free: 6.273 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001921/0.3134, allocations: 0.6887 MB / 0.6335 GB, free: 5.426 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/0.315, allocations: 2.122 MB / 0.6356 GB, free: 3.289 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 9.022e-05/0.3151, allocations: 53.7 kB / 0.6356 GB, free: 3.23 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.000674/0.3158, allocations: 1.246 MB / 0.6369 GB, free: 1.969 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004087/0.3162, allocations: 0.7783 MB / 0.6376 GB, free: 1.184 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000489/0.3167, allocations: 0.5264 MB / 0.6381 GB, free: 0.6484 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 9.879e-05/0.3168, allocations: 484.8 kB / 0.6386 GB, free: 176 kB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004554/0.3172, allocations: 385.6 kB / 0.639 GB, free: 15.78 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.3183, allocations: 1.519 MB / 0.6404 GB, free: 13.78 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001872/0.3202, allocations: 2.26 MB / 0.6426 GB, free: 11.06 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.767e-06/0.3202, allocations: 4 kB / 0.6427 GB, free: 11.06 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002658/0.3229, allocations: 2.212 MB / 0.6448 GB, free: 8.801 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 5.501e-05/0.3229, allocations: 87.38 kB / 0.6449 GB, free: 8.703 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001767/0.3247, allocations: 1.364 MB / 0.6462 GB, free: 7.297 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005686/0.3253, allocations: 250.8 kB / 0.6465 GB, free: 7.039 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001098/0.3264, allocations: 0.5537 MB / 0.647 GB, free: 6.484 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.2043/0.5307, allocations: 6.999 MB / 0.6538 GB, free: 117.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001342/0.532, allocations: 117.6 kB / 0.654 GB, free: 117.3 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002185/0.5322, allocations: 125.9 kB / 0.6541 GB, free: 117.3 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.0009461/0.5332, allocations: 0.5304 MB / 0.6546 GB, free: 117.1 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0006718/0.5339, allocations: 1.52 MB / 0.6561 GB, free: 115.6 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001556/0.5354, allocations: 2.262 MB / 0.6583 GB, free: 114.3 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.252e-05/0.5354, allocations: 5.844 kB / 0.6583 GB, free: 114.3 MB / 0.5574 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.002499/0.5379, allocations: 2.18 MB / 0.6604 GB, free: 114 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.587e-05/0.538, allocations: 80.27 kB / 0.6605 GB, free: 114 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.00158/0.5395, allocations: 1.336 MB / 0.6618 GB, free: 113.8 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004473/0.54, allocations: 223.8 kB / 0.662 GB, free: 113.7 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009207/0.5409, allocations: 0.5468 MB / 0.6626 GB, free: 113.7 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004694/0.5456, allocations: 6.969 MB / 0.6694 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008334/0.5464, allocations: 111.1 kB / 0.6695 GB, free: 108.2 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.5466, allocations: 125.8 kB / 0.6696 GB, free: 108.2 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.0005395/0.5471, allocations: 499.4 kB / 0.6701 GB, free: 107.9 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003765/0.5475, allocations: 356 kB / 0.6704 GB, free: 107.8 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.002136/0.5496, allocations: 1.908 MB / 0.6723 GB, free: 107.6 MB / 0.5574 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 3.1958580669015646]