Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ClaRa_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.0114/0.0114, allocations: 1.791 MB / 21.89 MB, free: 2.637 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.0007893/0.0007893, allocations: 86.88 kB / 25.61 MB, free: 6.527 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.001504/0.001504, allocations: 165.7 kB / 29.46 MB, free: 3.035 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.9014/0.9014, allocations: 177.1 MB / 210.3 MB, free: 1.762 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.7455/0.7455, allocations: 102.5 MB / 369.8 MB, free: 0.9805 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 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_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_ClaRa.Components.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor") [Timeout 800] "Notification: Performance of FrontEnd - loaded program: time 1.363e-06/1.363e-06, allocations: 0 / 469.9 MB, free: 13 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.395e-05/1.531e-05, allocations: 2.312 kB / 469.9 MB, free: 12.99 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.TurboMachines.Pumps.Check.TestPump_L1_WithEMotor): time 0.2776/0.2776, allocations: 62.06 MB / 0.5195 GB, free: 73.66 MB / 490.8 MB Notification: Performance of NFInst.instExpressions: time 0.01518/0.2928, allocations: 17.98 MB / 0.537 GB, free: 65.76 MB / 490.8 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008898/0.2937, allocations: 54.19 kB / 0.5371 GB, free: 65.73 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.001856/0.2955, allocations: 1.314 MB / 0.5384 GB, free: 65.15 MB / 490.8 MB Notification: Performance of NFTyping.typeBindings: time 0.001555/0.2971, allocations: 1.536 MB / 0.5399 GB, free: 64.26 MB / 490.8 MB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.2995, allocations: 2.103 MB / 0.5419 GB, free: 63.2 MB / 490.8 MB Notification: Performance of NFFlatten.flatten: time 0.001716/0.3012, allocations: 3.509 MB / 0.5454 GB, free: 61.45 MB / 490.8 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009645/0.3022, allocations: 1.249 MB / 0.5466 GB, free: 60.65 MB / 490.8 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001574/0.3038, allocations: 1.913 MB / 0.5484 GB, free: 59.82 MB / 490.8 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00133/0.3051, allocations: 1.361 MB / 0.5498 GB, free: 59.39 MB / 490.8 MB Notification: Performance of NFPackage.collectConstants: time 0.0003161/0.3054, allocations: 250.8 kB / 0.55 GB, free: 59.39 MB / 490.8 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002019/0.3074, allocations: 1.705 MB / 0.5517 GB, free: 58.91 MB / 490.8 MB Notification: Performance of NFScalarize.scalarize: time 0.0004842/0.3079, allocations: 0.8244 MB / 0.5525 GB, free: 58.43 MB / 490.8 MB Notification: Performance of NFVerifyModel.verify: time 0.000755/0.3087, allocations: 0.8616 MB / 0.5533 GB, free: 58.01 MB / 490.8 MB Notification: Performance of NFConvertDAE.convert: time 0.003344/0.312, allocations: 3.673 MB / 0.5569 GB, free: 56.48 MB / 490.8 MB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.312, allocations: 0 / 0.5569 GB, free: 56.48 MB / 490.8 MB Notification: Performance of FrontEnd: time 1.052e-06/0.312, allocations: 0 / 0.5569 GB, free: 56.48 MB / 490.8 MB Notification: Performance of Transformations before backend: time 2.919e-05/0.312, allocations: 2.188 kB / 0.5569 GB, free: 56.48 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.004012/0.316, allocations: 4.124 MB / 0.5609 GB, free: 53.91 MB / 490.8 MB Notification: Performance of prepare preOptimizeDAE: time 3.937e-05/0.3161, allocations: 13.16 kB / 0.561 GB, free: 53.91 MB / 490.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007521/0.3168, allocations: 0.5127 MB / 0.5615 GB, free: 53.68 MB / 490.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002693/0.3195, allocations: 2.578 MB / 0.564 GB, free: 52.36 MB / 490.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.386e-05/0.3196, allocations: 119.4 kB / 0.5641 GB, free: 52.3 MB / 490.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.3198, allocations: 161.4 kB / 0.5642 GB, free: 52.25 MB / 490.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002915/0.3227, allocations: 2.636 MB / 0.5668 GB, free: 50.17 MB / 490.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.455e-05/0.3227, allocations: 17.44 kB / 0.5668 GB, free: 50.16 MB / 490.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001038/0.3228, allocations: 69.19 kB / 0.5669 GB, free: 50.11 MB / 490.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.717e-05/0.3229, allocations: 49.08 kB / 0.5669 GB, free: 50.11 MB / 490.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.3252, allocations: 1.302 MB / 0.5682 GB, free: 49.55 MB / 490.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005545/0.3307, allocations: 14.34 MB / 0.5822 GB, free: 36.21 MB / 490.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00216/0.3329, allocations: 1.454 MB / 0.5836 GB, free: 35.34 MB / 490.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005106/0.3334, allocations: 489.3 kB / 0.5841 GB, free: 35.04 MB / 490.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001684/0.3336, allocations: 84.45 kB / 0.5842 GB, free: 35.02 MB / 490.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001811/0.3354, allocations: 1.267 MB / 0.5854 GB, free: 34.17 MB / 490.8 MB Notification: Performance of pre-optimization done (n=225): time 3.637e-06/0.3354, allocations: 0 / 0.5854 GB, free: 34.17 MB / 490.8 MB Notification: Performance of matching and sorting (n=229): time 0.01055/0.3459, allocations: 11.7 MB / 0.5968 GB, free: 22.83 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.59e-05/0.346, allocations: 0.6423 MB / 0.5975 GB, free: 22.04 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001583/0.3476, allocations: 2.186 MB / 0.5996 GB, free: 19.84 MB / 490.8 MB Notification: Performance of collectPreVariables (initialization): time 8.736e-05/0.3477, allocations: 53.7 kB / 0.5997 GB, free: 19.78 MB / 490.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004879/0.3482, allocations: 1.239 MB / 0.6009 GB, free: 18.53 MB / 490.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002996/0.3485, allocations: 0.7748 MB / 0.6016 GB, free: 17.75 MB / 490.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004093/0.3489, allocations: 0.5106 MB / 0.6021 GB, free: 17.23 MB / 490.8 MB Notification: Performance of setup shared object (initialization): time 3.061e-05/0.3489, allocations: 480.8 kB / 0.6026 GB, free: 16.75 MB / 490.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006406/0.3496, allocations: 471.4 kB / 0.603 GB, free: 16.28 MB / 490.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009045/0.3505, allocations: 1.521 MB / 0.6045 GB, free: 14.3 MB / 490.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002105/0.3526, allocations: 2.438 MB / 0.6069 GB, free: 11.44 MB / 490.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.495e-06/0.3526, allocations: 14.59 kB / 0.6069 GB, free: 11.43 MB / 490.8 MB Notification: Performance of matching and sorting (n=332) (initialization): time 0.002846/0.3554, allocations: 2.393 MB / 0.6092 GB, free: 9.02 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 4.059e-05/0.3555, allocations: 79.39 kB / 0.6093 GB, free: 8.93 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002017/0.3575, allocations: 1.507 MB / 0.6108 GB, free: 7.395 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006147/0.3581, allocations: 258.3 kB / 0.611 GB, free: 7.141 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009179/0.359, allocations: 0.5538 MB / 0.6116 GB, free: 6.586 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004834/0.3639, allocations: 7.122 MB / 0.6185 GB, free: 15.17 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007686/0.3646, allocations: 122.4 kB / 0.6187 GB, free: 15.05 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/0.3648, allocations: 143.9 kB / 0.6188 GB, free: 14.91 MB / 0.4949 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.001101/0.3659, allocations: 0.6039 MB / 0.6194 GB, free: 14.29 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00116/0.367, allocations: 1.525 MB / 0.6209 GB, free: 12.31 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002506/0.3695, allocations: 2.433 MB / 0.6232 GB, free: 9.461 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.118e-05/0.3696, allocations: 12.72 kB / 0.6233 GB, free: 9.449 MB / 0.4949 GB Notification: Performance of matching and sorting (n=332) (initialization_lambda0): time 0.003499/0.3731, allocations: 2.35 MB / 0.6256 GB, free: 7.082 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 4.448e-05/0.3731, allocations: 84.16 kB / 0.6256 GB, free: 6.988 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002185/0.3753, allocations: 1.471 MB / 0.6271 GB, free: 5.492 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004948/0.3758, allocations: 233.7 kB / 0.6273 GB, free: 5.262 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009888/0.3768, allocations: 0.5498 MB / 0.6278 GB, free: 4.711 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006444/0.3832, allocations: 7.085 MB / 0.6348 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007734/0.384, allocations: 110.4 kB / 0.6349 GB, free: 13.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.3841, allocations: 147.9 kB / 0.635 GB, free: 13.08 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: 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.0004291/0.3846, allocations: 0.4914 MB / 0.6355 GB, free: 12.57 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003918/0.385, allocations: 344.2 kB / 0.6358 GB, free: 12.23 MB / 0.5105 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.002331/0.3873, allocations: 1.961 MB / 0.6377 GB, free: 10.34 MB / 0.5105 GB Error: post-optimization module wrapFunctionCalls (simulation) failed. " [Timeout remaining time 799] [Calling sys.exit(0), Time elapsed: 2.8868674619589]